From dd2276099946a07e73c598d81ce0db35d93d71ea Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 9 Sep 2024 09:05:18 +0200 Subject: ... --- accounts/gkleen@sif/hyprland.nix | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'accounts/gkleen@sif') 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 { "$mainMod SHIFT, code:15, movetoworkspacesilent, 9" "$mainMod SHIFT, code:16, movetoworkspacesilent, 10" - "CTRL, space, exec, dunstctl close" - "CTRL SHIFT, space, exec, dunstctl close-all" - "CTRL, period, exec, dunstctl context" - "CTRL, comma, exec, dunstctl history-pop" + "$mainMod, semicolon, exec, dunstctl close" + "$mainMod SHIFT, semicolon, exec, dunstctl close-all" + "$mainMod, period, exec, dunstctl context" + "$mainMod, comma, exec, dunstctl history-pop" "$mainMod ALT, E, exec, emacsclient -c" "$mainMod ALT, Y, exec, ${pkgs.writeShellScript "yt-dlp" '' @@ -194,13 +194,6 @@ in { socat STDIO UNIX-CONNECT:"$XDG_RUNTIME_DIR"/yt-dlp.sock <<<$'{ "urls": ["'"$(wl-paste)"$'"] }' ''}" - ", XF86MonBrightnessUp, exec, lightctl -d -e4 -n1 up" - ", XF86MonBrightnessDown, exec, lightctl -d -e4 -n1 down" - ", XF86AudioRaiseVolume, exec, volumectl -d -u up" - ", XF86AudioLowerVolume, exec, volumectl -d -u down" - ", XF86AudioMute, exec, volumectl -d toggle-mute" - ", XF86AudioMicMute, exec, volumectl -d -m toggle-mute" - ", Print, exec, ${pkgs.writeShellScript "screenshot" '' export PATH="${lib.makeBinPath (with pkgs; [ grim slurp wl-clipboard-rs coreutils ])}:$PATH" @@ -339,7 +332,16 @@ in { "$mainMod, mouse:272, movewindow" "$mainMod, mouse:273, resizewindow" ]; + bindel = [ + ", XF86MonBrightnessUp, exec, lightctl -d -e4 -n1 up" + ", XF86MonBrightnessDown, exec, lightctl -d -e4 -n1 down" + ", XF86AudioRaiseVolume, exec, volumectl -d -u up" + ", XF86AudioLowerVolume, exec, volumectl -d -u down" + ]; bindl = [ + ", XF86AudioMute, exec, volumectl -d toggle-mute" + ", XF86AudioMicMute, exec, volumectl -d -m toggle-mute" + ", switch:off:Lid Switch,exec,hyprctl dispatch dpms on eDP-1" ", switch:on:Lid Switch,exec,hyprctl dispatch dpms off eDP-1" -- cgit v1.2.3