From: Andre Ramnitz Date: Mon, 16 Mar 2026 17:49:59 +0000 (+0100) Subject: hypr: config tweaks X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=98ed7e20c920cc178888b3eefef53b76f787906a;p=dotfiles.git hypr: config tweaks --- diff --git a/dot-config/hypr/fragments/windowrules.conf b/dot-config/hypr/fragments/windowrules.conf index ea38b373..e919a34e 100644 --- a/dot-config/hypr/fragments/windowrules.conf +++ b/dot-config/hypr/fragments/windowrules.conf @@ -13,7 +13,7 @@ windowrule { # hide hyprbars on specific windows windowrule { name = nobar2 - match:class = ^((steam).*)$ + match:class = ^((steam|io.github.ilya_zlobintsev.LACT).*)$ hyprbars:no_bar = 1 } @@ -21,7 +21,7 @@ windowrule { name = floating_enable float = on size = 1280 800 - match:class = ^((org.kde|ark|lxqt|vlc|pcmanfm|qalculate|kdesystemsettings|org.keepassxc|KeePassXC|gimp|clipse|openrgb|nwg-look|alsa-scarlett-gui|lstopo|org.corectrl.CoreCtrl|LACT|lutris|blueman-manager|org.freedesktop.impl.portal|be.alexandervanhee.gradia).*)$ + match:class = ^((org.kde|ark|lxqt|vlc|pcmanfm|qalculate|kdesystemsettings|org.keepassxc|KeePassXC|gimp|clipse|openrgb|nwg-look|alsa-scarlett-gui|lstopo|org.corectrl.CoreCtrl|LACT|lutris|blueman-manager|org.freedesktop.impl.portal|be.alexandervanhee.gradia|io.missioncenter.MissionCenter|io.github.ilya_zlobintsev.LACT).*)$ } windowrule { diff --git a/dot-config/hypr/hypridle.conf b/dot-config/hypr/hypridle.conf index 5c42ec18..b9e4e59c 100644 --- a/dot-config/hypr/hypridle.conf +++ b/dot-config/hypr/hypridle.conf @@ -5,23 +5,23 @@ general { lock_cmd = qs -c noctalia-shell ipc call lockScreen lock # avoid starting multiple hyprlock instances. - before_sleep_cmd = loginctl lock-session # lock before suspend. - after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. + # before_sleep_cmd = loginctl lock-session # lock before suspend. + # after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. } listener { - timeout = 600 # 10min + timeout = 900 # 15min on-timeout = loginctl lock-session # lock screen when timeout has passed } -listener { - timeout = 900 # 15min - on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed - on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. -} +# listener { +# timeout = 1200 # 20min +# on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed +# on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. +# } listener { - timeout = 1500 # 30min + timeout = 1800 # 30min on-timeout = loginctl suspend # suspend pc } diff --git a/dot-config/hypr/hyprland.conf b/dot-config/hypr/hyprland.conf index e5155044..d53cc8ba 100644 --- a/dot-config/hypr/hyprland.conf +++ b/dot-config/hypr/hyprland.conf @@ -24,24 +24,16 @@ monitorv2 { monitor=,preferred,auto-center-right,1,vrr,2 # Execute your favorite apps at launch -# exec-once = dbus-update-activation-environment --systemd --all +exec-once = dbus-update-activation-environment --systemd --all exec-once = /usr/libexec/pam_kwallet_init -# exec-once = /usr/libexec/polkit-gnome-authentication-agent-1 -# exec-once = /usr/libexec/polkit-kde-authentication-agent-1 +exec-once = env XDG_MENU_PREFIX=plasma- kbuildsycoca6 --noincremental exec-once = hyprpm reload -exec-once = openrc --user hyprland # AFTER pam_kwallet_init!!! exec-once = /usr/bin/qs -c noctalia-shell -exec-once = /usr/bin/nextcloud -exec-once = /usr/bin/keepassxc -# exec-once = env XDG_MENU_PREFIX=plasma- kbuildsycoca6 - -# Unset variables on exit -exec-shutdown = openrc --user default -# exec-shutdown = setenv WAYLAND_DISPLAY= XDG_SESSION_TYPE= XDG_CURRENT_DESKTOP= +exec-once = ~/.local/bin/run_after_noctalia.sh general { allow_tearing = 1 - border_size = 2 + border_size = 1 gaps_in = 5 gaps_out = 10 snap { @@ -121,6 +113,7 @@ decoration { } input { + float_switch_override_focus = 2 numlock_by_default = 1 kb_layout = us,de kb_variant = de_se_fi, @@ -129,6 +122,7 @@ input { kb_rules = follow_mouse = 1 + follow_mouse_threshold = 10 focus_on_close = 1 touchpad { diff --git a/dot-config/hypr/hyprtoolkit.conf b/dot-config/hypr/hyprtoolkit.conf index 294f5a9c..33650f0c 100644 --- a/dot-config/hypr/hyprtoolkit.conf +++ b/dot-config/hypr/hyprtoolkit.conf @@ -1,7 +1,7 @@ -background = rgba(1f1f28ff) -base = rgba(1f1f28ff) -text = rgba(c8c093ff) -alternate_base = rgba(2a2a37ff) -bright_text = rgba(1f1f28ff) -accent = rgba(76946aff) -accent_secondary = rgba(c0a36eff) \ No newline at end of file +background = rgba(1c1822ff) +base = rgba(1c1822ff) +text = rgba(e9e4f0ff) +alternate_base = rgba(262130ff) +bright_text = rgba(f3edf7ff) +accent = rgba(c7a1d8ff) +accent_secondary = rgba(a984c4ff) \ No newline at end of file diff --git a/dot-config/hypr/scripts/gamemode.sh b/dot-config/hypr/scripts/gamemode.sh index cbb1a0f3..28d01412 100755 --- a/dot-config/hypr/scripts/gamemode.sh +++ b/dot-config/hypr/scripts/gamemode.sh @@ -14,10 +14,12 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then # keyword input:force_no_accel 1;\ keyword input:follow_mouse 0;" # sunsetr p gamemode + lact cli profile set Gaming echo on > "$HOME/.cache/hyprgamemode" exit fi # sunsetr p default echo "" > "$HOME/.cache/hyprgamemode" +lact cli profile set UV hyprctl reload