Better rofi shortchuts

This commit is contained in:
Filippo Berto 2022-09-24 12:09:25 +02:00
parent 436863e523
commit 3b8d357fd8
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056

View file

@ -52,14 +52,15 @@
"super + {o,i}" = "bspc wm -h off;bspc node {older,newer} -f;bspc wm -h on"; "super + {o,i}" = "bspc wm -h off;bspc node {older,newer} -f;bspc wm -h on";
"super + {p,b,comma,period}" = "bspc node -f @{parent,brother,first,second}"; "super + {p,b,comma,period}" = "bspc node -f @{parent,brother,first,second}";
"super + {_,shift + }{1-9,0}" = "bspc {desktop -f,node -d} 'focused:^{1-9,10}'"; "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 + } c" = "bspc node -f {next,prev}.local";
"super + {_,shift + } d" = "rofi -show {drun,run}";
"super + shift + ctrl + d" = "rofi -show ssh";
"super + shift + e" = emojiChooser; "super + shift + e" = emojiChooser;
"super + shift + {h,j,k,l}" = '' "super + shift + {h,j,k,l}" = ''
dir={west,south,north,east}; bspc node -s "$dir.local" --follow || bspc node -m "$dir" --follow dir={west,south,north,east}; bspc node -s "$dir.local" --follow || bspc node -m "$dir" --follow
''; '';
"super + {_,shift + } Return" = "{${primaryTerminal} , ${secondaryTerminal}}"; "super + {_,shift + } Return" = "{${primaryTerminal} , ${secondaryTerminal}}";
"super + {_,shift + }@space " = "rofi -show {drun,run}"; "super + {_,shift + } w" = "bspc node -{c,k}";
"super + {_,shift + }w" = "bspc node -{c,k}";
"super + {t,shift + t,s,f}" = "bspc node -t {tiled,pseudo_tiled,floating,fullscreen}"; "super + {t,shift + t,s,f}" = "bspc node -t {tiled,pseudo_tiled,floating,fullscreen}";
# "super + y" = "bspc node newest.marked.local -n newest.!automatic.local"; # "super + y" = "bspc node newest.marked.local -n newest.!automatic.local";
"{XF86AudioLowerVolume,XF86AudioMute,XF86AudioRaiseVolume}" = "pamixer {-d 2 -u,-t,-i 2 -u} && dunstify -r 1 Volume `pamixer --get-volume-human`"; "{XF86AudioLowerVolume,XF86AudioMute,XF86AudioRaiseVolume}" = "pamixer {-d 2 -u,-t,-i 2 -u} && dunstify -r 1 Volume `pamixer --get-volume-human`";