about summary refs log tree commit diff stats
path: root/nix-conf
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2025-01-24 12:55:43 +0000
committerDavid Morgan <djm_uk@protonmail.com>2025-01-24 12:55:43 +0000
commit17f3c8de71e0e8f1750a38ef67fd172c1fd0ecf7 (patch)
tree71e0d93fbd8b00073d370c7b5c4168ec360ee697 /nix-conf
parent420a8500b9d2801271e775a89ae1c2c204709386 (diff)
downloaddotfiles-17f3c8de71e0e8f1750a38ef67fd172c1fd0ecf7.tar.gz
Use tmux send-keys instead of ssh for play/pause
Diffstat (limited to 'nix-conf')
-rw-r--r--nix-conf/home/otm.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nix-conf/home/otm.nix b/nix-conf/home/otm.nix
index 98a313d..80aa4fa 100644
--- a/nix-conf/home/otm.nix
+++ b/nix-conf/home/otm.nix
@@ -138,8 +138,9 @@ let
   '';
 
   toggle = pkgs.writeShellScriptBin "remote-toggle" ''
-    ssh -nT pi "playerctl play-pause" 2>/dev/null
+    tmux send-keys -t 0:0 C-b p
   '';
+
 in
 {
   imports = [ ./includes/darwin.nix ];