diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-11-26 13:49:55 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-11-26 14:07:55 +0530 |
| commit | b553b7633a838f6ad023fb2430c95933ea512e4a (patch) | |
| tree | 2dc2d09d6b8df64e8089abcd59fc6a0f1fd1fb26 /modules/graphical/sxhkd/keybindings/playerctl.nix | |
| parent | de166231fa4954a2cdc68265da9fbaf072c0d3b1 (diff) | |
| download | home-manager-config-b553b7633a838f6ad023fb2430c95933ea512e4a.tar.gz home-manager-config-b553b7633a838f6ad023fb2430c95933ea512e4a.zip | |
Added volume, brightness and player controls.
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") +] |
