Last active
August 29, 2015 14:26
-
-
Save luisivan/785dea676ddc6e36e6e3 to your computer and use it in GitHub Desktop.
Sets GTK3 Dark theme variant on the focused window. I use it for Spotify and Atom
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
#!/bin/sh | |
sleep 1 | |
id=`xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)" | awk '{print $5}'` | |
xprop -f _GTK_THEME_VARIANT 8u -set _GTK_THEME_VARIANT dark -id "$id" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment