feat(picom): add rule for polybar

This commit is contained in:
doryan 2025-01-20 02:18:48 +04:00
parent 8687a1496e
commit 68b4546aec

View File

@ -257,7 +257,14 @@ rules = ({
match = "window_type = 'dock' || window_type = 'desktop'"; match = "window_type = 'dock' || window_type = 'desktop'";
blur-background = false; blur-background = false;
corner-radius = 0; corner-radius = 0;
}, { },
{
match = "window_type = 'dock'";
animations = ({
triggers = ["open", "show", "close", "hide"],
})
},
{
match = "class_g *= 'i3lock' || _NET_WM_STATE@[1] = '_NET_WM_STATE_FULLSCREEN' || _NET_WM_STATE@[2] = '_NET_WM_STATE_FULLSCREEN' || _NET_WM_STATE@[3] = '_NET_WM_STATE_FULLSCREEN' || _NET_WM_STATE@[4] = '_NET_WM_STATE_FULLSCREEN'"; match = "class_g *= 'i3lock' || _NET_WM_STATE@[1] = '_NET_WM_STATE_FULLSCREEN' || _NET_WM_STATE@[2] = '_NET_WM_STATE_FULLSCREEN' || _NET_WM_STATE@[3] = '_NET_WM_STATE_FULLSCREEN' || _NET_WM_STATE@[4] = '_NET_WM_STATE_FULLSCREEN'";
shadow = false; shadow = false;
corner-radius = 0; corner-radius = 0;
@ -346,7 +353,6 @@ animations = ({
shadow-offset-x = "offset-x"; shadow-offset-x = "offset-x";
shadow-offset-y = "offset-y"; shadow-offset-y = "offset-y";
}, },
# Half Window Size Desktop Switch # Half Window Size Desktop Switch
{ {
triggers = ["workspace-out"]; triggers = ["workspace-out"];