Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trayer --transparent true --alpha 255 is not transparent #38

Open
skewty opened this issue Sep 22, 2018 · 3 comments
Open

trayer --transparent true --alpha 255 is not transparent #38

skewty opened this issue Sep 22, 2018 · 3 comments

Comments

@skewty
Copy link

skewty commented Sep 22, 2018

trayer --transparent true --alpha 255 gives me a solid black background in Elementary Juno 5.0b.

Same issue reported here: https://bbs.archlinux.org/viewtopic.php?id=39723

@Julioevm
Copy link

Julioevm commented Apr 5, 2019

same problem here

@fleutot
Copy link

fleutot commented Oct 22, 2019

Same issue, even without compositor.

@afaikiac
Copy link

afaikiac commented Dec 13, 2021

trayer --transparent true --alpha 255 gives me a solid black background in Elementary Juno 5.0b.

Same issue reported here: https://bbs.archlinux.org/viewtopic.php?id=39723

It's not issue, it's feature :) Trayer uses an inverted transparency value when compared to xmobar, for example. This means that a value of 0 means absolute transparency. For my xmonad config I use the value (255 - <transparency of xmobar>). To simplify, I use the following command:

# /bin/bash
--transparent true --alpha $(expr 255 - $(cat ~/.config/xmobar/xmobarrc | grep alpha | cut -d = -f2 | cut -d ' ' -f2))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants