diff options
Diffstat (limited to '.config/hypr/hyprland.conf')
-rw-r--r-- | .config/hypr/hyprland.conf | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 25d2434..0d90157 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -5,12 +5,17 @@ exec-once = nm-applet --indicator exec-once = blueman-applet exec-once = thunar --daemon exec-once = foot --server +exec-once = swayidle -w timeout 300 'swaylock -f -c 000000' timeout 600 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'swaylock -f -c 000000' monitor = , preferred, auto, 1 -input { - follow_mouse = 1 - kb_layout = no +device:at-translated-set-2-keyboard { + kb_layout = no,us + kb_options = grp:alt_shift_toggle +} + +input { + follow_mouse = 1 touchpad { disable_while_typing = no natural_scroll = yes @@ -71,18 +76,18 @@ bind = $modkey SHIFT, Space, togglefloating, bind = $modkey, F, fullscreen, bind = $modkey SHIFT, T, pin, bind = $modkey, Q, killactive, -bind = $modkey SHIFT, Q, exit, +bind = $modkey CTRL, Q, exec, exec swaynag -t warning -m 'You pressed Super + Q. What do you want to do?' -B 'Log out' 'hyprctl dispatch exit' -B 'Reboot' 'reboot' -B 'Power off' 'poweroff' bind = $modkey, Tab, workspace, prev bind = $modkey, Left, workspace, e-1 bind = $modkey, Right, workspace, e+1 -bind = $modkey, Return, exec, alacritty +bind = $modkey, Return, exec, exec "$(which alacritty || which footclient)" # trigger when the switch is toggled -bindl=,switch:Lid Switch, exec,swaylock +bindl=,switch:Lid Switch, exec, exec swaylock # trigger when the switch is turning on -bindl=,switch:on:Lid Switch, exec,hyprctl keyword monitor "eDP-1, 1600x900, 0x0, 1" +bindl=,switch:on:Lid Switch, exec, hyprctl keyword monitor "eDP-1, 1600x900, 0x0, 1" # trigger when the switch is turning off -bindl=,switch:off:Lid Switch, exec,hyprctl keyword monitor "eDP-1, disable" +bindl=,switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, disable" # Change focused window bind = $modkey, H, movefocus, l |