diff --git a/dot_config/hypr/hypridle.conf b/dot_config/hypr/hypridle.conf index f2245a7..d39c97f 100644 --- a/dot_config/hypr/hypridle.conf +++ b/dot_config/hypr/hypridle.conf @@ -11,7 +11,7 @@ listener { } listener { - timeout = 300 # 5min + timeout = 151 # 5min on-timeout = loginctl lock-session # lock screen when timeout has passed } diff --git a/dot_config/hypr/input.conf b/dot_config/hypr/input.conf index fc9e591..372b151 100644 --- a/dot_config/hypr/input.conf +++ b/dot_config/hypr/input.conf @@ -29,7 +29,8 @@ input { } # Scroll faster in the terminal -windowrule = scrolltouchpad 1.5, tag:terminal +windowrule = match:class (Alacritty|kitty), scroll_touchpad 1.5 +windowrule = match:class com.mitchellh.ghostty, scroll_touchpad 0.2 device { name = pixa3854:00-093a:0274-touchpad diff --git a/dot_config/hypr/windows.conf b/dot_config/hypr/windows.conf index 2758902..a401b44 100644 --- a/dot_config/hypr/windows.conf +++ b/dot_config/hypr/windows.conf @@ -1,18 +1,18 @@ # datagrip gets its own named workspace -windowrule = workspace name:DataGrip, class:jetbrains-datagrip +windowrule = workspace name:DataGrip, match:class jetbrains-datagrip # creddy gets some special treatment # windowrule = workspace special:creddy, class:creddy -windowrule = float, class:creddy -windowrule = size 800 600, class:creddy +windowrule = float 1, match:class creddy +windowrule = size 800 600, match:class creddy # this just gets ignored when monitor 2 isn't present, which is perfect -windowrule = monitor 2, class:creddy +windowrule = monitor 1, match:class creddy -windowrule = workspace special:slack, class:Slack +windowrule = workspace special:slack, match:class Slack # excluding floating windows allows the unlock and quick-access popups to show in any workspace -windowrule = workspace special:1password, class:1Password, floating:0 +windowrule = workspace special:1password, match:class 1Password, match:float 0 # quick-access popup doesn't resize automatically when its content changes # windowrule = size 550 404, class:1Password, title:Quick.* -windowrule = persistentsize, class:1Password, title:Quick.* +windowrule = persistent_size 1, match:class 1Password, match:title Quick.*