From 17689ac0e8845474c4b5a17e90f07f4b997deb79 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Thu, 1 Jan 2026 15:10:39 +0100 Subject: [PATCH] [Hyprland] Update config to newest version --- config/hypr/hyprland/general.conf | 1 - config/hypr/hyprland/windowrules.conf | 156 +++++++++++++------------- 2 files changed, 78 insertions(+), 79 deletions(-) diff --git a/config/hypr/hyprland/general.conf b/config/hypr/hyprland/general.conf index 6cb9e55..aa6c632 100644 --- a/config/hypr/hyprland/general.conf +++ b/config/hypr/hyprland/general.conf @@ -79,7 +79,6 @@ general { border_size = 2 layout = dwindle - no_border_on_floating = false } diff --git a/config/hypr/hyprland/windowrules.conf b/config/hypr/hyprland/windowrules.conf index de9978f..f0a2c75 100644 --- a/config/hypr/hyprland/windowrules.conf +++ b/config/hypr/hyprland/windowrules.conf @@ -5,117 +5,117 @@ $mainMod = SUPER # │ WINDOW RULES │ # ╰────────────────────────────────────────────────╯ # ──────────────────────────────────────────────────────────────────── -windowrule = move 1450 50, title:(.*)Power menu$ -windowrule = workspace 2, class:evince -windowrule = workspace 2, title:.*Okular.* -windowrule = workspace 2, class:org.pwmt.zathura -windowrule = fullscreen, title:wlogout -windowrule = workspace 2, class:librewolf -windowrule = workspace 2, title:LibreWolf -windowrule = workspace 2, title:BSManager -windowrule = workspace 1, title:ALVR(.*) -windowrule = workspace 2, title:(.*)Beat Saber(.*) -windowrule = fullscreen, title:(.*)Beat Saber(.*) -windowrule = workspace 2, title:(.*)Discord(.*) -windowrule = workspace 3, title:^(Steam)(.*)$ -windowrule = workspace 1, title:(.*)(VSCodium)$ -windowrule = center, title:^(.*)(VSCodium)$ -windowrule = workspace 3, class:minecraft-launcher -windowrule = tile, class:minecraft-launcher -windowrule = fullscreen, title:^(.*)(Minecraft)(.*)$ -windowrule = workspace 3, title:^(.*)(Minecraft)(.*)$ +windowrule = move 1450 50, match:title (.*)Power menu$ +windowrule = workspace 2, match:class evince +windowrule = workspace 2, match:title .*Okular.* +windowrule = workspace 2, match:class org.pwmt.zathura +windowrule = fullscreen on, match:title wlogout +windowrule = workspace 2, match:class librewolf +windowrule = workspace 2, match:title LibreWolf +windowrule = workspace 2, match:title BSManager +windowrule = workspace 1, match:title ALVR(.*) +windowrule = workspace 2, match:title (.*)Beat Saber(.*) +windowrule = fullscreen on, match:title (.*)Beat Saber(.*) +windowrule = workspace 2, match:title (.*)Discord(.*) +windowrule = workspace 3, match:title ^(Steam)(.*)$ +windowrule = workspace 1, match:title (.*)(VSCodium)$ +windowrule = center on, match:title ^(.*)(VSCodium)$ +windowrule = workspace 3, match:class minecraft-launcher +windowrule = tile on, match:class minecraft-launcher +windowrule = fullscreen on, match:title ^(.*)(Minecraft)(.*)$ +windowrule = workspace 3, match:title ^(.*)(Minecraft)(.*)$ -windowrule = workspace 1, title:^(.*)hidden-terminator*(.*)$ -windowrule = size 0 0, title:^(.*)hidden-terminator*(.*)$ -windowrule = move 0 0, title:^(.*)hidden-terminator*(.*)$ -windowrule = float, title:^(.*)hidden-terminator*(.*)$ +windowrule = workspace 1, match:title ^(.*)hidden-terminator*(.*)$ +windowrule = size 0 0, match:title ^(.*)hidden-terminator*(.*)$ +windowrule = move 0 0, match:title ^(.*)hidden-terminator*(.*)$ +windowrule = float on, match:title ^(.*)hidden-terminator*(.*)$ # ┌ ┐ # │ Set rule for yazi filepicker │ # └ ┘ -windowrule = float, title:^(.*)termfilechooser*(.*)$ -windowrule = size 1400 800, title:^(.*)termfilechooser*(.*)$ -windowrule = center, title:^(.*)termfilechooser*(.*)$ -windowrule = dimaround, title:^(.*)termfilechooser*(.*)$ +windowrule = float on, match:title ^(.*)termfilechooser*(.*)$ +windowrule = size 1400 800, match:title ^(.*)termfilechooser*(.*)$ +windowrule = center on, match:title ^(.*)termfilechooser*(.*)$ +windowrule = dim_around on, match:title ^(.*)termfilechooser*(.*)$ # ┌ ┐ # │ Set floating windows & position them centered │ # └ ┘ -windowrule = float, class:file_progress -windowrule = center, class:file_progress +windowrule = float on, match:class file_progress +windowrule = center on, match:class file_progress -windowrule = float, class:confirm -windowrule = center, class:confirm +windowrule = float on, match:class confirm +windowrule = center on, match:class confirm -windowrule = float, class:dialog -windowrule = center, class:dialog +windowrule = float on, match:class dialog +windowrule = center on, match:class dialog -windowrule = float, class:download -windowrule = center, class:download +windowrule = float on, match:class download +windowrule = center on, match:class download -windowrule = float, class:notification -windowrule = center, class:notification +windowrule = float on, match:class notification +windowrule = center on, match:class notification -windowrule = float, class:error -windowrule = center, class:error +windowrule = float on, match:class error +windowrule = center on, match:class error -windowrule = float, class:splash -windowrule = center, class:splash +windowrule = float on, match:class splash +windowrule = center on, match:class splash -windowrule = float, class:confirmreset -windowrule = center, class:confirmreset +windowrule = float on, match:class confirmreset +windowrule = center on, match:class confirmreset -windowrule = float, title:Open File -windowrule = center, title:Open File +windowrule = float on, match:title Open File +windowrule = center on, match:title Open File -windowrule = float, title:branchdialog -windowrule = center, title:branchdialog +windowrule = float on, match:title branchdialog +windowrule = center on, match:title branchdialog -windowrule = float, class:Lxappearance -windowrule = center, class:Lxappearance +windowrule = float on, match:class Lxappearance +windowrule = center on, match:class Lxappearance -windowrule = float, title:^(Media viewer)$ -windowrule = center, title:^(Media viewer)$ +windowrule = float on, match:title ^(Media viewer)$ +windowrule = center on, match:title ^(Media viewer)$ -windowrule = float, title:^(Volume Control)$ -windowrule = center, title:^(Volume Control)$ +windowrule = float on, match:title ^(Volume Control)$ +windowrule = center on, match:title ^(Volume Control)$ -windowrule = float, title:^(Picture-in-Picture)$ -windowrule = center, title:^(Picture-in-Picture)$ +windowrule = float on, match:title ^(Picture-in-Picture)$ +windowrule = center on, match:title ^(Picture-in-Picture)$ -windowrule = float, title:^(File Operation Progress)$ -windowrule = center, title:^(File Operation Progress)$ +windowrule = float on, match:title ^(File Operation Progress)$ +windowrule = center on, match:title ^(File Operation Progress)$ -windowrule = float, title:^(Loading)(.*)$ -windowrule = center, title:^(Loading)(.*)$ +windowrule = float on, match:title ^(Loading)(.*)$ +windowrule = center on, match:title ^(Loading)(.*)$ -windowrule = float, class:pavucontrol-qt -windowrule = center, class:pavucontrol-qt +windowrule = float on, match:class pavucontrol-qt +windowrule = center on, match:class pavucontrol-qt -windowrule = float, class:pavucontrol -windowrule = center, class:pavucontrol +windowrule = float on, match:class pavucontrol +windowrule = center on, match:class pavucontrol -windowrule = float, class:file-roller -windowrule = center, class:file-roller +windowrule = float on, match:class file-roller +windowrule = center on, match:class file-roller # idleinhibit -windowrule = idleinhibit focus, title:^(Rocket League)(.*)$ -windowrule = fullscreen, title:^(Steam Big Picture)$ -windowrule = idleinhibit always, class:steam -windowrule = idleinhibit always, class:lutris -windowrule = idleinhibit focus, class:vlc -windowrule = idleinhibit focus, class:supertuxkart -windowrule = idleinhibit fullscreen, title:^(.*)(Discord)(.*)$ -windowrule = idleinhibit fullscreen, title:^(.*)(~)(.*)$ +windowrule = idle_inhibit focus, match:title ^(Rocket League)(.*)$ +windowrule = fullscreen on, match:title ^(Steam Big Picture)$ +windowrule = idle_inhibit always, match:class steam +windowrule = idle_inhibit always, match:class lutris +windowrule = idle_inhibit focus, match:class vlc +windowrule = idle_inhibit focus, match:class supertuxkart +windowrule = idle_inhibit fullscreen, match:title ^(.*)(Discord)(.*)$ +windowrule = idle_inhibit fullscreen, match:title ^(.*)(~)(.*)$ # Do not screenshare bitwarden windows -windowrule = noscreenshare, title:(.*)(Bitwarden)(.*) -windowrule = noscreenshare, class:nm-connection-editor -windowrule = noscreenshare, title:(.*)(secret)(.*) -windowrule = noscreenshare, class:(.*)[aA]uthentication(.*) +windowrule = no_screen_share on, match:title (.*)(Bitwarden)(.*) +windowrule = no_screen_share on, match:class nm-connection-editor +windowrule = no_screen_share on, match:title (.*)(secret)(.*) +windowrule = no_screen_share on, match:class (.*)[aA]uthentication(.*) # ┌ ┐ # │ Layer rules │ # └ ┘ -layerrule = dimaround, ^(rofi) +layerrule = dim_around on, match:namespace rofi