sway: keys for sound/light + ...
This commit is contained in:
parent
0e796d1c2d
commit
f2fbd6177a
18
sway.nix
18
sway.nix
|
@ -209,6 +209,24 @@
|
|||
"${modifier}+Shift+9" = "move container to workspace number ${ws9}";
|
||||
"${modifier}+Shift+0" = "move container to workspace number ${ws10}";
|
||||
|
||||
"XF86AudioLowerVolume" = "exec ponymix -N decrease 5";
|
||||
"${modifier}+XF86AudioLowerVolume" = ''exec "ponymix -N -t source -d $(ponymix -t source list | grep source | grep -v -E '(monitor|fallback)' | sed -r 's/source\s([0-9]+):.*/\1/') decrease 5"'';
|
||||
"XF86AudioRaiseVolume" = "exec ponymix -N increase 5";
|
||||
"${modifier}+XF86AudioRaiseVolume" = ''exec "ponymix -N -t source -d $(ponymix -t source list | grep source | grep -v -E '(monitor|fallback)' | sed -r 's/source\s([0-9]+):.*/\1/') increase 5"'';
|
||||
|
||||
"XF86AudioMute" = "exec ponymix -N toggle";
|
||||
|
||||
"${modifier}+XF86AudioMute" = ''exec "ponymix -N -t source -d $(ponymix -t source list | grep source | grep -v -E '(monitor|fallback)' | sed -r 's/source\s([0-9]+):.*/\1/') toggle"'';
|
||||
"XF86AudioMicMute" = ''exec "ponymix -N -t source -d $(ponymix -t source list | grep source | grep -v -E '(monitor|fallback)' | sed -r 's/source\s([0-9]+):.*/\1/') toggle"'';
|
||||
|
||||
"XF86MonBrightnessUp" = ''exec "sh ~/.local/bin/key_light.sh up"'';
|
||||
"XF86MonBrightnessDown" = ''exec "sh ~/.local/bin/key_light.sh down"'';
|
||||
"XF86Display" = ''exec "swaymsg output eDP-1 toggle"'';
|
||||
|
||||
"${modifier}+p" = "exec passmenu";
|
||||
|
||||
"${modifier}+F11" = ''exec "swaylock -SeFfk --clock --effect-blur 7x5 --effect-vignette 0.5:0.5 --grace 2 --fade-in 0.2 --submit-on-touch"'';
|
||||
"Print" = ''exec "grim -g \"$(slurp)\""'';
|
||||
};
|
||||
assigns = {
|
||||
"${ws1}" = [
|
||||
|
|
Loading…
Reference in New Issue