gh0stzk / dotfiles

BSPWM environment with 18 themes. With a theme selector to change on the fly.
GNU General Public License v3.0
3.02k stars 225 forks source link

Customize Question:How do i add a round corner? #309

Closed safe049 closed 2 months ago

safe049 commented 2 months ago

i'm using my customized Karla rice,that's my favorite,but i think if it could have a round corner to the windows it will be better

maybe just like something like this: 图片 I found this on reddit: Can I somehow get rounded corners? I have set it in picom but bspwm still tries to be square

And that image above there is from this comment:

Phopaa

I've been able to achieve rounded corners using the base picom and bspwm applications.

Here's a link to some images verifying it.

It's not perfect by any means; there is a tiny shadow on the edges where the 'point' still is, but it's faint. Make sure you're starting picom in your .xinitrc or .xprofile if you're using a DM.

picom --config $HOME/.config/picom/picom.conf --experimental-backends -b &

The process might be starting as a root command; I believe you can kill it with a sudo killall picom command

So,how do i add a round corner like that?

safe049 commented 2 months ago

BTW,where should i config the weather now? there is no script file

gh0stzk commented 2 months ago

Hello the weather script is in ~/.config/bspwm/src/ Weather file.

About rounded corners, in theme.sh inside karla directory modify the variable P_CORNER_R="0" on line 21, change 0 for whatever you want.

safe049 commented 2 months ago

@gh0stzk Solved! Looks pretty cool! 图片 Thanks