Fixed play/pause

This commit is contained in:
James Patrick 2022-03-17 00:12:12 -04:00
parent 5c0e62ba20
commit e526e6edcd

View File

@ -89,8 +89,7 @@ in with lib; {
XF86AudioMute = "exec ${volume-sh}/bin/volume.sh mute"; XF86AudioMute = "exec ${volume-sh}/bin/volume.sh mute";
XF86AudioRaiseVolume = "exec ${volume-sh}/bin/volume.sh up"; XF86AudioRaiseVolume = "exec ${volume-sh}/bin/volume.sh up";
XF86AudioLowerVolume = "exec ${volume-sh}/bin/volume.sh down"; XF86AudioLowerVolume = "exec ${volume-sh}/bin/volume.sh down";
XF86AudioPlay = "exec ${pkgs.playerctl}/bin/playerctl play"; Pause = "exec ${pkgs.playerctl}/bin/playerctl play-pause";
XF86AudioPause = "exec ${pkgs.playerctl}/bin/playerctl pause";
XF86MonBrightnessUp = "exec ${brightness-sh}/bin/brightness.sh up"; XF86MonBrightnessUp = "exec ${brightness-sh}/bin/brightness.sh up";
XF86MonBrightnessDown = XF86MonBrightnessDown =
"exec ${brightness-sh}/bin/brightness.sh down"; "exec ${brightness-sh}/bin/brightness.sh down";