aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/xremap/keybindings/playerctl.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/xremap/keybindings/playerctl.nix')
-rw-r--r--modules/desktop/xremap/keybindings/playerctl.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/desktop/xremap/keybindings/playerctl.nix b/modules/desktop/xremap/keybindings/playerctl.nix
new file mode 100644
index 0000000..4bc52cb
--- /dev/null
+++ b/modules/desktop/xremap/keybindings/playerctl.nix
@@ -0,0 +1,12 @@
+{ pkgs }:
+
+{
+
+ "XF86AudioPlay" = {
+ launch = [
+ "sh"
+ "-c"
+ "${pkgs.playerctl}/bin/playerctl play-pause"
+ ];
+ };
+}