talos: home: setup sound shortcuts

This commit is contained in:
Antoine Martin 2025-02-16 18:06:46 +01:00
parent e34b0f85b2
commit e08af2559b

View file

@ -78,6 +78,9 @@ in {
"Mod4+Shift+e" = ''mode "${logoutMode}"'';
"Mod4+i" = "exec emacsclient --create-frame";
"Mod4+Control+l" = "exec hyprlock";
"XF86AudioMute" = "exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
"XF86AudioLowerVolume" = "exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- -l 1.2";
"XF86AudioRaiseVolume" = "exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ -l 1.2";
};
modes = mkOptionDefault {