X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/5a68a96d656e686f632dd805bafe462b1e19bc70..c96e00c83d1545c9180c100666a6c0ab6438bfb5:/dwb/userstyles/update diff --git a/dwb/userstyles/update b/dwb/userstyles/update deleted file mode 100755 index 79b1abc..0000000 --- a/dwb/userstyles/update +++ /dev/null @@ -1,14 +0,0 @@ -#! /bin/bash - -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - -declare -A sites - -sites[github.com.css]="https://github.com/StylishThemes/GitHub-Dark/raw/master/github-dark.css" -sites[wikipedia.org.css]="https://github.com/StylishThemes/Wikipedia-Dark/raw/master/wikipedia-dark.css" -sites[stackoverflow.org.css]="https://github.com/StylishThemes/StackOverflow-Dark/raw/master/stackoverflow-dark.css" - -for file in "${!sites[@]}"; do - wget "${sites[$file]}" -O "$DIR/$file" - sed '/@-moz-document/d;/^}/d' -i "$DIR/$file" -done