Joystickwake + background

This commit is contained in:
Filippo Berto 2021-06-22 11:22:21 +02:00
parent e080d5b9b8
commit 8acab53e36
10 changed files with 135 additions and 35 deletions

View file

@ -9,10 +9,12 @@
rofi = "${pkgs.rofi}/bin/rofi";
terminator = "${pkgs.terminator}/bin/terminator";
nautilus = "${pkgs.gnome.nautilus}/bin/nautilus";
update-backgroundCmd = "${pkgs.update-background}";
in
{
enable = true;
keybindings = {
"super + b" = update-backgroundCmd;
"super + alt + {h,j,k,l}" = "${bspc} node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}";
"super + alt + {q,r}" = "${bspc} {quit,wm -r}";
"super + alt + shift + {h,j,k,l}" = "${bspc} node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}";
@ -34,10 +36,8 @@
"super + {_,shift + } Return" = "{${alacritty} , ${terminator}}";
"super + {_,shift + }{1-9,0}" = "${bspc} {desktop -f,node -d} 'focused:^{1-9,10}'";
"super + {_,shift + }c" = "${bspc} node -f {next,prev}.local";
# "super + {_,shift + }{h,j,k,l}" = "${bspc} node -{f,s} {west,south,north,east}";
"super + {h,j,k,l}" = "${bspc} node -f {west,south,north,east}";
"super + shift + {h,j,k,l}" = ''dir={west,south,north,east}; bspc node -s "$dir.local" --follow || bspc node -m "$dir" --follow'';
"super + {_,shift + }w" = "${bspc} node -{c,k}";
"super + @space" = "rofi -show drun";
"super + {t,shift + t,s,f}" = "${bspc} node -t {tiled,pseudo_tiled,floating,fullscreen}";