Skip to content

Instantly share code, notes, and snippets.

@orithena
Created April 2, 2015 00:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orithena/de0ca61c5dda33450654 to your computer and use it in GitHub Desktop.
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.
#!/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