From 17f3c8de71e0e8f1750a38ef67fd172c1fd0ecf7 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Fri, 24 Jan 2025 12:55:43 +0000 Subject: Use tmux send-keys instead of ssh for play/pause --- nix-conf/home/otm.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nix-conf') 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 ]; -- cgit 1.4.1-2-gfad0