summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/hyprland.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-10-20 15:17:35 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2024-10-20 15:17:35 +0200
commitf6e341bdbbec0d05a5c20baf79cd1704f6fa3df2 (patch)
treea6c40d81604a32ccacfa0a9df0616e547b077da2 /accounts/gkleen@sif/hyprland.nix
parent53bdb0113d8cd362dc4551296980fe13fe0a5afb (diff)
downloadnixos-f6e341bdbbec0d05a5c20baf79cd1704f6fa3df2.tar
nixos-f6e341bdbbec0d05a5c20baf79cd1704f6fa3df2.tar.gz
nixos-f6e341bdbbec0d05a5c20baf79cd1704f6fa3df2.tar.bz2
nixos-f6e341bdbbec0d05a5c20baf79cd1704f6fa3df2.tar.xz
nixos-f6e341bdbbec0d05a5c20baf79cd1704f6fa3df2.zip
...
Diffstat (limited to 'accounts/gkleen@sif/hyprland.nix')
-rw-r--r--accounts/gkleen@sif/hyprland.nix4
1 files changed, 4 insertions, 0 deletions
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 {
192 export PATH="${lib.makeBinPath (with pkgs; [ wl-clipboard-rs socat ])}:$PATH" 192 export PATH="${lib.makeBinPath (with pkgs; [ wl-clipboard-rs socat ])}:$PATH"
193 socat STDIO UNIX-CONNECT:"$XDG_RUNTIME_DIR"/yt-dlp.sock <<<$'{ "urls": ["'"$(wl-paste)"$'"] }' 193 socat STDIO UNIX-CONNECT:"$XDG_RUNTIME_DIR"/yt-dlp.sock <<<$'{ "urls": ["'"$(wl-paste)"$'"] }'
194 ''}" 194 ''}"
195 "$mainMod ALT, L, exec, ${pkgs.writeShellScript "mpv" ''
196 export PATH="${lib.makeBinPath (with pkgs; [ wl-clipboard-rs ])}:$PATH"
197 exec mpv "$(wl-paste)"
198 ''}"
195 199
196 ", Print, exec, ${pkgs.writeShellScript "screenshot" '' 200 ", Print, exec, ${pkgs.writeShellScript "screenshot" ''
197 export PATH="${lib.makeBinPath (with pkgs; [ grim slurp wl-clipboard-rs coreutils ])}:$PATH" 201 export PATH="${lib.makeBinPath (with pkgs; [ grim slurp wl-clipboard-rs coreutils ])}:$PATH"