fix(hyprland configs): Support for Hyprland 0.53.0 (fix #2775) (#2776)

This commit is contained in:
end-4
2025-12-30 09:17:19 +01:00
committed by GitHub
2 changed files with 135 additions and 136 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ misc {
animate_mouse_windowdragging = false animate_mouse_windowdragging = false
enable_swallow = false enable_swallow = false
swallow_regex = (foot|kitty|allacritty|Alacritty) swallow_regex = (foot|kitty|allacritty|Alacritty)
new_window_takes_over_fullscreen = 2 on_focus_under_fullscreen = 2
allow_session_lock_restore = true allow_session_lock_restore = true
session_lock_xray = true session_lock_xray = true
initial_workspace_tracking = false initial_workspace_tracking = false
+134 -135
View File
@@ -1,166 +1,165 @@
# ######## Window rules ######## # ######## Window rules ########
# Uncomment to apply global transparency to all windows:
# windowrule = opacity 0.89 override 0.89 override, match:class .*
# Disable blur for xwayland context menus # Disable blur for xwayland context menus
windowrule = no_blur on, match:class ^()$, match:title ^()$ windowrule = match:class ^()$, match:title ^()$, no_blur on
# Disable blur for all xwayland apps
# windowrule = no_blur on, match:xwayland 1 # Disable blur for every window
windowrule = match:class .*, no_blur on
# Floating # Floating
windowrule = center on, match:title ^(Open File)(.*)$ windowrule = match:title ^(Open File)(.*)$, center on
windowrule = float on, match:title ^(Open File)(.*)$ windowrule = match:title ^(Open File)(.*)$, float on
windowrule = center on, match:title ^(Select a File)(.*)$ windowrule = match:title ^(Select a File)(.*)$, center on
windowrule = float on, match:title ^(Select a File)(.*)$ windowrule = match:title ^(Select a File)(.*)$, float on
windowrule = center on, match:title ^(Choose wallpaper)(.*)$ windowrule = match:title ^(Choose wallpaper)(.*)$, center on
windowrule = float on, match:title ^(Choose wallpaper)(.*)$ windowrule = match:title ^(Choose wallpaper)(.*)$, float on
windowrule = size 60% 65%, match:title ^(Choose wallpaper)(.*)$ windowrule = match:title ^(Choose wallpaper)(.*)$, size (monitor_w*.60) (monitor_h*.65)
windowrule = center on, match:title ^(Open Folder)(.*)$ windowrule = match:title ^(Open Folder)(.*)$, center on
windowrule = float on, match:title ^(Open Folder)(.*)$ windowrule = match:title ^(Open Folder)(.*)$, float on
windowrule = center on, match:title ^(Save As)(.*)$ windowrule = match:title ^(Save As)(.*)$, center on
windowrule = float on, match:title ^(Save As)(.*)$ windowrule = match:title ^(Save As)(.*)$, float on
windowrule = center on, match:title ^(Library)(.*)$ windowrule = match:title ^(Library)(.*)$, center on
windowrule = float on, match:title ^(Library)(.*)$ windowrule = match:title ^(Library)(.*)$, float on
windowrule = center on, match:title ^(File Upload)(.*)$ windowrule = match:title ^(File Upload)(.*)$, center on
windowrule = float on, match:title ^(File Upload)(.*)$ windowrule = match:title ^(File Upload)(.*)$, float on
windowrule = center on, match:title ^(.*)(wants to save)$ windowrule = match:title ^(.*)(wants to save)$, center on
windowrule = float on, match:title ^(.*)(wants to save)$ windowrule = match:title ^(.*)(wants to save)$, float on
windowrule = center on, match:title ^(.*)(wants to open)$ windowrule = match:title ^(.*)(wants to open)$, center on
windowrule = float on, match:title ^(.*)(wants to open)$ windowrule = match:title ^(.*)(wants to open)$, float on
windowrule = float on, match:class ^(blueberry\.py)$ windowrule = match:class ^(blueberry\.py)$, float on
windowrule = float on, match:class ^(guifetch)$ # FlafyDev/guifetch windowrule = match:class ^(guifetch)$ , float on # FlafyDev/guifetch
windowrule = float on, match:class ^(pavucontrol)$ windowrule = match:class ^(pavucontrol)$, float on
windowrule = size 45%, match:class ^(pavucontrol)$ windowrule = match:class ^(pavucontrol)$, size (monitor_w*.45) (monitor_h*.45)
windowrule = center on, match:class ^(pavucontrol)$ windowrule = match:class ^(pavucontrol)$, center on
windowrule = float on, match:class ^(org.pulseaudio.pavucontrol)$ windowrule = match:class ^(org.pulseaudio.pavucontrol)$, float on
windowrule = size 45%, match:class ^(org.pulseaudio.pavucontrol)$ windowrule = match:class ^(org.pulseaudio.pavucontrol)$, size (monitor_w*.45) (monitor_h*.45)
windowrule = center on, match:class ^(org.pulseaudio.pavucontrol)$ windowrule = match:class ^(org.pulseaudio.pavucontrol)$, center on
windowrule = float on, match:class ^(nm-connection-editor)$ windowrule = match:class ^(nm-connection-editor)$, float on
windowrule = size 45%, match:class ^(nm-connection-editor)$ windowrule = match:class ^(nm-connection-editor)$, size (monitor_w*.45) (monitor_h*.45)
windowrule = center on, match:class ^(nm-connection-editor)$ windowrule = match:class ^(nm-connection-editor)$, center on
windowrule = float on, match:class .*plasmawindowed.* windowrule = match:class .*plasmawindowed.*, float on
windowrule = float on, match:class kcm_.* windowrule = match:class kcm_.*, float on
windowrule = float on, match:class .*bluedevilwizard windowrule = match:class .*bluedevilwizard, float on
windowrule = float on, match:title .*Welcome windowrule = match:title .*Welcome, float on
windowrule = float on, match:title ^(illogical-impulse Settings)$ windowrule = match:title ^(illogical-impulse Settings)$, float on
windowrule = float on, match:title .*Shell conflicts.* windowrule = match:title .*Shell conflicts.*, float on
windowrule = float on, match:class org.freedesktop.impl.portal.desktop.kde windowrule = match:class org.freedesktop.impl.portal.desktop.kde, float on
windowrule = size 60% 65%, match:class org.freedesktop.impl.portal.desktop.kde windowrule = match:class org.freedesktop.impl.portal.desktop.kde, size (monitor_w*.60) (monitor_h*.65)
windowrule = float on, match:class ^(Zotero)$ windowrule = match:class ^(Zotero)$, float on
windowrule = size 45%, match:class ^(Zotero)$ windowrule = match:class ^(Zotero)$, size (monitor_w*.45) (monitor_h*.45)
# Move # Move
# kde-material-you-colors spawns a window when changing dark/light theme. This is to make sure it doesn't interfere at all. # kde-material-you-colors spawns a window when changing dark/light theme. This is to make sure it doesn't interfere at all.
windowrule = float on, match:class ^(plasma-changeicons)$ windowrule = match:class ^(plasma-changeicons)$, float on
windowrule = no_initial_focus on, match:class ^(plasma-changeicons)$ windowrule = match:class ^(plasma-changeicons)$, no_initial_focus on
windowrule = move 999999 999999, match:class ^(plasma-changeicons)$ windowrule = match:class ^(plasma-changeicons)$, move 999999 999999
# stupid dolphin copy # stupid dolphin copy
windowrule = move 40 80, match:title ^(Copying — Dolphin)$ windowrule = match:title ^(Copying — Dolphin)$, move 40 80
# Tiling # Tiling
windowrule = tile on, match:class ^dev\.warp\.Warp$ windowrule = match:class ^dev\.warp\.Warp$, tile on
# Picture-in-Picture # Picture-in-Picture
windowrule = float on, match:title ^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$ windowrule = match:title ^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$, float on
windowrule = keep_aspect_ratio on, match:title ^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$ windowrule = match:title ^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$, keep_aspect_ratio on
windowrule = move 73% 72%, match:title ^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$ windowrule = match:title ^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$, move (monitor_w*.73) (monitor_h*.72)
windowrule = size 25%, match:title ^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$ windowrule = match:title ^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$, size (monitor_w*.25) (monitor_h*.25)
windowrule = float on, match:title ^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$ windowrule = match:title ^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$, float on
windowrule = pin on, match:title ^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$ windowrule = match:title ^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$, pin on
# --- Tearing --- # --- Tearing ---
windowrule = immediate on, match:title .*\.exe windowrule = match:title .*\.exe, immediate on
windowrule = immediate on, match:title .*minecraft.* windowrule = match:title .*minecraft.*, immediate on
windowrule = immediate on, match:class ^(steam_app).* windowrule = match:class ^(steam_app).*, immediate on
# Fix Jetbrain IDEs focus/rerendering problem # Fix Jetbrain IDEs focus/rerendering problem
windowrule=no_initial_focus on, match:class ^jetbrains-.*$, match:float 1,match:title ^$|^\s$|^win\d+$ windowrule = match:class ^jetbrains-.*$, match:float 1, match:title ^$|^\s$|^win\d+$, no_initial_focus on
# No shadow for tiled windows (matches windows that are not floating). # No shadow for tiled windows (matches windows that are not floating).
windowrule = no_shadow on, match:float 0 windowrule = match:float 0, no_shadow on
# ######## Workspace rules ######## # ######## Workspace rules ########
workspace = special:special, gapsout:30 workspace = special:special, gapsout:30
# ######## Layer rules ######## # ######## Layer rules ########
layerrule = xray 1, match:namespace .* layerrule = match:namespace .*, xray on
# layerrule = no_anim on, .* # layerrule = match:namespace .*, no_anim on
layerrule = no_anim on, match:namespace walker layerrule = match:namespace walker, no_anim on
layerrule = no_anim on, match:namespace selection layerrule = match:namespace selection, no_anim on
layerrule = no_anim on, match:namespace overview layerrule = match:namespace overview, no_anim on
layerrule = no_anim on, match:namespace anyrun layerrule = match:namespace anyrun, no_anim on
layerrule = no_anim on, match:namespace indicator.* layerrule = match:namespace indicator.*, no_anim on
layerrule = no_anim on, match:namespace osk layerrule = match:namespace osk, no_anim on
layerrule = no_anim on, match:namespace hyprpicker layerrule = match:namespace hyprpicker, no_anim on
layerrule = no_anim on, match:namespace no_anim on layerrule = match:namespace noanim, no_anim on
layerrule = blur on, match:namespace gtk-layer-shell layerrule = match:namespace gtk-layer-shell, blur on
layerrule = ignore_alpha 0, match:namespace gtk-layer-shell layerrule = match:namespace gtk-layer-shell, ignore_alpha 0
layerrule = blur on, match:namespace launcher layerrule = match:namespace launcher, blur on
layerrule = ignore_alpha 0.5, match:namespace launcher layerrule = match:namespace launcher, ignore_alpha 0.5
layerrule = blur on, match:namespace notifications layerrule = match:namespace notifications, blur on
layerrule = ignore_alpha 0.69, match:namespace notifications layerrule = match:namespace notifications, ignore_alpha 0.69
layerrule = blur on, match:namespace logout_dialog # wlogout layerrule = match:namespace logout_dialog # wlogout, blur on
# ags # ags
layerrule = animation slide left, match:namespace sideleft.* layerrule = match:namespace sideleft.*, animation slide left
layerrule = animation slide right, match:namespace sideright.* layerrule = match:namespace sideright.*, animation slide right
layerrule = blur on, match:namespace session[0-9]* layerrule = match:namespace session[0-9]*, blur on
layerrule = blur on, match:namespace bar[0-9]* layerrule = match:namespace bar[0-9]*, blur on
layerrule = ignore_alpha 0.6, match:namespace bar[0-9]* layerrule = match:namespace bar[0-9]*, ignore_alpha 0.6
layerrule = blur on, match:namespace barcorner.* layerrule = match:namespace barcorner.*, blur on
layerrule = ignore_alpha 0.6, match:namespace barcorner.* layerrule = match:namespace barcorner.*, ignore_alpha 0.6
layerrule = blur on, match:namespace dock[0-9]* layerrule = match:namespace dock[0-9]*, blur on
layerrule = ignore_alpha 0.6, match:namespace dock[0-9]* layerrule = match:namespace dock[0-9]*, ignore_alpha 0.6
layerrule = blur on, match:namespace indicator.* layerrule = match:namespace indicator.*, blur on
layerrule = ignore_alpha 0.6, match:namespace indicator.* layerrule = match:namespace indicator.*, ignore_alpha 0.6
layerrule = blur on, match:namespace overview[0-9]* layerrule = match:namespace overview[0-9]*, blur on
layerrule = ignore_alpha 0.6, match:namespace overview[0-9]* layerrule = match:namespace overview[0-9]*, ignore_alpha 0.6
layerrule = blur on, match:namespace cheatsheet[0-9]* layerrule = match:namespace cheatsheet[0-9]*, blur on
layerrule = ignore_alpha 0.6, match:namespace cheatsheet[0-9]* layerrule = match:namespace cheatsheet[0-9]*, ignore_alpha 0.6
layerrule = blur on, match:namespace sideright[0-9]* layerrule = match:namespace sideright[0-9]*, blur on
layerrule = ignore_alpha 0.6, match:namespace sideright[0-9]* layerrule = match:namespace sideright[0-9]*, ignore_alpha 0.6
layerrule = blur on, match:namespace sideleft[0-9]* layerrule = match:namespace sideleft[0-9]*, blur on
layerrule = ignore_alpha 0.6, match:namespace sideleft[0-9]* layerrule = match:namespace sideleft[0-9]*, ignore_alpha 0.6
layerrule = blur on, match:namespace indicator.* layerrule = match:namespace indicator.*, blur on
layerrule = ignore_alpha 0.6, match:namespace indicator.* layerrule = match:namespace indicator.*, ignore_alpha 0.6
layerrule = blur on, match:namespace osk[0-9]* layerrule = match:namespace osk[0-9]*, blur on
layerrule = ignore_alpha 0.6, match:namespace osk[0-9]* layerrule = match:namespace osk[0-9]*, ignore_alpha 0.6
# Quickshell # Quickshell
layerrule = blur_popups on, match:namespace quickshell:.* layerrule = match:namespace quickshell:.*, blur_popups on
layerrule = blur on, match:namespace quickshell:.* layerrule = match:namespace quickshell:.*, blur on
layerrule = ignore_alpha 0.79, match:namespace quickshell:.* layerrule = match:namespace quickshell:.*, ignore_alpha 0.79
layerrule = animation slide, match:namespace quickshell:bar layerrule = match:namespace quickshell:bar, animation slide
layerrule = no_anim on, match:namespace quickshell:actionCenter layerrule = match:namespace quickshell:actionCenter, no_anim on
layerrule = animation slide bottom, match:namespace quickshell:cheatsheet layerrule = match:namespace quickshell:cheatsheet, animation slide bottom
layerrule = animation slide bottom, match:namespace quickshell:dock layerrule = match:namespace quickshell:dock, animation slide bottom
layerrule = animation popin 120%, match:namespace quickshell:screenCorners layerrule = match:namespace quickshell:screenCorners, animation popin 120%
layerrule = no_anim on, match:namespace quickshell:lockWindowPusher layerrule = match:namespace quickshell:lockWindowPusher, no_anim on
layerrule = animation fade, match:namespace quickshell:notificationPopup layerrule = match:namespace quickshell:notificationPopup, animation fade
layerrule = no_anim on, match:namespace quickshell:overlay layerrule = match:namespace quickshell:overlay, no_anim on
layerrule = ignore_alpha 1, match:namespace quickshell:overlay layerrule = match:namespace quickshell:overlay, ignore_alpha 1
layerrule = no_anim on, match:namespace quickshell:overview layerrule = match:namespace quickshell:overview, no_anim on
layerrule = animation slide bottom, match:namespace quickshell:osk layerrule = match:namespace quickshell:osk, animation slide bottom
layerrule = no_anim on, match:namespace quickshell:polkit layerrule = match:namespace quickshell:polkit, no_anim on
layerrule = xray 0, match:namespace quickshell:popup # No weird color for bar tooltips (this in theory should suffice) layerrule = match:namespace quickshell:popup, xray off # No weird color for bar tooltips (this in theory should suffice)
layerrule = ignore_alpha 1, match:namespace quickshell:popup # No weird color for bar tooltips (but somehow this is necessary) layerrule = match:namespace quickshell:popup, ignore_alpha 1 # No weird color for bar tooltips (but somehow this is necessary)
layerrule = ignore_alpha 1, match:namespace quickshell:mediaControls # Same as above layerrule = match:namespace quickshell:mediaControls, ignore_alpha 1 # Same as above
layerrule = animation slide, match:namespace quickshell:reloadPopup layerrule = match:namespace quickshell:reloadPopup, animation slide
layerrule = no_anim on, match:namespace quickshell:regionSelector layerrule = match:namespace quickshell:regionSelector, no_anim on
layerrule = no_anim on, match:namespace quickshell:screenshot layerrule = match:namespace quickshell:screenshot, no_anim on
layerrule = blur on, match:namespace quickshell:session layerrule = match:namespace quickshell:session, blur on
layerrule = no_anim on, match:namespace quickshell:session layerrule = match:namespace quickshell:session, no_anim on
layerrule = ignore_alpha 0, match:namespace quickshell:session layerrule = match:namespace quickshell:session, ignore_alpha 0
layerrule = animation slide right, match:namespace quickshell:sidebarRight layerrule = match:namespace quickshell:sidebarRight, animation slide right
layerrule = animation slide left, match:namespace quickshell:sidebarLeft layerrule = match:namespace quickshell:sidebarLeft, animation slide left
layerrule = animation slide, match:namespace quickshell:verticalBar layerrule = match:namespace quickshell:verticalBar, animation slide
layerrule = animation slide top, match:namespace quickshell:wallpaperSelector layerrule = match:namespace quickshell:wallpaperSelector, animation slide top
layerrule = no_anim on, match:namespace quickshell:wOnScreenDisplay layerrule = match:namespace quickshell:wNotificationCenter, no_anim on
layerrule = no_anim on, match:namespace quickshell:wStartMenu layerrule = match:namespace quickshell:wOnScreenDisplay, no_anim on
layerrule = ignore_alpha 0, quickshell:wTaskView layerrule = match:namespace quickshell:wStartMenu, no_anim on
layerrule = no_anim on, quickshell:wTaskView layerrule = match:namespace quickshell:wTaskView, ignore_alpha 0
layerrule = match:namespace quickshell:wTaskView, no_anim on
# Launchers need to be FAST # Launchers need to be FAST
layerrule = no_anim on, match:namespace gtk4-layer-shell layerrule = match:namespace gtk4-layer-shell, no_anim on