Bind media keys with playerctl
This commit is contained in:
parent
cddbc870af
commit
c7c47a2832
|
@ -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
|
||||
|
|
|
@ -25,6 +25,7 @@ in {
|
|||
picard
|
||||
mpc-cli
|
||||
calibre
|
||||
playerctl
|
||||
];
|
||||
# Register haruna as the default video player
|
||||
xdg.mimeApps.defaultApplications = {
|
||||
|
|
Loading…
Reference in New Issue