diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index 2652a51..ceaf21d 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -40,7 +40,7 @@ input = { kb_layout = "us,jp"; - kb_options = "caps:ctrl_modifier"; + kb_options = "caps:ctrl_modifier,compose:ralt"; numlock_by_default = true; follow_mouse = 1; sensitivity = 0; @@ -171,6 +171,7 @@ "$mainMod, Space, togglefloating," "$mainMod, D, exec, bemenu-run -l 5 --ignorecase" "SUPER SHIFT, L, exec, swaylock --image /home/${username}/.local/share/bg.png" + "SUPER, L, exec, swaylock --image /home/${username}/.local/share/bg.png" "$mainMod, E, exec, thunar" "$mainMod SHIFT, B, exec, pkill -SIGUSR1 .waybar-wrapped" "$mainMod, C,exec, hyprpicker -a" @@ -269,6 +270,10 @@ "$mainMod, XF86MonBrightnessDown, exec, brightnessctl set 100%-" ]; + bindl = [ + ",switch:[Lid Switch], exec, hyprlock" + ]; + # mouse binding bindm = [ "$mainMod, mouse:272, movewindow"