Created
March 12, 2018 10:30
-
-
Save hackerb9/df4f3b149a0b192ab7b84868e342ed9b to your computer and use it in GitHub Desktop.
Devilspie recipe to make all xterms slightly transparent
This file contains hidden or 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
;;; -*- lisp -*- | |
;; Just for fun, playing around with making all my xterms lightly transparent. | |
;; NB: This makes titlebar and text transparent, too. | |
(if (is (window_class) "XTerm") | |
(spawn_async | |
(str "xprop -id " (window_xid) | |
" -f _NET_WM_WINDOW_OPACITY 32c" | |
" -set _NET_WM_WINDOW_OPACITY 0xf8000000"))) | |
;; Example: | |
;; xprop -name ben@delve -f _NET_WM_WINDOW_OPACITY 32c -set _NET_WM_WINDOW_OPACITY 0xefffffff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment