Add play-pause keybind
All checks were successful
Cachix / build (elendel) (push) Successful in 1m36s
Cachix / build (kholinar) (push) Successful in 2m23s
Cachix / build (marabethia) (push) Successful in 1m53s

This commit is contained in:
Charlotte Van Petegem 2025-03-08 21:47:47 +01:00
parent fce0736791
commit a7f797ee0d
Signed by: chvp
SSH key fingerprint: SHA256:s9rb8jBVfdahqWHuBAcHCBP1wmj4eYQXZfqgz4H3E9E

View file

@ -125,6 +125,7 @@ let
riverctl map normal None XF86AudioRaiseVolume spawn '${pkgs.pamixer}/bin/pamixer -i 5'
riverctl map normal None XF86AudioLowerVolume spawn '${pkgs.pamixer}/bin/pamixer -d 5'
riverctl map normal None XF86AudioMute spawn '${pkgs.pamixer}/bin/pamixer --toggle-mute'
riverctl map normal None XF86AudioPlay spawn '${pkgs.playerctl}/bin/playerctl play-pause'
riverctl map normal None XF86MonBrightnessDown spawn '${pkgs.brightnessctl}/bin/brightnessctl s -- -5%'
riverctl map normal None XF86MonBrightnessUp spawn '${pkgs.brightnessctl}/bin/brightnessctl s -- +5%'
@ -416,6 +417,7 @@ in
enable = true;
font = "Hack Regular 9";
};
playerctld.enable = true;
swayidle = {
enable = true;
systemdTarget = "river-session.target";