#604·pywal

Kitty and transparency

Author: LanhildCreated May 20, 2021Updated Mar 26, 2024

The issue

My issue is that wal overrides the background_opacity setting in the kitty.conf. What I am wondering is how am I supposed to have that transparency setting work with wal?

What I have tried

I tried to make a template in $HOME/.config/wal/templates/colors-kitty.conf, without success.

foreground	   {foreground}
background	   {background}
background_opacity 0.6
cursor		   {cursor}

active_tab_foreground		{active_tab_foreground}
active_tab_background		{active_tab_background}
inactive_tab_foreground		{inactive_tab_foreground}
inactive_tab_background		{inactive_tab_background}

active_border_color		{active_border_color}
inactive_border_color		{inactive_border_color}
bell_border_color		{bell_border_color}
 
color0		{color0}
color8		{color8}
color1		{color1}
color9		{color9}
color2		{color2}
color10		{color10}
color3		{color3}
color11		{color11}
color4		{color4}
color12		{color12}
color5		{color5}
color13		{color13}
color6		{color6}
color14		{color14}
color7		{color7}
color15		{color15}

This didn't work, so I was wondering what I could do to make it finally work. Could I exclude the background_opacity setting from wal so it takes the one from kitty.conf?