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

How to make transparent backgorund #19

Open
lukas3141 opened this issue Mar 24, 2024 · 0 comments
Open

How to make transparent backgorund #19

lukas3141 opened this issue Mar 24, 2024 · 0 comments

Comments

@lukas3141
Copy link

For people wondering how to have a transparent background. just add

`red=$(echo "$color0" | cut -c 2-3)
green=$(echo "$color0" | cut -c 4-5)
blue=$(echo "$color0" | cut -c 6-7)

red_decimal=$((16#$red))
green_decimal=$((16#$green))
blue_decimal=$((16#$blue))
alpha=0.9

background=$(echo "rgba(${red_decimal}, ${green_decimal}, ${blue_decimal}, ${alpha})")`

after . $HOME/.cache/wal/colors.sh in .local/bin/genzathurarc

changing alpha value changes the transparency.

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

1 participant