]> Freerunner's - dotfiles.git/commitdiff
hypr: bump everything for 0.52.0
authorAndre Ramnitz <tux.rising@gmail.com>
Fri, 14 Nov 2025 14:33:50 +0000 (15:33 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Fri, 14 Nov 2025 14:33:50 +0000 (15:33 +0100)
dot-config/hypr/fragments/animations.conf
dot-config/hypr/fragments/env.conf
dot-config/hypr/fragments/keybinds.conf
dot-config/hypr/fragments/windowrules.conf
dot-config/hypr/hypridle.conf
dot-config/hypr/hyprland.conf
dot-config/hypr/hyprlauncher.conf [new file with mode: 0644]
dot-config/hypr/hyprqt6engine.conf [new file with mode: 0644]
dot-config/hypr/scripts/gamemode.sh

index 38d19a5ad7a3ce4a60114be8a4710f4539fb4a3d..d7c333a097ef7605bec067324ef253345ebd2f4f 100644 (file)
@@ -13,21 +13,21 @@ animations {
     bezier = border, 1, 1, 1, 1
     bezier = overshoot, 0.05, 0.9, 0.2, 1.00
 
-    bezier = easeIn, .42, 0, 1, 1
+    bezier = easeIn, 0.42, 0, 1, 1
     bezier = easeInBack, 0.36, 0, 0.66, -0.56
     bezier = easeInSine, 0.12, 0, 0.39, 0
     bezier = easeInQuart, 0.895, 0.03, 0.685, 0.22
     bezier = easeInQuint, 0.755, 0.05, 0.855, 0.06
     bezier = turboIn, 0.97,0.22,0.9,0.48
 
-    bezier = easeInOut, .42, 0, .58, 1
+    bezier = easeInOut, 0.42, 0, 0.58, 1
     bezier = easeInOutBack, 0.68, -0.55, 0.265, 1.55
     bezier = easeInOutCirc, 0.785, 0.135, 0.15, 0.86
     bezier = easeInOutExpo, 1, 0, 0, 1
     bezier = easeInOutQuart, 0.77, 0, 0.175, 1
     bezier = easeInOutSine, 0.445, 0.05, 0.55, 0.95
 
-    bezier = easeOut, 0, 0, .58, 1
+    bezier = easeOut, 0, 0, 0.58, 1
     bezier = easeOutQuad, 0.5, 1, 0.89, 1
     bezier = easeOutQuart, 0.165, 0.84, 0.44, 1
     bezier = easeOutBounce, 0.5, 1, 0.89, 1
index 968982c2bfc3dcdac5a08ac4374c20a261db648c..93ca1fd64b20ca60d097a4ed4e427c68f4fc7f57 100644 (file)
@@ -31,5 +31,8 @@ env = HYPRCURSOR_SIZE,40
 # tweak applications/frameworks
 env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
 
+# try hyprqt6engine
+env = QT_QPA_PLATFORMTHEME=hyprqt6engine
+
 # test stuff
 env = TERMINAL,/usr/bin/foot
index 0c280e9f8b7e3c907a3f762c6cec2413db503bea..93bef76b34771b99154bd078f48d2d9547649b9c 100644 (file)
@@ -18,7 +18,7 @@ bind = $mainmod,                        B, exec, $HOME/.config/hypr/scripts/brow
 # bind = $mainmod,                        C, exec, killall fuzzel || cliphist list | fuzzel -d --config=$HOME/.config/fuzzel/fuzzel-emojii.ini --prompt='Copy > ' | cliphist decode | wl-copy
 bind = $mainmod Ctrl,                   C, exec, foot -a clipse -e clipse
 bind = $mainmod,                        D, exec, killall fuzzel || fuzzel --config=$HOME/.config/fuzzel/fuzzel-centered.ini
-bind = $mainmod SHIFT,                  D, exec, sherlock
+bind = $mainmod SHIFT,                  D, exec, hyprlauncher
 bind = $mainmod,                        E, exec, foot -a lf lf
 bind = $mainmod SHIFT,                  E, exec, dolphin
 bind = $mainmod,                        F, fullscreen,1
@@ -50,11 +50,11 @@ bind = $mainmod SHIFT,                  M, movetoworkspace, +0
 bind = $mainmod SHIFT,                  M, togglespecialworkspace, sorcery
 bind = $mainmod SHIFT,                  M, movetoworkspace, special:sorcery
 bind = $mainmod SHIFT,                  M, togglespecialworkspace, sorcery
-bind = ALT CTRL,                        k, togglespecialworkspace, keepassxc
-bind = ALT CTRL,                        k, movetoworkspace, +0
-bind = ALT CTRL,                        k, togglespecialworkspace, keepassxc
-bind = ALT CTRL,                        k, movetoworkspace, special:keepassxc
-bind = ALT CTRL,                        k, togglespecialworkspace, keepassxc
+bind = CTRL ALT,                        K, togglespecialworkspace, keys
+bind = CTRL ALT,                        K, movetoworkspace, +0
+bind = CTRL ALT,                        K, togglespecialworkspace, keys
+bind = CTRL ALT,                        K, movetoworkspace, special:keys
+bind = CTRL ALT,                        K, togglespecialworkspace, keys
 
 
 # suremod keys (prevent fat-fingering 'em by accident)
index 0fb8493e7c715a5a5eb87e32e8a7f2677f7c64ea..57fde3f47f50a9f9e8544294e66cabeae313e25b 100644 (file)
@@ -8,7 +8,7 @@
 # more windowrules
 
 # hide hyprbars on non-floating windows
-windowrule = plugin:hyprbars:nobar, ^floating:0
+windowrule = plugin:hyprbars:nobar, floating:0
 
 # handle plasma/kde/qt apps
 windowrule = float, class:^(org.kde.*)$
@@ -24,11 +24,11 @@ windowrule = stayfocused, class:^(com.nextcloud.desktopclient.nextcloud)$
 windowrule = float, class: ^(com.nextcloud.desktopclient.nextcloud)$
 
 windowrule = float, class:^(kdesystemsettings.*)$
-windowrule = float, size 1560 1000, pin, workspace special:overlay, class:^(org.keepassxc.KeePassXC|KeePassXC)$
+windowrule = float, class:^(org.keepassxc.KeePassXC|KeePassXC)$
 
 # handle dialogs
 windowrule = float, title:^((Über|About|Öffnen).*)$
-windowrule = stayfocused, title:^((Über|About|Öffnen|Neuen Ordner erstellen|Datei überschreiben).*)$
+windowrule = stayfocused, title:^((Über|About|Öffnen|Neuen Ordner erstellen|Datei überschreiben|Create New Folder).*)$
 windowrule = float, class:^((org.kde.kwalletd6|org.kde.ksecretd|org.kde.polkit-kde-authentication-agent-1).*)$
 windowrule = stayfocused, class:^((org.kde.kwalletd6|org.kde.ksecretd|org.kde.polkit-kde-authentication-agent-1).*)$
 windowrule = float, title:^(.*)auncher$
@@ -41,8 +41,8 @@ windowrulev2 = bordercolor 0xff$berror 0xff$black 30deg, initialTitle:^(upgrayye
 # dirty: can't match it since class+title are empty
 # maybe more elegant:
 # hyprctl -j clients | jq '.[] | {pid, address} | select(.pid == 6597) | .address'
-windowrule = opacity 0, title:^()$, class:^()$
-windowrule = noblur, title:^()$, class:^()$
+windowrule = opacity 0, title:^()$, class:^()$
+windowrule = noblur, title:^()$, class:^()$
 
 # handle gimp (omg)
 windowrule = workspace 5, class:^(gimp)$
@@ -51,19 +51,10 @@ windowrule = tile, class:^(gimp)$, title:^(.*GIMP)$
 
 # handle krita
 windowrule = workspace 5, class:^(krita)$
-# windowrule = float, class:^(krita)$,title:.*(?=\sKrita)
-# windowrule = minsize 1280 800, class:^(krita)$,title:.*(?=\sKrita)
-# windowrule = focusonactivate, class:^(krita)$,title:.*(?=\sKrita)
 
 # handle Softmaker Office
 windowrule = workspace 7, class:^(pm|tm|pr)$
 
-# WIP: handle cava launched by .desktop file
-windowrule = float,class:^(cava|foot)$,title:cava
-# windowrule = noinitialfocus,^(cava|foot)$,title:cava
-windowrule = size 1024 600,^(cava|foot)$,title:cava
-windowrule = move 100% 100%,^(cava|foot)$,title:cava
-
 # handle browsers
 windowrule = tag +neverdim, class:^(org.qutebrowser.*)$
 windowrule = tag +neverdim, class:^(Microsoft-edge.*)$
@@ -85,6 +76,7 @@ windowrule = noborder, class:^(firefox.*)$, initialTitle:^(Bild-im-Bild|Picture-
 windowrule = content video, class:^(firefox.*)$, initialTitle:^(Bild-im-Bild|Picture-in-Picture)$
 
 # handle terminal(s/-apps)
+windowrule = maxsize 1698 1374, initialClass:^(foot|footclient)$
 windowrule = float, class:^(popup)$
 windowrule = float, class:^(clipse)$
 windowrule = plugin:hyprbars:nobar, class:^(clipse)$
@@ -133,7 +125,9 @@ windowrule = float, class:^(org.freedesktop.impl.portal.desktop.kde)$
 windowrule = stayfocused, class:^(org.freedesktop.impl.portal.desktop.kde)$
 
 # handle game launchers
-windowrule = workspace 6, initialclass:^(steam|heroic)$
+$GAMELAUNCHERS = ^(steam|heroic)$
+
+windowrule = workspace 6, initialClass:$GAMELAUNCHERS
 windowrule = float, initialclass:^(steam)$, title:^(Freundesliste|Friendlist)$
 windowrule = float, initialClass:^(steam)$, title:negative:^()$
 windowrule = size 300 800, initialclass:^(steam)$, title:^(Freundesliste|Friendlist)$
index aa16163fe6a79bc6fec5bd25a51b39d186717106..d0829dccbad028f3370f2fba40ef58b3ee907bba 100644 (file)
@@ -1,7 +1,8 @@
 general {
     lock_cmd = pidof hyprlock || hyprlock       # 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.
+    # after_sleep_cmd = hyprctl dispatch dpms on  # to avoid having to press a key twice to turn on the display.
+    after_sleep_cmd = openrgb -p default
 }
 
 # listener {
@@ -31,5 +32,6 @@ listener {
 listener {
     timeout = 3600                                # 90min
     on-timeout = loginctl suspend                 # suspend pc
+    # on-resume = openrgb -p default                # reset lighting on resume
 }
 
index 01cf485a9a6d50d37a0730f971979d3769f3c076..d93efe82c1b1908e56fcef84b0d100663e3c0475 100644 (file)
@@ -26,13 +26,14 @@ monitorv2 {
 monitor=,preferred,auto-center-right,1,vrr,2
 
 # Execute your favorite apps at launch
+# exec-once = ~/.config/hypr/scripts/startup.sh
 exec-once = dbus-update-activation-environment --systemd --all
 exec-once = /usr/libexec/pam_kwallet_init
-# exec-once = ~/.config/hypr/scripts/startup.sh
-exec-once = openrc --user gui # AFTER pam_kwallet_init!!!
+exec-once = openrc --user hyprland # AFTER pam_kwallet_init!!!
 exec-once = hyprpm reload
-exec-once = matugen image /home/andy/Wallpapers/3440x1440-jffmy9eofxof1.jpg
 exec-once = env XDG_MENU_PREFIX=plasma- kbuildsycoca6
+exec-once = matugen -t scheme-rainbow image /home/andy/Wallpapers/3440x1440-jffmy9eofxof1.jpg
+exec-once = openrgb -p default
 
 # Unset variables on exit
 exec-shutdown = lastwall save
@@ -43,7 +44,7 @@ general {
     allow_tearing = 1
     border_size = 2
     gaps_in = 5
-    gaps_out = 10
+    gaps_out = 12
     # col.active_border = rgba(33ccffee) rgba(00ff99ee) 15deg #vanilla colors
     col.active_border = 0xff$tertiary 0x88$tertiary 50deg
     col.nogroup_border_active = 0xff$error 0x88$error 50deg
@@ -198,6 +199,7 @@ misc {
     font_family = ZedMono NFP
     enable_swallow = 0
     swallow_regex = ^(Alacritty|kitty|foot|footclient|konsole)$
+       size_limits_tiled = 1
 }
 
 binds {
@@ -250,9 +252,9 @@ plugin {
         bar_part_of_window = 1
         bar_precedence_over_border = 1
         #NOTE: hyprbars-button = color, size, icon, on-click
-        hyprbars-button = 0xaa$error, 20, 󰖭, hyprctl dispatch killactive
-        hyprbars-button = 0xaa$primary, 20, 󰁌, hyprctl dispatch fullscreen 1
-        hyprbars-button = 0xaa$secondary, 20, , hyprctl dispatch pin active
+        hyprbars-button = 0xaa$red, 18, 󰖭, hyprctl dispatch killactive
+        hyprbars-button = 0xaa$yellow, 18, 󰁌, hyprctl dispatch fullscreen 1
+        hyprbars-button = 0xaa$green, 18, , hyprctl dispatch movetoworkspacesilent special:min
     }
        hyprfoci {
                # can be from -1 to 1, will be
diff --git a/dot-config/hypr/hyprlauncher.conf b/dot-config/hypr/hyprlauncher.conf
new file mode 100644 (file)
index 0000000..cc1d2f9
--- /dev/null
@@ -0,0 +1,5 @@
+finders {
+    default_finder = desktop
+    # desktop_launch_prefix =
+}
diff --git a/dot-config/hypr/hyprqt6engine.conf b/dot-config/hypr/hyprqt6engine.conf
new file mode 100644 (file)
index 0000000..2681f7a
--- /dev/null
@@ -0,0 +1,15 @@
+theme {
+    style = Breeze
+    font_fixed = monospace
+    font_fixed_size = 14
+    font = Sans Serif
+    font_size = 14
+    icon_theme = Breeze Dark
+}
+
+misc {
+    single_click_activate = false
+    menus_have_icons = true
+    shortcuts_for_context_menus = true
+}
+
index 8e9d096f286325f54f634fa5ed31e64adb9357cf..e023d5212bd26890da6aebde2ac80cd589b5ca54 100755 (executable)
@@ -13,7 +13,9 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then
         keyword group:groupbar:rounding 0;\
         keyword input:force_no_accel 1;\
         keyword input:follow mouse 0;"
+        sunsetr p gamemode
     exit
 fi
+sunsetr p default
 hyprctl reload