Created
March 7, 2016 03:42
-
-
Save brickgao/beb1c5d300c26aa2be31 to your computer and use it in GitHub Desktop.
Make the Gnome Terminal transparent
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
if [ -n "$WINDOWID" ]; then | |
TRANSPARENCY_HEX=$(printf 0x%x $((0xffffffff * 90 / 100))) | |
xprop -id "$WINDOWID" -f _NET_WM_WINDOW_OPACITY 32c -set _NET_WM_WINDOW_OPACITY "$TRANSPARENCY_HEX" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment