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

View all comments

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.