Skip to content

help me update my window rules #1359

Description

@PaawanKatiyar

i just did them 2 weeks ago but the errors came again

Image

`windowrulev2 = tag +browser, class:^(firefox|chromium|brave)$

notif tags

windowrulev2 = tag +notif, class:^(swaync-control-center|swaync-notification-window|swaync-client)$

KooL settings tag

windowrulev2 = tag +KooL_Cheat, title:^(KooL Quick Cheat Sheet)$
windowrulev2 = tag +KooL_Settings, title:^(KooL Hyprland Settings)$
windowrulev2 = tag +KooL-Settings, class:^(nwg-displays|nwg-look)$

terminal tags

windowrulev2 = tag +terminal, class:^(Alacritty|kitty|kitty-dropterm)$

email tags

windowrulev2 = tag +email, class:^(thunderbird|org.gnome.Evolution|eu.betterbird.Betterbird)$

project tags

windowrulev2 = tag +projects, class:^(codium|codium-url-handler|VSCodium|VSCode|code|code-url-handler|jetbrains-.*)$

screenshare tags

windowrulev2 = tag +screenshare, class:^(com.obsproject.Studio)$

IM tags

windowrulev2 = tag +im, class:^(discord|webcord|vesktop|ferdium|whatsapp-for-linux|zapzap|com.rtosta.zapzap|org.telegram.desktop|io.github.tdesktop_x64.TDesktop|teams-for-linux|im.riot.Riot|Element)$

game tags & gamestore tags

windowrulev2 = tag +games, class:^(gamescope|steam_app_\d+)$
windowrulev2 = tag +gamestore, class:^(steam|com.heroicgameslauncher.hgl)$
windowrulev2 = tag +gamestore, title:^(Lutris)$

file-manager tags

windowrulev2 = tag +file-manager, class:^(Thunar|org.gnome.Nautilus|pcmanfm-qt|app.drey.Warp)$

wallpaper

windowrulev2 = tag +wallpaper, class:^(Waytrogen)$

multimedia

windowrulev2 = tag +multimedia, class:^(Audacious)$
windowrulev2 = tag +multimedia_video, class:^(mpv|vlc)$

settings

windowrulev2 = tag +settings, class:^(wihotspot(-gui)?|baobab|org.gnome.baobab|gnome-disks|file-roller|org.gnome.FileRoller|nm-applet|nm-connection-editor|blueman-manager|pavucontrol|org.pulseaudio.pavucontrol|com.saivert.pwvucontrol|qt5ct|qt6ct|yad|xdg-desktop-portal-gtk|org.kde.polkit-kde-authentication-agent-1|rofi)$
windowrulev2 = tag +settings, title:^(ROG Control|Kvantum Manager)$

viewer

windowrulev2 = tag +viewer, class:^(gnome-system-monitor|org.gnome.SystemMonitor|io.missioncenter.MissionCenter|evince|eog|org.gnome.Loupe)$

Some special override rules

windowrulev2 = noblur, tag:multimedia_video*
windowrulev2 = opacity 1.0, tag:multimedia_video*

POSITION

windowrule = center,floating:1 # warning, it cause even the menu to float and center.

windowrulev2 = center, tag:KooL_Cheat*
windowrulev2 = center, tag:KooL-Settings*
windowrulev2 = center, title:^(ROG Control|Keybindings)$
windowrulev2 = center, title:^(Authentication Required)$
windowrulev2 = move 72% 7%, title:^(Picture-in-Picture)$
#windowrule = move 72% 7%,title:^(Firefox)$

windowrule to avoid idle for fullscreen apps

#windowrule = idleinhibit fullscreen, class:^()$
#windowrule = idleinhibit fullscreen, title:^(
)$
windowrulev2 = idleinhibit fullscreen, fullscreen:1

windowrule move to workspace

#windowrule = workspace 1, tag:email*
#windowrule = workspace 2, tag:browser*
#windowrule = workspace 3, class:^([Tt]hunar)$
#windowrule = workspace 3, tag:projects*
#windowrule = workspace 5, tag:gamestore*
#windowrule = workspace 7, tag:im*
#windowrule = workspace 8, tag:games*

windowrule move to workspace (silent)

#windowrule = workspace 4 silent, tag:screenshare*
#windowrule = workspace 6 silent, class:^(virt-manager)$
#windowrule = workspace 6 silent, class:^(.virt-manager-wrapped)$
#windowrule = workspace 9 silent, tag:multimedia*

FLOAT

windowrulev2 = float, tag:(KooL_Cheat|wallpaper|settings|viewer|KooL-Settings)*
windowrulev2 = float, class:^(Zoom|onedriver|onedriver-launcher|mpv|com.github.rafostar.Clapper|qalculate-gtk|ferdium)$
windowrulev2 = float, title:^(Picture-in-Picture|Save As|Add Folder to Workspace|SDDM Background)$
#windowrule = float, title:^(Firefox)$

windowrule - ######### float popups and dialogue

windowrulev2 = float, title:^(Authentication Required)$
windowrulev2 = center, title:^(Authentication Required)$
windowrulev2 = float, class:(codium|codium-url-handler|VSCodium), title:negative:(.codium.|.VSCodium.)
windowrulev2 = float, class:^(com.heroicgameslauncher.hgl)$, title:negative:(Heroic Games Launcher)
windowrulev2 = float, class:^([Ss]team)$, title:negative:^([Ss]team)$
windowrulev2 = float, class:([Tt]hunar), title:negative:(.[Tt]hunar.)

windowrulev2 = float, title:^(Add Folder to Workspace)$
windowrulev2 = size 70% 60%, title:^(Add Folder to Workspace)$
windowrulev2 = center, title:^(Add Folder to Workspace)$

windowrulev2 = float, title:^(Save As)$
windowrulev2 = size 70% 60%, title:^(Save As)$
windowrulev2 = center, title:^(Save As)$

windowrulev2 = float, initialTitle:(Open Files)
windowrulev2 = size 70% 60%, initialTitle:(Open Files)

windowrulev2 = float, title:^(SDDM Background)$
windowrulev2 = center, title:^(SDDM Background)$
windowrulev2 = size 16% 12%, title:^(SDDM Background)$

END of float popups and dialogue

OPACITY

windowrulev2 = opacity 0.99 0.8, tag:browser*
windowrulev2 = opacity 0.9 0.8, tag:projects*
windowrulev2 = opacity 0.94 0.86, tag:im*
windowrulev2 = opacity 0.9 0.7, tag:terminal*
windowrulev2 = opacity 0.8 0.7, tag:settings*
windowrulev2 = opacity 0.82 0.75, tag:viewer*

SIZE

windowrulev2 = size 70% 60%, title:^(Save As|Add Folder to Workspace)$
windowrulev2 = size 16% 12%, title:^(SDDM Background)$

#windowrule = size 25% 25%, title:^(Picture-in-Picture)$
#windowrule = size 25% 25%, title:^(Firefox)$

PINNING

windowrulev2 = pin, title:^(Picture-in-Picture)$
#windowrule = pin,title:^(Firefox)$

windowrule - extras

windowrulev2 = keepaspectratio, title:^(Picture-in-Picture)$

BLUR & FULLSCREEN

windowrulev2 = noblur, tag:multimedia_video*
windowrulev2 = noblur, tag:games*
windowrulev2 = fullscreen, tag:games*

#This not gonna take the focus to the window that appears when hovering over some of the parts of the IntelliJ Products
windowrulev2 = noinitialfocus, class:^(jetbrains-.)$
windowrulev2 = noinitialfocus, title:^(wind.
)$

#windowrule = bordercolor rgb(EE4B55) rgb(880808), fullscreen:1
#windowrule = bordercolor rgb(282737) rgb(1E1D2D), floating:1
#windowrule = opacity 0.8 0.8, pinned:1

LAYER RULES

layerrule = blur on, ignore_alpha 1, match:namespace rofi

layerrule = blur on, ignore_alpha 1, match:namespace notifications

layerrule = blur on, ignore_alpha 0.5, match:namespace quickshell:overview

#layerrule = ignorealpha 0.5, tag:notif*

#layerrule = ignorezero, class:^([Rr]ofi)$
#layerrule = blur, class:^([Rr]ofi)$
#layerrule = unset,class:^([Rr]ofi)$
#layerrule = ignorezero,

#layerrule = ignorezero, overview
#layerrule = blur, overview
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions