summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/hyprland.nix
diff options
context:
space:
mode:
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 645a2f22..052f35b0 100644
--- a/accounts/gkleen@sif/hyprland.nix
+++ b/accounts/gkleen@sif/hyprland.nix
@@ -184,6 +184,10 @@ in {
184 "CTRL, comma, exec, dunstctl history-pop" 184 "CTRL, comma, exec, dunstctl history-pop"
185 185
186 "$mainMod ALT, E, exec, emacsclient -c" 186 "$mainMod ALT, E, exec, emacsclient -c"
187 "$mainMod ALT, Y, exec, ${pkgs.writeShellScript "yt-dlp" ''
188 export PATH="${lib.makeBinPath (with pkgs; [ wl-clipboard-rs socat ])}:$PATH"
189 socat STDIO UNIX-CONNECT:"$XDG_RUNTIME_DIR"/yt-dlp.sock <<<$'{ "urls": ["'"$(wl-paste)"$'"] }'
190 ''}"
187 191
188 ", XF86MonBrightnessUp, exec, lightctl -d -e4 -n1 up" 192 ", XF86MonBrightnessUp, exec, lightctl -d -e4 -n1 up"
189 ", XF86MonBrightnessDown, exec, lightctl -d -e4 -n1 down" 193 ", XF86MonBrightnessDown, exec, lightctl -d -e4 -n1 down"