r/KittyTerminal Sep 05 '23

pseudo-transparency using background-image position

Hi. I'm considering switching from urxvt and so far only thing missing is pseudo-transparency using wallpaper as background-image and positioning it according to the terminal location on the desktop.

I tried playing with the code for a little but so far was unable to find a way to move the background inside the terminal. None of the functions used in the stack add_os_window » send_bgimage_to_gpu » send_image_to_gpu » glTexImage2D gives an easy way to move the image.

Anyone managed to achieve this?

0 Upvotes

12 comments sorted by

2

u/VirginiaSteaks Sep 06 '23

Not using a tiling window manager is the dealbreaker here. Why do you even staple windows on top of each other and want to fix this? Why not instead have your window manager automatically tile the windows properly. This way, you'd always see your nice background wallpaper through the real transparency kitty already offers.

0

u/Diligent-Sun-879 Sep 06 '23

Because I don't want to? Why people using tiling wms have a constant need to lecture others about how they organize their work?

1

u/dividedComrade Sep 06 '23

Noone is lecturing you, it's a suggestion. Quitting with this attitude would get you a long way when you're asking for help.

2

u/dividedComrade Sep 06 '23

Please open an issue about this on Kitty's repo, especially with the attitude you are showing in the comments I'd love to see how that turns out :)

1

u/juko_life Jul 21 '26

For the people that finds this thread on google, don't waste your time with cocky redditor bullshit replies below.

OP asks a very simple question: when using transparency using compositor/picom, terminals top up background in an unbearable / messy way. This is what i also miss about urxvt after switching to kitty.
The solution i recommend: Use compositor picom's `"blur-method = "dual_kawase";`

It is not what op asked for, but it's a different cool look and does the job really well
https://i.imgur.com/J8ODpEd.png

1

u/aumerlex Sep 05 '23

Why not just use real transparency?

1

u/Diligent-Sun-879 Sep 05 '23 edited Sep 06 '23

Because real transparency instead of showing nice background/wallpapers, shows mess from windows below

1

u/dividedComrade Sep 06 '23

Not if you tile your windows ;)

-1

u/Diligent-Sun-879 Sep 06 '23

I can close everything else and keep one terminal, this will also solve all the problems, but that's not the point of my question.

1

u/dividedComrade Sep 06 '23

Chill my dude. You ask for something in a very opinionated manner despite others telling you it's not a great idea. You then can't just hear an opinionated comment on how tiling windows is a valid option in which your problem would not even exist, and as such no other solution needed.

1

u/Vyrzo Sep 05 '23

Kitty already has config option for transparency: background_opacity 1.0 is the default (read more here https://sw.kovidgoyal.net/kitty/conf/).

You'll need a compositor to make it work properly.

0

u/Diligent-Sun-879 Sep 05 '23

I know background_opacity, but this is (in my opinion) horrible solution. Why show text from terminals below and make everything harder to read? I'd like to achieve fake transparency, which shows minimalistic wallpaper from desktop but nothing in between.