From a1494600749cc7661027ac5a0adedd0acfbeead6 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Mon, 4 Dec 2017 18:17:42 +0100 Subject: [PATCH] RSS block --- bar/bar1.conf | 6 ++++++ bar/src/rss.php | 29 +++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100755 bar/src/rss.php diff --git a/bar/bar1.conf b/bar/bar1.conf index 54c6e90..a05a047 100644 --- a/bar/bar1.conf +++ b/bar/bar1.conf @@ -79,6 +79,12 @@ command=/home/simon/.i3/bar/src/date.php format=json interval=30 +[ttr_news] +command=/home/simon/.i3/bar/src/rss.php "https://tiny.deblan.org/public.php?op=rss&id=-3&key=17c659af1ad27f30941a724fcf48421d1e83081a" "RSS" +min_width=button=1 +align=left +interval=30 + [acpi] command=/home/simon/.i3/bar/src/acpi.php format=json diff --git a/bar/src/rss.php b/bar/src/rss.php new file mode 100755 index 0000000..ba9eeb6 --- /dev/null +++ b/bar/src/rss.php @@ -0,0 +1,29 @@ +#!/usr/bin/php +