i3 automatic screen workspace spread
This commit is contained in:
parent
383336a074
commit
814f6cb71b
|
@ -55,6 +55,7 @@
|
||||||
register: base16_schemes
|
register: base16_schemes
|
||||||
tags:
|
tags:
|
||||||
- color
|
- color
|
||||||
|
- i3
|
||||||
|
|
||||||
- name: Configure Alacritty
|
- name: Configure Alacritty
|
||||||
template:
|
template:
|
||||||
|
@ -106,6 +107,7 @@
|
||||||
- i3-reload
|
- i3-reload
|
||||||
tags:
|
tags:
|
||||||
- color
|
- color
|
||||||
|
- i3
|
||||||
when: display_server == 'x11'
|
when: display_server == 'x11'
|
||||||
|
|
||||||
- name: Set base16 theme for rofi
|
- name: Set base16 theme for rofi
|
||||||
|
|
|
@ -24,3 +24,9 @@ fi
|
||||||
|
|
||||||
feh --no-fehbg --bg-fill "$filepath"
|
feh --no-fehbg --bg-fill "$filepath"
|
||||||
|
|
||||||
|
# Make i3 distribute the workspaces on all screens
|
||||||
|
monitors_json="$(xrandr --listmonitors | tail -n+2 | awk '{ print $4 }' | sed 's|.\+|"\0"|' | tr '\n' ',')"
|
||||||
|
automatrop -e '{"x11_screens":['"$monitors_json"']}' --tags i3
|
||||||
|
|
||||||
|
# TODO Make sure it goes from left to right
|
||||||
|
# Either with the "main" display or using the geometry data
|
||||||
|
|
Loading…
Reference in a new issue