From 485d9c2113324d62f50f83cd4fcf46a3cba0fcea Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Sun, 31 Mar 2024 00:04:30 +0530 Subject: [PATCH] Window rules added to make some apps transparent and float linux-wifi-hotspot should float evince should float google-chrome should be transparent google-chrome web apps should as well, with extra opacity since Meet, Youtube, YT Music webapps, deal with videos VSCode, Discord and other GNOME apps should be transparent as well --- config/hypr/UserConfigs/WindowRules.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 0a8b9d1..6d13c8c 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -11,6 +11,8 @@ windowrule = float, zoom windowrule = float, rofi windowrule = float, gnome-system-monitor windowrule = float, yad +windowrule = float, ^(wihotspot-gui)$ # wifi hotspot +windowrule = float, ^(evince)$ # document viewer #windowrule = noblur,gamescope #windowrule = fullscreen,gamescope @@ -48,6 +50,14 @@ windowrulev2 = opacity 0.9 0.7, class:^(VSCodium)$ windowrulev2 = opacity 0.9 0.7, class:^(yad)$ windowrulev2 = opacity 0.9 0.7, class:^(com.obsproject.Studio)$ windowrulev2 = opacity 0.9 0.7, class:^([Aa]udacious)$ +windowrulev2 = opacity 0.9 0.8, class:^(google-chrome)$ +windowrulev2 = opacity 0.94 0.86, class:^(chrome-.+-Default)$ # Chrome PWAs +windowrulev2 = opacity 0.9 0.8, class:^(org.gnome.Nautilus)$ +windowrulev2 = opacity 0.9 0.8, class:^(code-url-handler)$ +windowrulev2 = opacity 0.9 0.8, class:^(VSCode)$ +windowrulev2 = opacity 0.94 0.86, class:^(discord)$ +windowrulev2 = opacity 0.94 0.86, class:^(gnome-disks)$ +windowrulev2 = opacity 0.9 0.8, class:^(org.gnome.baobab)$ #layerrule = unset,class:^([Rr]ofi)$