diff options
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r-- | accounts/gkleen@sif/hyprland.nix | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/accounts/gkleen@sif/hyprland.nix b/accounts/gkleen@sif/hyprland.nix index 7cfd6848..17385a06 100644 --- a/accounts/gkleen@sif/hyprland.nix +++ b/accounts/gkleen@sif/hyprland.nix | |||
@@ -183,10 +183,10 @@ in { | |||
183 | "$mainMod SHIFT, code:15, movetoworkspacesilent, 9" | 183 | "$mainMod SHIFT, code:15, movetoworkspacesilent, 9" |
184 | "$mainMod SHIFT, code:16, movetoworkspacesilent, 10" | 184 | "$mainMod SHIFT, code:16, movetoworkspacesilent, 10" |
185 | 185 | ||
186 | "CTRL, space, exec, dunstctl close" | 186 | "$mainMod, semicolon, exec, dunstctl close" |
187 | "CTRL SHIFT, space, exec, dunstctl close-all" | 187 | "$mainMod SHIFT, semicolon, exec, dunstctl close-all" |
188 | "CTRL, period, exec, dunstctl context" | 188 | "$mainMod, period, exec, dunstctl context" |
189 | "CTRL, comma, exec, dunstctl history-pop" | 189 | "$mainMod, comma, exec, dunstctl history-pop" |
190 | 190 | ||
191 | "$mainMod ALT, E, exec, emacsclient -c" | 191 | "$mainMod ALT, E, exec, emacsclient -c" |
192 | "$mainMod ALT, Y, exec, ${pkgs.writeShellScript "yt-dlp" '' | 192 | "$mainMod ALT, Y, exec, ${pkgs.writeShellScript "yt-dlp" '' |
@@ -194,13 +194,6 @@ in { | |||
194 | socat STDIO UNIX-CONNECT:"$XDG_RUNTIME_DIR"/yt-dlp.sock <<<$'{ "urls": ["'"$(wl-paste)"$'"] }' | 194 | socat STDIO UNIX-CONNECT:"$XDG_RUNTIME_DIR"/yt-dlp.sock <<<$'{ "urls": ["'"$(wl-paste)"$'"] }' |
195 | ''}" | 195 | ''}" |
196 | 196 | ||
197 | ", XF86MonBrightnessUp, exec, lightctl -d -e4 -n1 up" | ||
198 | ", XF86MonBrightnessDown, exec, lightctl -d -e4 -n1 down" | ||
199 | ", XF86AudioRaiseVolume, exec, volumectl -d -u up" | ||
200 | ", XF86AudioLowerVolume, exec, volumectl -d -u down" | ||
201 | ", XF86AudioMute, exec, volumectl -d toggle-mute" | ||
202 | ", XF86AudioMicMute, exec, volumectl -d -m toggle-mute" | ||
203 | |||
204 | ", Print, exec, ${pkgs.writeShellScript "screenshot" '' | 197 | ", Print, exec, ${pkgs.writeShellScript "screenshot" '' |
205 | export PATH="${lib.makeBinPath (with pkgs; [ grim slurp wl-clipboard-rs coreutils ])}:$PATH" | 198 | export PATH="${lib.makeBinPath (with pkgs; [ grim slurp wl-clipboard-rs coreutils ])}:$PATH" |
206 | 199 | ||
@@ -339,7 +332,16 @@ in { | |||
339 | "$mainMod, mouse:272, movewindow" | 332 | "$mainMod, mouse:272, movewindow" |
340 | "$mainMod, mouse:273, resizewindow" | 333 | "$mainMod, mouse:273, resizewindow" |
341 | ]; | 334 | ]; |
335 | bindel = [ | ||
336 | ", XF86MonBrightnessUp, exec, lightctl -d -e4 -n1 up" | ||
337 | ", XF86MonBrightnessDown, exec, lightctl -d -e4 -n1 down" | ||
338 | ", XF86AudioRaiseVolume, exec, volumectl -d -u up" | ||
339 | ", XF86AudioLowerVolume, exec, volumectl -d -u down" | ||
340 | ]; | ||
342 | bindl = [ | 341 | bindl = [ |
342 | ", XF86AudioMute, exec, volumectl -d toggle-mute" | ||
343 | ", XF86AudioMicMute, exec, volumectl -d -m toggle-mute" | ||
344 | |||
343 | ", switch:off:Lid Switch,exec,hyprctl dispatch dpms on eDP-1" | 345 | ", switch:off:Lid Switch,exec,hyprctl dispatch dpms on eDP-1" |
344 | ", switch:on:Lid Switch,exec,hyprctl dispatch dpms off eDP-1" | 346 | ", switch:on:Lid Switch,exec,hyprctl dispatch dpms off eDP-1" |
345 | 347 | ||