diff options
Diffstat (limited to 'modules/graphical/sxhkd/keybindings/playerctl.nix')
| -rw-r--r-- | modules/graphical/sxhkd/keybindings/playerctl.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/graphical/sxhkd/keybindings/playerctl.nix b/modules/graphical/sxhkd/keybindings/playerctl.nix new file mode 100644 index 0000000..3e5c4e0 --- /dev/null +++ b/modules/graphical/sxhkd/keybindings/playerctl.nix @@ -0,0 +1,10 @@ +{ createKeybindingBase, pkgs, lib }: + +let + playerctl = "${pkgs.playerctl}/bin/playerctl"; +in lib.mkMerge [ + (createKeybindingBase + "XF86AudioPlay" + "Toggle video / audio player." + "${playerctl} play-pause") +] |
