Created
September 7, 2015 18:49
-
-
Save ayosec/f5bf66e032bb9908d0c9 to your computer and use it in GitHub Desktop.
X11: Set Opacity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window=0x00..... | |
opacity=30 # Something between 0 and 100 | |
xprop -id $window \ | |
-f _NET_WM_WINDOW_OPACITY 32c \ | |
-set _NET_WM_WINDOW_OPACITY $(($opacity*0xffffffff/100)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment