summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorPeter2020-09-29 23:59:57 +0100
committerPeter2020-09-29 23:59:57 +0100
commit8a8ee085cf34cf815b2e25bf75f5df497d18ad7b (patch)
treebd8894739e9420ea6fbadf6e9a788f3e10c787ea /.local/bin
parent1944abd74f81173defbfdacc4a1c2cf38c27a910 (diff)
downloaddotfiles-8a8ee085cf34cf815b2e25bf75f5df497d18ad7b.tar.gz
dotfiles-8a8ee085cf34cf815b2e25bf75f5df497d18ad7b.tar.bz2
dotfiles-8a8ee085cf34cf815b2e25bf75f5df497d18ad7b.zip
Couple more additions
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/comicviewer2
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/comicviewer b/.local/bin/comicviewer
index 9cefa85..b828b36 100755
--- a/.local/bin/comicviewer
+++ b/.local/bin/comicviewer
@@ -12,5 +12,7 @@ elif [[ $input =~ explosm.net ]]; then grab | awk -F\" '/main-comic/ {print $4}'
elif [[ $input =~ extrafabulouscomics.com ]]; then grab | tr "\"" "\n" | awk -F\? '/uploads/ && /?/ {print $1}' | viewer
elif [[ $input =~ loadingartist.com ]]; then grab | awk -F\" '/uploads/ {print $8}' | viewer
elif [[ $input =~ PoorlyDrawnLines ]]; then grab | awk -F"src" '/wp-block-image/ {print $2}' | cut -f2 -d\" | viewer
+elif [[ $input =~ satwcomic ]]; then grab | awk -F\" '/art/ && /core/ {print $4}' | viewer
+elif [[ $input =~ theoatmeal.com ]]; then grab | awk -F\" '/comics/ && /img src/ {print $2}' | viewer
elif [[ $input =~ toothpastefordinner.com ]]; then grab | awk -F\" '/max-width/ {print $4}' | viewer
else echo "Unsupported Website."; fi