fix: audio adjustment
Some checks failed
/ test (push) Failing after 1s

This commit is contained in:
nydragon 2025-02-02 21:26:58 +01:00
parent 005822eacb
commit ea7dd623ed
Signed by: nydragon
SSH key fingerprint: SHA256:WcjW5NJPQ8Dx4uQDmoIlVPLWE27Od3fxoe0IUvuoPHE

View file

@ -86,9 +86,11 @@ lib.mkIf osConfig.programs.sway.enable {
"${mod}+n" = "exec nysh msg dash toggle";
"--locked XF86MonBrightnessUp" = "exec --no-startup-id ${getExe pkgs.brightnessctl} s +10%";
"--locked XF86MonBrightnessDown" = "exec --no-startup-id ${getExe pkgs.brightnessctl} s 10%-";
"--locked XF86AudioRaiseVolume" = "exec --no-startup-id ${getExe pkgs.pw-volume} change +5%";
"--locked XF86AudioLowerVolume" = "exec --no-startup-id ${getExe pkgs.pw-volume} change -5%";
"--locked XF86AudioMute" = "exec --no-startup-id ${getExe pkgs.pw-volume} mute toggle";
"--locked XF86AudioRaiseVolume" =
"exec --no-startup-id ${getExe pkgs.pamixer} -u && ${getExe pkgs.pamixer} -i 5";
"--locked XF86AudioLowerVolume" =
"exec --no-startup-id ${getExe pkgs.pamixer} -u && ${getExe pkgs.pamixer} -d 5";
"--locked XF86AudioMute" = "exec --no-startup-id ${getExe pkgs.pamixer} -t";
"--locked XF86AudioPlay" = "exec ${getExe pkgs.playerctl} play-pause";
"--locked XF86AudioPause" = "exec ${getExe pkgs.playerctl} play-pause";
"--locked XF86AudioNext" = "exec ${getExe pkgs.playerctl} next";