aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserConfigs/WindowRules.conf
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2023-12-29 15:44:57 +0900
committerGitHub <noreply@github.com>2023-12-29 15:44:57 +0900
commit2c070b5bfb2de84abed8a4cd45e999999021db38 (patch)
treeab297f40d72eab1dad7506e005cec1654f942ff6 /config/hypr/UserConfigs/WindowRules.conf
parent76672ae5a6ac03c416bc705d51dec363f88b7a40 (diff)
parent69772de8b00a85a7da8e3d56c802fcfd01affe1c (diff)
Merge pull request #106 from JaKooLit/development
Development to Main for v2.2.2 Changes
Diffstat (limited to 'config/hypr/UserConfigs/WindowRules.conf')
-rw-r--r--config/hypr/UserConfigs/WindowRules.conf72
1 files changed, 72 insertions, 0 deletions
diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf
new file mode 100644
index 00000000..a3a77cfb
--- /dev/null
+++ b/config/hypr/UserConfigs/WindowRules.conf
@@ -0,0 +1,72 @@
+## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
+# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
+
+windowrule = float, org.kde.polkit-kde-authentication-agent-1
+windowrule = float, nm-connection-editor|blueman-manager
+windowrule = float, pavucontrol
+windowrule = float, nwg-look|qt5ct|mpv
+windowrule = float, onedriver|onedriver-launcher
+windowrule = float, eog
+windowrule = float, zoom
+windowrule = float, rofi
+windowrule = float, gnome-system-monitor
+windowrule = float, yad
+
+#windowrule = noblur,gamescope
+#windowrule = fullscreen,gamescope
+#windowrule = workspace 6 silent,^(gamescope)$
+
+windowrule = center,^(pavucontrol)
+
+# windowrule v2
+windowrulev2 = workspace 1, class:^(thunderbird)$
+windowrulev2 = workspace 2, class:^(firefox)$
+windowrulev2 = workspace 2, class:^(Firefox-esr)$
+windowrulev2 = workspace 2, class:^(Microsoft-edge-beta)$
+windowrulev2 = workspace 3, class:^([Tt]hunar)$
+windowrulev2 = workspace 4, class:^(com.obsproject.Studio)$
+windowrulev2 = workspace 5 silent, class:^([Ss]team)$,title:^([Ss]team)$
+windowrulev2 = workspace 5 silent, class:^(lutris)$
+windowrulev2 = workspace 6, class:^(virt-manager)$
+windowrulev2 = workspace 7 silent, class:^(discord)$
+windowrulev2 = workspace 7 silent, class:^(WebCord)$
+windowrulev2 = workspace 9 silent, class:^([Aa]udacious)$
+
+#opacity (transparent) #enable as desired
+windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$
+windowrulev2 = opacity 0.9 0.7, class:^(Brave-browser)$
+windowrulev2 = opacity 0.9 0.7, class:^(Brave-browser-dev)$
+windowrulev2 = opacity 0.9 0.7, class:^(firefox)$
+windowrulev2 = opacity 0.9 0.7, class:^(Firefox-esr)$
+windowrulev2 = opacity 0.9 0.8, class:^([Tt]hunar)$
+windowrulev2 = opacity 0.8 0.6, class:^(pcmanfm-qt)$
+windowrulev2 = opacity 0.9 0.7, class:^(gedit)$
+windowrulev2 = opacity 0.9 0.8, class:^(kitty)$
+windowrulev2 = opacity 0.9 0.7, class:^(mousepad)$
+windowrulev2 = opacity 0.9 0.7, class:^(codium-url-handler)$
+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)$
+
+
+#layerrule = unset,class:^([Rr]ofi)$
+#layerrule = blur,class:^([Rr]ofi)$
+#layerrule = ignorezero, <rofi>
+
+#windowrulev2 = bordercolor rgb(EE4B55) rgb(880808), fullscreen:1
+#windowrulev2 = bordercolor rgb(282737) rgb(1E1D2D), floating:1
+#windowrulev2 = opacity 0.8 0.8, pinned:1
+
+# Picture-in-a-Picture (PIP) rules: Oddly, some need re-duplication. This is because the window for
+# PIP changes after on first launch, and will not inherant the rules...
+windowrulev2=opacity 0.95 0.75,title:^(Picture-in-Picture)$ # for opacity: [focus num] [bg num]
+# Interestingly, the opacity rule above doesn't need the reduplication?
+windowrulev2=pin,title:^(Picture-in-Picture)$
+#windowrulev2=pin,title:^(Firefox)$
+windowrulev2=float, title:^(Picture-in-Picture)$
+#windowrulev2=float, title:^(Firefox)$
+windowrulev2=size 25% 25%,title:^(Picture-in-Picture)$
+#windowrulev2=size 25% 25%,title:^(Firefox)$
+windowrulev2=move 72% 7%,title:^(Picture-in-Picture)$
+#windowrulev2=move 72% 7%,title:^(Firefox)$ \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage