Skip to content

Instantly share code, notes, and snippets.

@nirbheek
nirbheek / set_gnome-terminal_transparency.sh
Last active Apr 26, 2021
A tiny script to set the transparency for X windows. If AUTOMAGIC_MODE is "true", it tries to find all gnome-terminal windows and applies the transparency to all of them.
View set_gnome-terminal_transparency.sh
#!/bin/bash
# vim: set sts=4 sw=4 et tw=0 :
#
# License: BSD
AUTOMAGIC_MODE="true"
OPACITY_100="0xffffffff"
OPACITY_0="0x0"
: ${XWININFO:=$(type -P xwininfo)}