Add 'news' bar module
This commit is contained in:
parent
e3342a85f8
commit
6c86b7ec1c
@ -16,6 +16,7 @@ $(./internet) $sym
|
||||
$(./lamp) $sym
|
||||
$(./music) $sym
|
||||
$(./alsa) $sym
|
||||
$(./news) $sym
|
||||
$(./mails) $sym
|
||||
$(./packages) $sym
|
||||
$(./date) $sym
|
||||
|
7
.local/bin/scripts/dwmbar/news
Executable file
7
.local/bin/scripts/dwmbar/news
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
icon="$(cat "/tmp/newsupdate" 2>/dev/null)"
|
||||
|
||||
unread="$(cat "$HOME/.cache/news_unread" 2>/dev/null)"
|
||||
|
||||
echo " $unread$icon"
|
Loading…
x
Reference in New Issue
Block a user