BSPWM: reset padding on WM reset
This commit is contained in:
parent
d31c2da2e9
commit
3828c0b3ca
1 changed files with 1 additions and 0 deletions
|
|
@ -24,6 +24,7 @@
|
||||||
xbacklight = "${pkgs.xorg.xbacklight}/bin/xbacklight";
|
xbacklight = "${pkgs.xorg.xbacklight}/bin/xbacklight";
|
||||||
resetBspwm = pkgs.writeShellScript "resetBspwm" ''
|
resetBspwm = pkgs.writeShellScript "resetBspwm" ''
|
||||||
bspc wm -r
|
bspc wm -r
|
||||||
|
for p in {top,bottom,left,right}; do bspc config -m any ''${p}_padding 0; done # Reset padding
|
||||||
systemctl --user restart polybar # Restart polybar
|
systemctl --user restart polybar # Restart polybar
|
||||||
'';
|
'';
|
||||||
moveAllNodesToPrimary = pkgs.writeShellScript "moveAllNodesToPrimary" ''
|
moveAllNodesToPrimary = pkgs.writeShellScript "moveAllNodesToPrimary" ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue