mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2025-10-07 07:22:36 +02:00
cron-able newsboat update script added for i3blocks
This commit is contained in:
parent
30f8c087c5
commit
13b6ab3dc2
@ -2,6 +2,11 @@ command=/usr/lib/i3blocks/$BLOCK_NAME
|
||||
separator_block_width=15
|
||||
markup=pango
|
||||
|
||||
[news]
|
||||
command=cat ~/.newsup
|
||||
interval=once
|
||||
signal=6
|
||||
|
||||
[record]
|
||||
command=cat ~/.recordingicon
|
||||
interval=once
|
||||
|
||||
9
.scripts/newsup
Executable file
9
.scripts/newsup
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "📰 🔃" > ~/.newsup
|
||||
pkill -RTMIN+6 i3blocks
|
||||
printf "Loading new RSS entries for newsboat...\\n"
|
||||
/usr/bin/newsboat -x reload &&
|
||||
printf "Done.\\n"
|
||||
echo "" > ~/.newsup
|
||||
pkill -RTMIN+6 i3blocks
|
||||
Loading…
x
Reference in New Issue
Block a user