summaryrefslogtreecommitdiffstats
path: root/.local/bin/conky
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2023-02-09 19:30:50 +0100
committerJoe <bousset.rudy@gmail.com>2023-02-09 19:30:50 +0100
commit9513bd2b0f03d5ad89f42b12e5a9415b8ed614bb (patch)
tree96a5398729d06ca9068b15b346cc8bc0ad80963e /.local/bin/conky
parentup (diff)
downloaddotfiles-bsd-9513bd2b0f03d5ad89f42b12e5a9415b8ed614bb.tar.gz
dotfiles-bsd-9513bd2b0f03d5ad89f42b12e5a9415b8ed614bb.tar.bz2
dotfiles-bsd-9513bd2b0f03d5ad89f42b12e5a9415b8ed614bb.tar.xz
dotfiles-bsd-9513bd2b0f03d5ad89f42b12e5a9415b8ed614bb.tar.zst
dotfiles-bsd-9513bd2b0f03d5ad89f42b12e5a9415b8ed614bb.zip
up
Diffstat (limited to '.local/bin/conky')
-rwxr-xr-x.local/bin/conky/rss.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/.local/bin/conky/rss.sh b/.local/bin/conky/rss.sh
deleted file mode 100755
index 3d2e7bd..0000000
--- a/.local/bin/conky/rss.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-os=$(cat /tmp/os)
-
-case $os in
- 1) ping -c1 -w1 1.1.1.1 >/dev/null 2>&1 || exit ;;
- 2) ping -c1 -w1 1.1.1.1 >/dev/null 2>&1 || exit ;;
- 3) ping -c1 -t1 1.1.1.1 >/dev/null 2>&1 || exit ;;
-esac
-
-echo '${color #ebdbb2}${font1}BBC NEWS WORLD ${hr}${font2}${color #928374}
-${rss https://feeds.bbci.co.uk/news/rss.xml 900 item_titles 10}
-
-${color #ebdbb2}${font1}BBC NEWS EUROPE ${hr}${font2}${color #928374}
-${rss http://feeds.bbci.co.uk/news/world/europe/rss.xml 900 item_titles 10}
-
-${color #ebdbb2}${font1}HACKER NEWS ${hr}${font2}${color #928374}
-${rss https://hnrss.org/frontpage 900 item_titles 10}
-
-${color #ebdbb2}${font1}LOBSTE.RS ${hr}${font2}${color #928374}
-${rss https://lobste.rs/rss 900 item_titles 10}'
-
-