Skip to content

Instantly share code, notes, and snippets.

@brickgao
Created March 7, 2016 03:42
Show Gist options
  • Save brickgao/beb1c5d300c26aa2be31 to your computer and use it in GitHub Desktop.
Save brickgao/beb1c5d300c26aa2be31 to your computer and use it in GitHub Desktop.
Make the Gnome Terminal transparent
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