The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

How to make i3wm statusbar transparent?

asked 2015-08-29 00:02:55 +0000

denzen gravatar image

How to make i3wm statusbar background transparent? I haven't found a way when trying to write the colour number in various ways.

edit retag flag offensive close merge delete

Comments

I don't think this is possible. By the way, what behind the status bar do you hope to see? I think the background is the only possibility.

i3convert gravatar imagei3convert ( 2015-08-29 03:24:39 +0000 )edit

2 answers

Sort by » oldest newest most voted
1

answered 2015-08-29 08:24:12 +0000

Airblader gravatar image

updated 2015-10-11 15:53:52 +0000

i3bar itself doesn't support transparency. A compositor can be used to make it transparent, but this will affect the entire bar, including text etc. – making only the background transparent isn't possible this way.

However, using i3-gaps you can use RGBA colors for all colors in i3bar and use transparency that way. See the README on Github for details on how to enable it (and caveats).

edit flag offensive delete link more
0

answered 2015-10-02 21:21:32 +0000

Michael Rose gravatar image

You can make i3-bar not to mention tab bars transparent with compton if you like see

https://gist.github.com/michaelmrose/...

You can now even make windows on hidden tab pages transparent so they don't show through behind the current window

edit flag offensive delete link more

Comments

You can make the bar transparent, but you can't make the background of the bar transparent. I'm working on it though, the question is just whether it will be merged... :)

Airblader gravatar imageAirblader ( 2015-10-02 22:46:46 +0000 )edit

for id in `xwininfo -all -root | grep 'i3bar for output' | sed 's#\s\+# #g' | cut -d " " -f2`; do transset -i $id > /dev/null; done

Michael Rose gravatar imageMichael Rose ( 2015-10-17 09:25:40 +0000 )edit

That's not what I mean. You can only set the overall i3bar transparency. If you want the background to be completely transparent, text to be 50% transparent and workspace icons to be 25% transparent, you're hitting a wall. In the compositor you cannot reference individual elements.

Airblader gravatar imageAirblader ( 2015-10-17 10:50:54 +0000 )edit

FYI, i3-gaps now supports i3bar transparency using RGBA colors. In i3 this isn't possible due to a few very annoying reasons like cairo bugs.

Airblader gravatar imageAirblader ( 2015-10-17 10:51:32 +0000 )edit

Question Tools

1 follower

Stats

Asked: 2015-08-29 00:02:55 +0000

Seen: 696 times

Last updated: Oct 11