]> Freerunner's - dotfiles.git/commitdiff
hypr: config tweaks
authorAndre Ramnitz <tux.rising@gmail.com>
Mon, 16 Mar 2026 17:49:59 +0000 (18:49 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Mon, 16 Mar 2026 17:49:59 +0000 (18:49 +0100)
dot-config/hypr/fragments/windowrules.conf
dot-config/hypr/hypridle.conf
dot-config/hypr/hyprland.conf
dot-config/hypr/hyprtoolkit.conf
dot-config/hypr/scripts/gamemode.sh

index ea38b373c3498997341785099e902a31e2bc1e1d..e919a34efe1145a2e94398b76018980a571de01c 100644 (file)
@@ -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 {
index 5c42ec18d7301f1317d31e527bc39a4df941e27e..b9e4e59cc3e927e4eb193a61d61af2ecc7e6fde0 100644 (file)
@@ -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
 }
 
index e515504480a73530f1ab84f7d04118248b8da136..d53cc8ba46bf5d55860fb8138c9b4902a5c96eac 100644 (file)
@@ -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 {
index 294f5a9c8c1120ef33ec8bfc2b9e31780351248a..33650f0cea842ea9af015773ccae293565683df0 100644 (file)
@@ -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
index cbb1a0f3194c1a039f4d163ce2b4650b0b580318..28d014128896977b5e01a49a6a9617574aaa2f79 100755 (executable)
@@ -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