icewm icon indicating copy to clipboard operation
icewm copied to clipboard

Taskbar transparency

Open takiz opened this issue 6 years ago • 9 comments

Hi. How to make taskbar's background transparent?

takiz avatar Sep 22 '18 06:09 takiz

Change the taskbarbg.xpm to be transparent.

gijsbers avatar Sep 22 '18 14:09 gijsbers

theme_name/taskbar/taskbarbg.xpm transparent:

/* XPM */ 
static const unsigned char * pic_xpm[] = {
"1 5 1 1",
"  c None",
" ",
" ",
" ",
" ",
" "};

Doesn't work with any icewm-theme — only black color instead of the transparency.
At that time, transparency in the other windows (e.g. conky) works fine.

takiz avatar Sep 23 '18 09:09 takiz

I think you need to run a composite manager to turn the black into transparent.

bbidulock avatar Sep 24 '18 15:09 bbidulock

Looked into this and it turns out not so easy as the background is set and copying of pixmaps ignores transparency. This technique isn't applied by Ice. Even if it was then it still is tricky to setup. So no it can't.

gijsbers avatar Sep 24 '18 16:09 gijsbers

I am wondering what technique tint2 (taskbar replacement) uses to implement transparency. On my machine (no composite manager) I have a transparent taskbar under IceWm drawn by tint2.

frankzen avatar Jun 26 '19 14:06 frankzen

@takiz Is this issue still of interest to you? It is possible to do in the 1.6.1 release if you set Alpha=1 and use the following taskbar/taskbarbg.xpm:

/* XPM */
static char * taskbarbg_xpm[] = {
"1 26 1 1",
"       c None",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "};

gijsbers avatar Aug 22 '19 20:08 gijsbers

This feature is used beautifully by the Alette-Icewm theme.

gijsbers avatar Aug 24 '19 13:08 gijsbers

Theme JustIce_MD also has interesting effects.

gijsbers avatar Sep 14 '19 08:09 gijsbers

  • aluminium

gijsbers avatar Sep 14 '19 08:09 gijsbers