Created
February 8, 2017 14:11
-
-
Save rhoconlinux/27e4611706ce52f4218a3c11f67e554f to your computer and use it in GitHub Desktop.
spotify-dark
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
#!/bin/bash | |
/usr/bin/spotify --no-terminal --force-window -- "$4" & | |
sleep 0.5 | |
winID=$(wmctrl -l | awk '/./{line=$0} END{print $1;}') | |
xprop -f _GTK_THEME_VARIANT 8u -set _GTK_THEME_VARIANT "dark" -id `wmctrl -l | grep $winID | cut -d " " -f 1` | |
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment