This commit is contained in:
2024-02-27 13:59:36 -07:00
9 changed files with 68 additions and 20 deletions

View File

@@ -61,7 +61,7 @@
# };
extraConfigEarly = ''
bspc monitor -d I II III IV V
bsp-auto-monitors
'';
settings = with config.custom.colors; {

View File

@@ -0,0 +1,14 @@
#!/bin/sh
monitors=($(xrandr | grep " connected " | awk '{ print$1 }'))
monitorcount=${#monitors[*]}
names=(I II III IV V)
if [ $monitorcount -eq 1 ]; then
bspc monitor -d ${names[@]}
else
for((i=0; i<${monitorcount}; i++)); do
name=${names[$i]}
bspc monitor ${monitors[$i]} -d ${name}-0 ${name}-1
done
fi

View File

@@ -100,9 +100,12 @@ super + {h,j,k,l,Left,Down,Up,Right}
super + {p,b,comma,period}
bspc node -f @{parent,brother,first,second}
# focus the next/previous window in the current desktop
super + {a,d}
bspc node -f {next,prev}.local.!hidden.window
# # focus the next/previous window in the current desktop
# super + {a,d}
# bspc node -f {next,prev}.local.!hidden.window
# Rotate tree
super + {d,a}
bspc node @/ -C {forward,backward}
# focus the next/previous desktop in the current monitor
super + bracket{left,right}