Created
April 2, 2015 00:02
-
-
Save orithena/de0ca61c5dda33450654 to your computer and use it in GitHub Desktop.
Adds some CSS Definitions to Tweetdeck's Chrome Browser App to make the dark theme even darker.
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/bash | |
# Adds some CSS Definitions to Tweetdeck's Chrome Browser App to make the dark theme even darker. | |
# The CSS definitions are simply downloaded from https://gist.github.com/orithena/8803947 and appended | |
# to the tweetdeck extension's app-dark-xxxxx.css | |
# You need to run it after every app update. | |
find ~/.config/chromium/Default/Extensions/ -iname "app-dark*.css" | while read f | |
do | |
if [ $(wc -l $f | awk '{ print $1; }') -lt 5 ] | |
then | |
echo "Writing CSS to $f" | |
wget -O - https://gist.github.com/orithena/8803947/download | tar xzf - --wildcards -O "*/tweetdeck-darker.css" >> $f | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment