🧹 restructure layout
This commit is contained in:
parent
40c2a5fb29
commit
268374ad58
115 changed files with 2641 additions and 2085 deletions
11
modules/programs/bspwm/bspwmrc
Executable file
11
modules/programs/bspwm/bspwmrc
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
mapfile -t monitors < <(bspc query -M --names | sort -r)
|
||||
desktops=$(( 10 / ${#monitors[@]} ))
|
||||
start=1
|
||||
end=$desktops
|
||||
for monitor in "${monitors[@]}"; do
|
||||
bspc monitor "$monitor" -d $(seq -s ' ' $start $end)
|
||||
start=$(( start + desktops ))
|
||||
end=$(( end + desktops ))
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue