Created
May 4, 2016 08:06
-
-
Save vincentbernat/97b0822d0a223f7b2b34aaebfa992a6f to your computer and use it in GitHub Desktop.
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/sh | |
export LC_NUMERIC=en_US.utf8 | |
factor=$(echo $(xrdb -query | sed -n 's/^Xft.dpi:\t\([0-9]*\)$/\1/p')/96 | bc -l) | |
exec /usr/bin/spotify --force-device-scale-factor=$factor --ignore-gpu-blacklist "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment