Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rounded Corner Picom #18

Open
dzakysaragih opened this issue Apr 24, 2022 · 0 comments
Open

Rounded Corner Picom #18

dzakysaragih opened this issue Apr 24, 2022 · 0 comments

Comments

@dzakysaragih
Copy link

Discussed in https://github.com/mhdraihandzakyxd/muhammaddzaky/discussions/17

Originally posted by mhdraihandzakyxd April 24, 2022
Hi @mhdraihandzakyxd
279027890_150836044098375_3984579785520567457_n

I hope this works as expected.
So, from

dotfiles/.config/picom.conf

Lines 47 to 64 in bdf9c9d

CORNERS

---

Sets the radius of rounded window corners.

When > 0, the compositor will round the corners of windows.

corner-radius = 8;

Exclude conditions for rounded corners.

rounded-corners-exclude = [
"name *= 'rofi'",
"name *= 'screenkey'",
"name *= 'tint2'",
"class_g = 'Conky'",
"class_g = 'GLava'",
"window_type = 'dock'",
"window_type = 'desktop'",

"window_type = 'tooltip'",

 "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", 
 "_GTK_FRAME_EXTENTS@:c" 

];
Add a second EWMH property to exclude windows when maximized.

"_NET_WM_STATE@:32a *= '_NET_WM_STATE_MAXIMIZED_VERT'",

CORNERS

---

Sets the radius of rounded window corners.

When > 0, the compositor will round the corners of windows.

corner-radius = 8;

Exclude conditions for rounded corners.

rounded-corners-exclude = [
"name *= 'rofi'",
"name *= 'screenkey'",
"name *= 'tint2'",
"class_g = 'Conky'",
"class_g = 'GLava'",
"window_type = 'dock'",
"window_type = 'desktop'",

"window_type = 'tooltip'",

"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_MAXIMIZED_VERT'",
"_GTK_FRAME_EXTENTS@:c"

];
How can I find these properties?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant