diff options
author | Minijackson <minijackson@riseup.net> | 2021-07-04 10:55:18 +0200 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2021-07-04 10:55:18 +0200 |
commit | 5e742afc5c350acba439ff777106a340ae65132c (patch) | |
tree | 092621e214ca586c7e8cebde8fc0ccf20a26f8f4 | |
parent | 2c6d70230fc7d641c19110828128ba6f3c41745e (diff) | |
download | nixos-config-reborn-5e742afc5c350acba439ff777106a340ae65132c.tar.gz nixos-config-reborn-5e742afc5c350acba439ff777106a340ae65132c.zip |
sway: add volume bindings
-rw-r--r-- | usecases/desktop/graphical/sway.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usecases/desktop/graphical/sway.nix b/usecases/desktop/graphical/sway.nix index 5507116..634638d 100644 --- a/usecases/desktop/graphical/sway.nix +++ b/usecases/desktop/graphical/sway.nix | |||
@@ -142,6 +142,10 @@ in | |||
142 | "${modifier}+Shift+agrave" = "move container to workspace 10"; | 142 | "${modifier}+Shift+agrave" = "move container to workspace 10"; |
143 | 143 | ||
144 | "${modifier}+m" = "exec ${pkgs.swaylock}/bin/swaylock"; | 144 | "${modifier}+m" = "exec ${pkgs.swaylock}/bin/swaylock"; |
145 | |||
146 | "XF86AudioRaiseVolume" = "exec ${pkgs.pamixer}/bin/pamixer -i 5"; | ||
147 | "XF86AudioLowerVolume" = "exec ${pkgs.pamixer}/bin/pamixer -d 5"; | ||
148 | "XF86AudioMute" = "exec ${pkgs.pamixer}/bin/pamixer -t"; | ||
145 | }; | 149 | }; |
146 | 150 | ||
147 | menu = '' | 151 | menu = '' |