aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserConfigs/WindowRules.conf
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com>2024-05-27 01:27:19 +0900
committerJaKooLit <jimmielovejay@gmail.com>2024-05-27 01:27:19 +0900
commit939328fe35a1648b7f7bbc1f7d261520db6d0e62 (patch)
treec6c4f00efa929c0c0f7ea355c20558429820dece /config/hypr/UserConfigs/WindowRules.conf
parent9bf916556b3df4033012333946f14c6d28e13338 (diff)
re-organize windowrules.conf
Diffstat (limited to 'config/hypr/UserConfigs/WindowRules.conf')
-rw-r--r--config/hypr/UserConfigs/WindowRules.conf24
1 files changed, 16 insertions, 8 deletions
diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf
index 0ee664e6..734a7056 100644
--- a/config/hypr/UserConfigs/WindowRules.conf
+++ b/config/hypr/UserConfigs/WindowRules.conf
@@ -5,7 +5,20 @@
#windowrule = fullscreen,gamescope
#windowrule = workspace 6 silent,^(gamescope)$
+# windowrule center
windowrule = center,^(pavucontrol)
+windowrule = center,^([Ww]hatsapp-for-linux)$
+windowrule = center,^([Ff]erdium)$
+
+# WINDOWRULE v2
+# windowrule v2 - position
+windowrulev2 = center, class:([Tt]hunar), title:(File Operation Progress)
+windowrulev2 = center, class:([Tt]hunar), title:(Confirm to replace files)
+
+# windowrule v2 to avoid idle for fullscreen apps
+windowrulev2 = idleinhibit fullscreen, class:^(*)$
+windowrulev2 = idleinhibit fullscreen, title:^(*)$
+windowrulev2 = idleinhibit fullscreen, fullscreen:1
# windowrule v2 move to workspace
windowrulev2 = workspace 1, class:^([Tt]hunderbird)$
@@ -19,6 +32,7 @@ windowrulev2 = workspace 7, class:^([Dd]iscord)$
windowrulev2 = workspace 7, class:^([Ww]ebCord)$
windowrulev2 = workspace 7, class:^([Vv]esktop)$
windowrulev2 = workspace 7, class:^([Ff]erdium)$
+windowrulev2 = workspace 7, class:^([Ww]hatsapp-for-linux)$
# windowrule v2 move to workspace (silent)
windowrulev2 = workspace 6 silent, class:^(virt-manager)$
@@ -46,14 +60,8 @@ windowrulev2 = float, class:^([Bb]aobab|org.gnome.[Bb]aobab)$ # Disk usage analy
windowrulev2 = float, title:(Kvantum Manager)
windowrulev2 = float, class:^([Ss]team)$,title:^((?![Ss]team).*|[Ss]team [Ss]ettings)$
windowrulev2 = float, class:^([Qq]alculate-gtk)$
-windowrulev2 = float, class:^([Ww]hatsapp-for-linux)$
-windowrulev2 = float, class:^([Ff]erdium)$
-
-# windowrule v2 - position
-windowrulev2 = center, class:([Tt]hunar), title:(File Operation Progress)
-windowrulev2 = center, class:([Tt]hunar), title:(Confirm to replace files)
-windowrulev2 = center, class:^([Ww]hatsapp-for-linux)$
-windowrulev2 = center, class:^([Ff]erdium)$
+#windowrulev2 = float, class:^([Ww]hatsapp-for-linux)$
+#windowrulev2 = float, class:^([Ff]erdium)$
# windowrule v2 - opacity #enable as desired
windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage