summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/hyprland.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-08-23 23:36:43 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2024-08-23 23:36:43 +0200
commit618e4580240c71a7ac866649e01439e75ef4d6a6 (patch)
tree52de219537f8e2ca4c24527eb8a5321f77277fc7 /accounts/gkleen@sif/hyprland.nix
parentf7c6f796fa348c2b3edfd9bc44d3e8533501681e (diff)
downloadnixos-618e4580240c71a7ac866649e01439e75ef4d6a6.tar
nixos-618e4580240c71a7ac866649e01439e75ef4d6a6.tar.gz
nixos-618e4580240c71a7ac866649e01439e75ef4d6a6.tar.bz2
nixos-618e4580240c71a7ac866649e01439e75ef4d6a6.tar.xz
nixos-618e4580240c71a7ac866649e01439e75ef4d6a6.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 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"