i3 automatic screen workspace spread
This commit is contained in:
parent
383336a074
commit
814f6cb71b
2 changed files with 8 additions and 0 deletions
|
@ -24,3 +24,9 @@ fi
|
|||
|
||||
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…
Add table
Add a link
Reference in a new issue