From f6e341bdbbec0d05a5c20baf79cd1704f6fa3df2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 20 Oct 2024 15:17:35 +0200 Subject: ... --- accounts/gkleen@sif/hyprland.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'accounts/gkleen@sif/hyprland.nix') diff --git a/accounts/gkleen@sif/hyprland.nix b/accounts/gkleen@sif/hyprland.nix index c5043e87..3216f307 100644 --- a/accounts/gkleen@sif/hyprland.nix +++ b/accounts/gkleen@sif/hyprland.nix @@ -192,6 +192,10 @@ in { export PATH="${lib.makeBinPath (with pkgs; [ wl-clipboard-rs socat ])}:$PATH" socat STDIO UNIX-CONNECT:"$XDG_RUNTIME_DIR"/yt-dlp.sock <<<$'{ "urls": ["'"$(wl-paste)"$'"] }' ''}" + "$mainMod ALT, L, exec, ${pkgs.writeShellScript "mpv" '' + export PATH="${lib.makeBinPath (with pkgs; [ wl-clipboard-rs ])}:$PATH" + exec mpv "$(wl-paste)" + ''}" ", Print, exec, ${pkgs.writeShellScript "screenshot" '' export PATH="${lib.makeBinPath (with pkgs; [ grim slurp wl-clipboard-rs coreutils ])}:$PATH" -- cgit v1.2.3