summaryrefslogtreecommitdiff
path: root/dot-config
diff options
context:
space:
mode:
Diffstat (limited to 'dot-config')
-rw-r--r--dot-config/hypr/binds.conf2
-rw-r--r--dot-config/hypr/hyprland.conf12
-rw-r--r--dot-config/hypr/rules.conf282
3 files changed, 148 insertions, 148 deletions
diff --git a/dot-config/hypr/binds.conf b/dot-config/hypr/binds.conf
index 5dafc11b..e866839d 100644
--- a/dot-config/hypr/binds.conf
+++ b/dot-config/hypr/binds.conf
@@ -85,7 +85,7 @@ bind = ,Print, execr, $HOME/scripts/hyprshot --now
# Brightness
binde = ,XF86MonBrightnessUp, execr, $HOME/scripts/sysutil.sh brightness --inc
binde = ,XF86MonBrightnessDown, execr, $HOME/scripts/sysutil.sh brightness --dec
-# binde = ,XF86MonBrightnessUp, execr, hyprctl hyprsunset gamma +5
+# binde = ,XF86MonBrightnessUp, execr, hyprctl hyprsunset gamma +5
# binde = ,XF86MonBrightnessDown, execr, hyprctl hyprsunset gamma -5
# Window management
diff --git a/dot-config/hypr/hyprland.conf b/dot-config/hypr/hyprland.conf
index a4132130..b28e84c0 100644
--- a/dot-config/hypr/hyprland.conf
+++ b/dot-config/hypr/hyprland.conf
@@ -19,7 +19,7 @@ monitor=,highres@highrr,auto,auto,bitdepth,10#,cm,hdr,sdrbrightness,1.5,sdrsatur
# Program defaults
$term = kitty
$termLaunch = $term -1
-$termfloat = [float; size 40% 40%; workspace unset] $term
+$termfloat = [float on; center on; size (monitor_w*0.4) (monitor_h*0.4); workspace unset] $term
$editor = nvim
# $browser = thorium-browser
$browser = zen-browser
@@ -50,7 +50,7 @@ $waylandarg = --enable-features=WaylandWindowDecorations,UseOzonePlatform,WebRTC
# Refer to https://wiki.hyprland.org/Configuring/Variables/
# https://wiki.hyprland.org/Configuring/Variables/#general
-general {
+general {
gaps_in = 3
gaps_out = 7
float_gaps = -1
@@ -67,7 +67,7 @@ general {
col.active_border = $color15 $color13 $color10 $color8 $color6 $color4 $color2 $color0 # 45deg
# Set to true enable resizing windows by clicking and dragging on borders and gaps
- resize_on_border = false
+ resize_on_border = false
# Please see https://wiki.hyprland.org/Configuring/Tearing before you turn this on
allow_tearing = true
@@ -157,7 +157,7 @@ animations {
bezier = md3_decel, 0.05, 0.7, 0.1, 1
# bezier = md3_accel, 0.3, 0, 0.8, 0.15
# bezier = overshot, 0.05, 0.9, 0.1, 1.1
- # bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
+ # bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
# bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
# bezier = menu_decel, 0.1, 1, 0, 1
# bezier = menu_accel, 0.38, 0.04, 1, 0.07
@@ -195,7 +195,7 @@ master {
}
# https://wiki.hyprland.org/Configuring/Variables/#misc
-misc {
+misc {
force_default_wallpaper = 1 # Set to 0 or 1 to disable the anime mascot wallpapers
focus_on_activate = true
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
@@ -383,7 +383,7 @@ plugin {
# # if a window would be squished smaller than this width, a vertical split will be created
# # -1 = never automatically split vertically
# # 0 = always automatically split vertically
- #
+ #
# # <number> = pixel height to split at
# # trigger_width = <int> # default: 0
diff --git a/dot-config/hypr/rules.conf b/dot-config/hypr/rules.conf
index 1d8b9b37..b3be2b2c 100644
--- a/dot-config/hypr/rules.conf
+++ b/dot-config/hypr/rules.conf
@@ -7,82 +7,81 @@
### TAG ###
# workspaces
-windowrule = workspace 1, tag:terminal
+windowrule = match:tag terminal, workspace 1
# workspace = 1, persistent:true
-windowrule = workspace 2, tag:web
+windowrule = match:tag web, workspace 2
# workspace = 2, persistent:true
-windowrule = workspace 3, tag:file
+windowrule = match:tag file, workspace 3
# workspace = 3, persistent:true
-windowrule = workspace 4, tag:code
+windowrule = match:tag code, workspace 4
# workspace = 4, persistent:true
-windowrule = workspace 5, tag:office
+windowrule = match:tag office, workspace 5
# workspace = 5, persistent:true
-windowrule = workspace 6, tag:communication
+windowrule = match:tag communication, workspace 6
# workspace = 6, persistent:true
-windowrule = workspace 7, tag:media
+windowrule = match:tag media, workspace 7
# workspace = 7, persistent:true
-windowrule = workspace 8, tag:games
+windowrule = match:tag games, workspace 8
# workspace = 8, persistent:true
-windowrule = workspace 9, tag:system
+windowrule = match:tag system, workspace 9
# workspace = 9, persistent:true
-windowrule = workspace 10, tag:misc
+windowrule = match:tag misc, workspace 10
# workspace = 10, persistent:true
# content hints(content-type-v1)
-windowrule = content game, tag:games
+windowrule = match:tag games, content game
# windowrule = content media, tag:media-contents
-
# GUI Utils
-windowrule = opacity 0.85 0.75, tag:gui-utils
-windowrule = pin, tag:gui-utils
-windowrule = size 53% 60%, tag:gui-utils
-windowrule = move 46.5% 4.8%, tag:gui-utils
-windowrule = animation slide right top, tag:gui-utils
+windowrule = match:tag gui-utils, opacity 0.85 0.75
+windowrule = match:tag gui-utils, pin on
+windowrule = match:tag gui-utils, size (monitor_w*0.53) (monitor_h*0.6)
+windowrule = match:tag gui-utils, move (monitor_w*0.465) (monitor_h*0.048)
+windowrule = match:tag gui-utils, animation slide right top
# media contents
-windowrule = float, tag:media-contents
-windowrule = pin, tag:media-contents
-windowrule = move 100%-w-$outer_gaps, tag:media-contents
-windowrule = noinitialfocus, tag:media-contents
-windowrule = noshadow, tag:media-contents
-windowrule = keepaspectratio, tag:media-contents
-windowrule = nodim, tag:media-contents
+windowrule = match:tag media-contents, float on
+windowrule = match:tag media-contents, pin on
+windowrule = match:tag media-contents, move (monitor_w-window_w-$outer_gaps) 0
+windowrule = match:tag media-contents, no_initial_focus on
+windowrule = match:tag media-contents, no_shadow on
+windowrule = match:tag media-contents, keep_aspect_ratio on
+windowrule = match:tag media-contents, no_dim on
# It grabs our focus when it change video
-windowrule = suppressevent activatefocus, tag:media-contents
+windowrule = match:tag media-contents, suppress_event activatefocus
# fake fullscreen
-windowrule = fullscreenstate 0 2, tag:fakefullscreen
+windowrule = match:tag fakefullscreen, fullscreen_state 0 2
# Games
-windowrule = fullscreen, tag:games
+windowrule = match:tag games, fullscreen on
# Tearing (for better gaming performance)
-windowrule = immediate, tag:games
+windowrule = match:tag games, immediate on
# fh5
-windowrule = suppressevent activatefocus, title:^(Forza Horizon 5)$
-windowrule = suppressevent activatefocus, class:steam_app_1551360
-windowrule = suppressevent activatefocus, tag:games
+windowrule = match:title ^(Forza Horizon 5)$, suppress_event activatefocus
+windowrule = match:class ^(steam_app_1551360)$, suppress_event activatefocus
+windowrule = match:tag games, suppress_event activatefocus
# time-sensitive app rules
-windowrule = stayfocused, tag:time-sensitive
-windowrule = pin, tag:time-sensitive
-windowrule = dimaround, tag:time-sensitive
-windowrule = center, tag:time-sensitive
-windowrule = float, tag:time-sensitive
+windowrule = match:tag time-sensitive, stay_focused on
+windowrule = match:tag time-sensitive, pin on
+windowrule = match:tag time-sensitive, dim_around on
+windowrule = match:tag time-sensitive, center on
+windowrule = match:tag time-sensitive, float on
# popup
# windowrule = stayfocused, tag:popup
-windowrule = dimaround, tag:popup
-windowrule = center, tag:popup
-windowrule = float, tag:popup
+windowrule = match:tag popup, dim_around on
+windowrule = match:tag popup, center on
+windowrule = match:tag popup, float on
# cli util apps
-windowrule = float, tag:cli-utils
-windowrule = pin, tag:cli-utils
-windowrule = dimaround, tag:cli-utils
+windowrule = match:tag cli-utils, float on
+windowrule = match:tag cli-utils, pin on
+windowrule = match:tag cli-utils, dim_around on
# hidden
-windowrule = movetoworkspacesilent, special:minimized, tag:hidden
+windowrule = match:tag hidden, workspace special:minimized silent
### END TAG ###
@@ -90,44 +89,45 @@ windowrule = movetoworkspacesilent, special:minimized, tag:hidden
# windowrule = group, ^virt-manager$
# Terminal applications
-windowrule = tag +terminal, class:^(Alacritty|Xfce4-terminal|Kitty|$term|com.mitchellh.ghostty)$
+windowrule = match:class ^(Alacritty|Xfce4-terminal|Kitty|$term|com.mitchellh.ghostty)$, tag +terminal
+windowrule = match:class ^kitty$, workspace 2
# Web browsers
-windowrule = tag +web, class:^($browser|Brave-browser|chromium|firefox|thorium|zen)$
+windowrule = match:class ^($browser|Brave-browser|chromium|firefox|thorium|zen)$, tag +web
# File managers
-windowrule = tag +file, class:^($fileManager|Pcmanfm|thunar|qBittorrent|Caja)$
+windowrule = match:class ^($fileManager|Pcmanfm|thunar|qBittorrent|Caja)$, tag +file
# Code editors
-windowrule = tag +code, class:^(code|code-url-handler|cursor-url-handler|code-oss|Code - OSS|install4j-burp-StartBurp|burp-StartBurp|Unity|jetbrains-pycharm-ce|Postman|jetbrains-clion|.*\.zed\.Zed-.*)$
+windowrule = match:class ^(code|code-url-handler|cursor-url-handler|code-oss|Code - OSS|install4j-burp-StartBurp|burp-StartBurp|Unity|jetbrains-pycharm-ce|Postman|jetbrains-clion|.*\.zed\.Zed-.*)$, tag +code
# Office applications
-windowrule = tag +office, class:^(LibreOffice.*|libreoffice.*|Typora|obsidian|figma-linux|anytype|craft-nativefier-e0958b|evince|org.gnome.Evince|ClickUp)$
+windowrule = match:class ^(LibreOffice.*|libreoffice.*|Typora|obsidian|figma-linux|anytype|craft-nativefier-e0958b|evince|org.gnome.Evince|ClickUp)$, tag +office
# Communication apps
-windowrule = tag +communication, class:^(discord|vesktop|VencordDesktop|Chat-gpt|Whatsapp-for-linux|Chatbox)$
+windowrule = match:class ^(discord|vesktop|VencordDesktop|Chat-gpt|Whatsapp-for-linux|Chatbox)$, tag +communication
# Media applications
-windowrule = tag +media, class:^(Audacity|Music|MPlayer|Lxmusic|Inkscape|Gimp|Blender|obs|zoom|Zoom|Pitivi|kdenlive|openshot|vlc|cider|Cider|shotwell|Shotwell|fr.handbrake.ghb|Spotify)$
+windowrule = match:class ^(Audacity|Music|MPlayer|Lxmusic|Inkscape|Gimp|Blender|obs|zoom|Zoom|Pitivi|kdenlive|openshot|vlc|cider|Cider|shotwell|Shotwell|fr.handbrake.ghb|Spotify)$, tag +media
# Games
-windowrule = tag +games, class:^(Minecraft|Badlion|War|steam_proton|steam|csgo_linux64|cs2|minecraft-launcher|lutris|genshinimpact.exe|moe.launcher.an-anime-game-launcher|lunarclient|Lunar Client.*|zenlesszonezero.exe|moe.launcher.sleepy-launcher|org.vinegarhq.Sober|War Thunder.*|steam_app_.*)$
-windowrule = tag +games, title:.*\.exe
-windowrule = tag +games, title:^(War Thunder.*)$
-windowrule = tag +games, content:game
+windowrule = match:class ^(Minecraft|Badlion|War|steam_proton|steam|csgo_linux64|cs2|minecraft-launcher|lutris|genshinimpact.exe|moe.launcher.an-anime-game-launcher|lunarclient|Lunar Client.*|zenlesszonezero.exe|moe.launcher.sleepy-launcher|org.vinegarhq.Sober|War Thunder.*|steam_app_.*)$, tag +games
+windowrule = match:title .*\.exe, tag +games
+windowrule = match:title ^(War Thunder.*)$, tag +games
+windowrule = match:content 3, tag +games
# System/Settings applications
-windowrule = tag +system, class:^(virt-manager|blueman-adapters|blueman-manager|GParted|Xdm-app|timeshift-gtk|com.nextcloud.desktopclient.nextcloud|gearlever|Lxappearance|Lxtask|Lxrandr|Arandr|System-config-printer.py|Pavucontrol|Exo-helper-1|Protonvpn|Xfce4-power-manager-settings|Mysql-workbench-bin|Grub-customizer|Nitrogen|archlinux-tweak-tool.py|pamac-manager|helvum|Vmware|btrfs-assistant|Bitwarden|wootility-lekker|nwg-look|com.github.wwmm.easyeffects|kvantummanager)$
+windowrule = match:class ^(virt-manager|blueman-adapters|blueman-manager|GParted|Xdm-app|timeshift-gtk|com.nextcloud.desktopclient.nextcloud|gearlever|Lxappearance|Lxtask|Lxrandr|Arandr|System-config-printer.py|Pavucontrol|Exo-helper-1|Protonvpn|Xfce4-power-manager-settings|Mysql-workbench-bin|Grub-customizer|Nitrogen|archlinux-tweak-tool.py|pamac-manager|helvum|Vmware|btrfs-assistant|Bitwarden|wootility-lekker|nwg-look|com.github.wwmm.easyeffects|kvantummanager)$, tag +system
# Miscellaneous applications
-windowrule = tag +misc, class:^(os_server|Os_server)$
+windowrule = match:class ^(os_server|Os_server)$, tag +misc
# floating applications
-windowrule = float, class:^(zoom|sxiv|Sxiv|[Vv]iewnior|feh|nm-connection-editor|install4j-burp-StartBurp|thorium-app.shortwave.com__-Default|thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|float|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default|BeeperTexts|electron|com.github.rafostar.Clapper|io.github.celluloid_player.Celluloid|qimgv)$
-windowrule = float, title:^(Steam Settings|Sign in – Google accounts)$
+windowrule = match:class ^(zoom|sxiv|Sxiv|[Vv]iewnior|feh|nm-connection-editor|install4j-burp-StartBurp|thorium-app.shortwave.com__-Default|thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default|BeeperTexts|electron|com.github.rafostar.Clapper|io.github.celluloid_player.Celluloid|qimgv)$, float on
+windowrule = match:title ^(Steam Settings|Sign in – Google accounts)$, float on
# pin apps
-windowrule = pin, title:^(zoom_linux_float_video_window)$
+windowrule = match:title ^(zoom_linux_float_video_window)$, pin on
# specificly sized
# windowrule = size 40% 40%, class:^(alacritty-float)$
@@ -135,53 +135,54 @@ windowrule = pin, title:^(zoom_linux_float_video_window)$
# Sticky applicationsp
# App that have menu on top for stayfocused, without this, menus will dissappear when you move ur mouse
-windowrule = stayfocused, title:(menu window)
+windowrule = match:title (menu window), stay_focused on
# GUI Utils applications
-windowrule = tag +gui-utils, class:^(thorium-app.shortwave.com__-Default|thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default|BeeperTexts)$
-windowrule = animation slide right top, tag:gui-utils
+windowrule = match:class ^(thorium-app.shortwave.com__-Default|thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default|BeeperTexts)$, tag +gui-utils
+windowrule = match:tag gui-utils, animation slide right top
# bitwarden chrome extension popup
-windowrule = pin, class:^(thorium-nngceckbapebfimnlniiiahkandclblb-Default)$
-windowrule = float, class:^(thorium-nngceckbapebfimnlniiiahkandclblb-Default)$
-windowrule = stayfocused, class:^(thorium-nngceckbapebfimnlniiiahkandclblb-Default)$
+windowrule = match:class ^(thorium-nngceckbapebfimnlniiiahkandclblb-Default)$, pin on
+windowrule = match:class ^(thorium-nngceckbapebfimnlniiiahkandclblb-Default)$, float on
+windowrule = match:class ^(thorium-nngceckbapebfimnlniiiahkandclblb-Default)$, stay_focused on
# firefox
-windowrule = float, title:^Extension
+windowrule = match:title ^Extension, float on
# for media contents
-windowrule = tag +media-contents, class:^(blobdrop|dragon|dragon-drop)$
+windowrule = match:class ^(blobdrop|dragon|dragon-drop)$, tag +media-contents
# PIP
-windowrule = tag +media-contents, title:^(Picture-in-Picture)$
-windowrule = size 25% 25%, title:^(Picture-in-Picture)$
+windowrule = match:title ^(Picture-in-Picture)$, tag +media-contents
+windowrule = match:title ^(Picture-in-Picture)$, size (monitor_w*0.25) (monitor_h*0.25)
+windowrule = match:title ^(Picture-in-Picture)$, move (monitor_w-window_w-$outer_gaps) 0
# removes title/border
-windowrule = tag +fakefullscreen, class:^(thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default)$
+windowrule = match:class ^(thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default)$, tag +fakefullscreen
# Full screen applications
# time-sensitive app rules
-windowrule = tag +time-sensitive, class:^(polkit-gnome-authentication-agent-1|hyprland-share-picker.*|gcr-prompter|io.missioncenter.MissionCenter|hyprpolkitagent|hyprland-dialog|.*pinentry.*)$
-windowrule = tag +popup, title:^(Open File|Open|Select a File|Choose wallpaper|Open Folder|Save As|Save File|Open Files|File Operation Progress|Library|File Upload|.*- Properties|Enter name of file to save to.*)$
-windowrule = tag +popup, class:^(xdg-desktop-portal.*|.*.portal..*)$
-windowrule = tag +popup, class:^thunar$, title:^Rename.*
-windowrule = tag +popup, class:^zenity$, title:^Protontricks$
-windowrule = tag +popup, class:^zen$, title:^Extension:.*
+windowrule = match:class ^(polkit-gnome-authentication-agent-1|hyprland-share-picker.*|gcr-prompter|io.missioncenter.MissionCenter|hyprpolkitagent|hyprland-dialog|.*pinentry.*)$, tag +time-sensitive
+windowrule = match:title ^(Open File|Open|Select a File|Choose wallpaper|Open Folder|Save As|Save File|Open Files|File Operation Progress|Library|File Upload|.*- Properties|Enter name of file to save to.*)$, tag +popup
+windowrule = match:class ^(xdg-desktop-portal.*|.*\.portal..*)$, tag +popup
+windowrule = match:class ^thunar$, match:title ^Rename.*, tag +popup
+windowrule = match:class ^zenity$, match:title ^Protontricks$, tag +popup
+windowrule = match:class ^zen$, match:title ^Extension:.*, tag +popup
-windowrule = dimaround, tag:time-sensitive
+windowrule = match:tag time-sensitive, dim_around on
# rofi
# windowrule = float, class:^(Rofi)
# windowrule = pin, class:^(Rofi)
# windowrule = dimaround, class:^(Rofi)
# util apps
-windowrule = tag +cli-utils, title:^(nmd|cliphist|pulsemixer|ranger|btop)$
-windowrule = dimaround, tag:cli-utils
-windowrule = stayfocused, title:^(btop)$
+windowrule = match:title ^(nmd|cliphist|pulsemixer|ranger|btop)$, tag +cli-utils
+windowrule = match:tag cli-utils, dim_around on
+windowrule = match:title ^(btop)$, stay_focused on
# windowrule = stayfocused, title:^(rofi - Command|rofi - Confirmation|rofi - ArchLinux (hyprland))
# No shadow for tiled window
-windowrule = noshadow,floating:0
+windowrule = match:float 0, no_shadow on
# no border for unfocused window
# windowrulev2 = noborder, focus:0
# windowrulev2 = noshadow, focus:0
@@ -192,90 +193,89 @@ windowrule = noshadow,floating:0
# windowrule = opacity 0.85 0.75, class:^code-oss$
# windowrule = opacity 0.85 0.75, class:^code$
# windowrule = opacity 0.85 0.75, class:^code-url-handler$
-windowrule = opacity 0.85 0.75, class:^cursor-url-handler$
-windowrule = opacity 0 0, title:^Myass$
-windowrule = opacity 1.00 0.90, class:^TelegramDesktop$
-windowrule = opacity 0.90 0.80, class:^Spotify$
-windowrule = opacity 0.90 0.80, class:^Cider$
-windowrule = opacity 0.90 0.80, class:^Brave-browser$
-windowrule = opacity 0.90 0.80, class:^thunar$
-windowrule = opacity 0.85 0.75, class:^discord$
-windowrule = opacity 0.90 0.80, class:^Caja$
-windowrule = opacity 0.80 0.70, class:^polkit-gnome-authentication-agent-1$
-windowrule = opacity 0.80 0.70, title:^Open$
-windowrule = opacity 0.8 0.5, title:^New Tab - Thorium$
+windowrule = match:class ^cursor-url-handler$, opacity 0.85 0.75
+windowrule = match:title ^Myass$, opacity 0 0
+windowrule = match:class ^TelegramDesktop$, opacity 1.00 0.90
+windowrule = match:class ^Spotify$, opacity 0.90 0.80
+windowrule = match:class ^Cider$, opacity 0.90 0.80
+windowrule = match:class ^Brave-browser$, opacity 0.90 0.80
+windowrule = match:class ^thunar$, opacity 0.90 0.80
+windowrule = match:class ^discord$, opacity 0.85 0.75
+windowrule = match:class ^Caja$, opacity 0.90 0.80
+windowrule = match:class ^polkit-gnome-authentication-agent-1$, opacity 0.80 0.70
+windowrule = match:title ^Open$, opacity 0.80 0.70
+windowrule = match:title ^New Tab - Thorium$, opacity 0.8 0.5
# windowrule = ignorezero, title:Annotation - Zoom
# Full screen no idle
-windowrule = idleinhibit fullscren, class:.*
+windowrule = match:class .*, idle_inhibit fullscreen
# no blurs
-windowrule = noblur, title:^(Annotation - Zoom)$
-
+windowrule = match:title ^(Annotation - Zoom)$, no_blur on
# Layer rules/blur
-layerrule = blurpopups
-
-layerrule = blur, rofi
-layerrule = ignorezero, rofi
-layerrule = dimaround, rofi
-layerrule = animation popin 45%, rofi
-
-layerrule = blur, quickshell::launcher.*
-layerrule = ignorezero, quickshell::launcher.*
-layerrule = dimaround, quickshell::launcher.*
-layerrule = animation popin 45%, quickshell::launcher.*
-
-layerrule = blur,notifications
-layerrule = ignorezero,notifications
-layerrule = blur,swaync-notification-window
-layerrule = ignorezero,swaync-notification-window
-layerrule = blur,swaync-control-center
-layerrule = animation slide right,swaync-notification-window
-layerrule = animation slide right,swaync-control-center
-layerrule = ignorezero,swaync-control-center
-
-layerrule = blur,logout_dialog
-
-layerrule = blur, waybar
-layerrule = ignorezero, waybar
-
-layerrule = blur, quickshell::bar
-layerrule = ignorezero, quickshell::bar
-layerrule = blur, quickshell::CC
-layerrule = ignorezero, quickshell::CC
-layerrule = dimaround, quickshell::CC
-
-layerrule = blur, syshud
-layerrule = ignorezero, syshud
+layerrule = match:namespace .*, blur_popups on
+
+layerrule = match:namespace ^rofi$, blur on
+layerrule = match:namespace ^rofi$, ignore_alpha 0
+layerrule = match:namespace ^rofi$, dim_around on
+layerrule = match:namespace ^rofi$, animation popin 45%
+
+layerrule = match:namespace ^quickshell::launcher.*$, blur on
+layerrule = match:namespace ^quickshell::launcher.*$, ignore_alpha 0
+layerrule = match:namespace ^quickshell::launcher.*$, dim_around on
+layerrule = match:namespace ^quickshell::launcher.*$, animation popin 45%
+
+layerrule = match:namespace ^notifications$, blur on
+layerrule = match:namespace ^notifications$, ignore_alpha 0
+layerrule = match:namespace ^swaync-notification-window$, blur on
+layerrule = match:namespace ^swaync-notification-window$, ignore_alpha 0
+layerrule = match:namespace ^swaync-control-center$, blur on
+layerrule = match:namespace ^swaync-notification-window$, animation slide right
+layerrule = match:namespace ^swaync-control-center$, animation slide right
+layerrule = match:namespace ^swaync-control-center$, ignore_alpha 0
+
+layerrule = match:namespace ^logout_dialog$, blur on
+
+layerrule = match:namespace ^waybar$, blur on
+layerrule = match:namespace ^waybar$, ignore_alpha 0
+
+layerrule = match:namespace ^quickshell::bar$, blur on
+layerrule = match:namespace ^quickshell::bar$, ignore_alpha 0
+layerrule = match:namespace ^quickshell::CC$, blur on
+layerrule = match:namespace ^quickshell::CC$, ignore_alpha 0
+layerrule = match:namespace ^quickshell::CC$, dim_around on
+
+layerrule = match:namespace ^syshud$, blur on
+layerrule = match:namespace ^syshud$, ignore_alpha 0
# layerrule = blur,$browser
-layerrule = animation none, selection
+layerrule = match:namespace ^selection$, animation none
-layerrule = animation gnome 0%, mpvpaper
+layerrule = match:namespace ^mpvpaper$, animation gnome 0%
# Misc
# xwaylandvideobridge
-windowrule = opacity 0.0 override, class:^(xwaylandvideobridge)$
-windowrule = noanim, class:^(xwaylandvideobridge)$
-windowrule = noinitialfocus, class:^(xwaylandvideobridge)$
-windowrule = maxsize 1 1, class:^(xwaylandvideobridge)$
-windowrule = noblur, class:^(xwaylandvideobridge)$
+windowrule = match:class ^(xwaylandvideobridge)$, opacity 0.0 override
+windowrule = match:class ^(xwaylandvideobridge)$, no_anim on
+windowrule = match:class ^(xwaylandvideobridge)$, no_initial_focus on
+windowrule = match:class ^(xwaylandvideobridge)$, max_size 1 1
+windowrule = match:class ^(xwaylandvideobridge)$, no_blur on
# Roblox join private server
-windowrule = float, title:^(Join Friends)$ class:^(org.vinegarhq.Sober)$
+windowrule = match:class ^(org.vinegarhq.Sober)$, match:title ^(Join Friends)$, float on
# No transparency for fullscreen windows
-windowrule = plugin:chromakey,fullscreen:0
+windowrule = match:fullscreen 0, plugin:chromakey
# suppressevent
# Ignore maximize requests from apps. You'll probably like this.
# windowrule = suppressevent maximize, class:.*
-windowrule = suppressevent activatefocus activate, class:Spotify
+windowrule = match:class ^Spotify$, suppress_event activatefocus activate
# Fix some dragging issues with XWayland
-windowrule = nofocus, class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
+windowrule = match:class ^$, match:title ^$, match:xwayland 1, match:float 1, match:fullscreen 0, match:pin 0, no_focus on
# workspace = w[tv1], gapsout:0, gapsin:0
# workspace = f[1], gapsout:0, gapsin:0