From: Andre Ramnitz Date: Fri, 14 Nov 2025 14:33:50 +0000 (+0100) Subject: hypr: bump everything for 0.52.0 X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=e260af629442c5468fcd6a39fe9b66961ed3b024;p=dotfiles.git hypr: bump everything for 0.52.0 --- diff --git a/dot-config/hypr/fragments/animations.conf b/dot-config/hypr/fragments/animations.conf index 38d19a5a..d7c333a0 100644 --- a/dot-config/hypr/fragments/animations.conf +++ b/dot-config/hypr/fragments/animations.conf @@ -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 diff --git a/dot-config/hypr/fragments/env.conf b/dot-config/hypr/fragments/env.conf index 968982c2..93ca1fd6 100644 --- a/dot-config/hypr/fragments/env.conf +++ b/dot-config/hypr/fragments/env.conf @@ -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 diff --git a/dot-config/hypr/fragments/keybinds.conf b/dot-config/hypr/fragments/keybinds.conf index 0c280e9f..93bef76b 100644 --- a/dot-config/hypr/fragments/keybinds.conf +++ b/dot-config/hypr/fragments/keybinds.conf @@ -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) diff --git a/dot-config/hypr/fragments/windowrules.conf b/dot-config/hypr/fragments/windowrules.conf index 0fb8493e..57fde3f4 100644 --- a/dot-config/hypr/fragments/windowrules.conf +++ b/dot-config/hypr/fragments/windowrules.conf @@ -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)$ diff --git a/dot-config/hypr/hypridle.conf b/dot-config/hypr/hypridle.conf index aa16163f..d0829dcc 100644 --- a/dot-config/hypr/hypridle.conf +++ b/dot-config/hypr/hypridle.conf @@ -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 } diff --git a/dot-config/hypr/hyprland.conf b/dot-config/hypr/hyprland.conf index 01cf485a..d93efe82 100644 --- a/dot-config/hypr/hyprland.conf +++ b/dot-config/hypr/hyprland.conf @@ -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 index 00000000..cc1d2f9a --- /dev/null +++ b/dot-config/hypr/hyprlauncher.conf @@ -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 index 00000000..2681f7a1 --- /dev/null +++ b/dot-config/hypr/hyprqt6engine.conf @@ -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 +} + diff --git a/dot-config/hypr/scripts/gamemode.sh b/dot-config/hypr/scripts/gamemode.sh index 8e9d096f..e023d521 100755 --- a/dot-config/hypr/scripts/gamemode.sh +++ b/dot-config/hypr/scripts/gamemode.sh @@ -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