]> git.lizzy.rs Git - bspwm.git/commitdiff
Update example bspwmrc for current settings
authorBastien Dejean <nihilhill@gmail.com>
Fri, 9 May 2014 10:31:07 +0000 (12:31 +0200)
committerBastien Dejean <nihilhill@gmail.com>
Fri, 9 May 2014 10:31:07 +0000 (12:31 +0200)
examples/bspwmrc

index e50baae55a016821044143efbfc26009a549a6d5..67529a08f8dceeb45ff797d626a1a63b7938d227 100755 (executable)
@@ -2,8 +2,16 @@
 
 bspc monitor -d I II III IV V VI VII VIII IX X
 
-bspc config border_width        2
-bspc config window_gap          12
+desktop_config() {
+       bspc config $1 $2
+       for M in $(bspc query -M); do
+               bspc config -m $M $1 $2
+       done
+}
+
+desktop_config border_width     2
+desktop_config window_gap      12
+
 bspc config split_ratio         0.52
 bspc config borderless_monocle  true
 bspc config gapless_monocle     true