bspwm: Change behavior of workspace layout setter

It now gives the primary monitor the first few workspaces, then distributes the rest over the remaining secondary monitors
This commit is contained in:
2018-08-01 21:21:35 -05:00
parent ae020735b4
commit d253c3daf1
2 changed files with 45 additions and 9 deletions

View File

@@ -21,6 +21,7 @@
# SOFTWARE.
## Clean up some variables that I use in device-specific scripts
# Polybar
unset PB_MONITOR
unset PB_WM_RESTACK
unset PB_BAR_WIDTH
@@ -30,6 +31,9 @@ unset PB_BAR_SECONDARY_MODULES_LEFT PB_BAR_SECONDARY_MODULES_CENTER PB_BAR_SECON
unset PB_BAR_SECONDARY_2_MODULES_LEFT PB_BAR_SECONDARY_2_MODULES_CENTER PB_BAR_SECONDARY_2_MODULES_RIGHT
unset PB_MODULE_BAR_WIDTH
unset PB_MODULE_WLAN_INTERFACE
# bspwm monitorset.sh
unset BSPWM_DESKTOPS_TOTAL
unset BSPWM_DESKTOPS_PRIMARY
## Patch path, if not already done
if [[ "$PATH" != "*$HOME/.local/bin*" ]]; then