Bind media keys with playerctl

This commit is contained in:
Nathan McCarty 2023-06-17 15:27:58 -04:00
parent cddbc870af
commit c7c47a2832
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
2 changed files with 3 additions and 0 deletions

View File

@ -190,6 +190,8 @@ in with lib; {
bind = , xf86audiolowervolume, exec, swayosd --output-volume=lower
bind = SHIFT, xf86audiolowervolume, exec, swayosd --output-volume=-2
bind = , xf86audiomute, exec, swayosd --output-volume mute-toggle
bind = , xf86audioplay, exec, playerctl play-pause
bind = , xf86audionext, exec, playerctl next
# Screenshots
bind = , print, exec, grimblast --scale 1 copysave area ~/Pictures/Screenshots/$(date -Iseconds).png

View File

@ -25,6 +25,7 @@ in {
picard
mpc-cli
calibre
playerctl
];
# Register haruna as the default video player
xdg.mimeApps.defaultApplications = {