summaryrefslogtreecommitdiff
path: root/funia.sh
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-02-28 08:15:17 -0500
committerAdam T. Carpenter <atc@53hor.net>2021-02-28 08:15:17 -0500
commit186125d7512bd4dd095cd7b60bc648eb603c2290 (patch)
tree6392b7d9cfd4aedea093b98152d83b8d7a01afec /funia.sh
parentfef48aa78c305db6b5be81bff5facacba0a76f5f (diff)
downloadscripts-186125d7512bd4dd095cd7b60bc648eb603c2290.tar.xz
scripts-186125d7512bd4dd095cd7b60bc648eb603c2290.zip
moved all i3-related scripts into i3 or i3blocks config
Diffstat (limited to 'funia.sh')
-rwxr-xr-xfunia.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/funia.sh b/funia.sh
deleted file mode 100755
index c758f58..0000000
--- a/funia.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-base_url=https://basic.photofunia.com
-
-tmpfile=$(mktemp /tmp/funia.XXXXXX)
-
-category=$(
-curl -s "$base_url/categories" \
- | sed -n -e 's/[[:blank:]]//g' -e '/all_effects/d' -e 's|^.*href="/categories/\(.*\)".*$|\1|p' \
- | sort \
- | dmenu
-)
-
-page=1
-while curl -so "$tmpfile" "$base_url/categories/$category?page=$page"
-do
- echo ----- $page -----
- page="$(($page + 1))"
-done
-
-cat "$tmpfile"