From c3e3cfb83710a6d97d63d8395364dd022f8f1e3c Mon Sep 17 00:00:00 2001 From: Viyurz <128215328+Viyurz@users.noreply.github.com> Date: Thu, 5 Oct 2023 10:16:53 +0200 Subject: [PATCH] Hyprland window rules: Remove stupid/useless rules --- .config/hypr/windowrules.conf | 48 ++--------------------------------- 1 file changed, 2 insertions(+), 46 deletions(-) diff --git a/.config/hypr/windowrules.conf b/.config/hypr/windowrules.conf index ff2d601..fee9acc 100644 --- a/.config/hypr/windowrules.conf +++ b/.config/hypr/windowrules.conf @@ -2,20 +2,8 @@ windowrule = opaque,^(firefox|libreoffice-writer)$ # Idle Inhibit -windowrule = idleinhibit focus, class:^(vlc)$ -windowrule = idleinhibit focus, class:^(zoom)$ +windowrule = idleinhibit focus, class:^(vlc|zoom)$ -# Foobar2000 -windowrule = float,^(foobar2000.exe)$ -windowrule = size 1024 576,^(foobar2000.exe)$ -windowrulev2 = size 740 516,class:^(foobar2000.exe)$,title:^(Preferences:) -windowrulev2 = size 575,115,class:^(foobar2000.exe)$,title:^(Processing...)$ -windowrulev2 = size 660 440,class:^(foobar2000.exe)$,title:^(Playlist Search) -windowrulev2 = center,class:^(foobar2000.exe)$,title:^(Playlist Search) - -# Firefox/NetworkManager -windowrule = float,title:^(Firefox - Choose User Profile)$ -windowrule = float,^(nm-connection-editor)$ # Winecfg windowrule = float,^(winecfg.exe)$ @@ -29,47 +17,15 @@ windowrule = size 0 0,title:^(Wine System Tray)$ windowrule = nofocus,title:^(Wine System Tray)$ windowrule = noinitialfocus,title:^(Wine System Tray)$ - # Hide xwaylandvideobridge window windowrulev2 = move -5 -5,class:^(xwaylandvideobridge)$ windowrulev2 = size 0 0,class:^(xwaylandvideobridge)$ windowrulev2 = nofocus,class:^(xwaylandvideobridge)$ windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$ - -# Gamescope -windowrule = nofullscreenrequest,title:^(gamescope) -windowrule = forceinput,^(gamescope) - - -# Riot Client -windowrule = size 1536 864,title:^(Riot Client Main)$ -windowrule = move 192 108,title:^(Riot Client Main)$ -windowrule = float,title:^(Riot Client Main) -windowrule = forceinput,title:^(Riot Client Main) - -# LoL Client -windowrule = size 1280 720,title:^(League of Legends) -windowrule = float,title:^(League of Legends) -windowrule = center,title:^(League of Legends) -windowrule = forceinput,title:^(League of Legends) - -# LoL -windowrule = float,title:^(League of Legends (TM) Client) -windowrule = size 1920 1080,^(League of Legends (TM) Client) -windowrule = fullscreen,^(League of Legends (TM) Client) -windowrule = forceinput,^(League of Legends (TM) Client) - - - -# Ubisoft Connect -windowrule = float,^(upc.exe)$ - - -# Genshin Impact +# Force float for Genshin Impact launcher windowrule = float,title:^(Genshin Impact)$ - # Warframe windowrulev2 = float,class:^(launcher.exe)$,title:^(Warframe)$ windowrule = fullscreen,^(warframe.x64.exe)$