1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
fe51be7d45 Added Corona widget to Polybar 2020-03-20 09:58:37 +01:00
776c31aaa5 Fix polybar notification rss bug 2020-03-20 09:24:08 +01:00
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,3 @@
#!/usr/bin/env sh #!/usr/bin/env sh
notify-send.py --replaces-process newsboat -a Newsboat -i rssowl Rss "$1" & notify-send.py --replaces-process rsscount -a Newsboat -i rssowl Rss "$1" &

View File

@ -74,7 +74,7 @@ monitor = ${env:MONITOR:DP-1}
modules-left = bspwm modules-left = bspwm
modules-center = mpd player-mpris-tail modules-center = mpd player-mpris-tail
modules-right = eth bluetooth seperator volume seperator docker memory cpu temperature seperator system-usb-udev filesystem seperator updates-arch-combined mail reddit github rss seperator weather date modules-right = corona seperator eth bluetooth seperator volume seperator docker memory cpu temperature seperator system-usb-udev filesystem seperator updates-arch-combined mail reddit github rss seperator weather date
tray-position = right tray-position = right
@ -402,6 +402,10 @@ type = custom/text
content = "|" content = "|"
content-foreground = ${colors.primary} content-foreground = ${colors.primary}
[module/corona]
type = custom/script
exec = curl --silent "https://corona-stats.online/Netherlands?minimal=true" | sed -n '2p' | awk '{ print $6, $7"%", $9$10, $11$12 }'
;== Other Settings ======================================================== ;== Other Settings ========================================================
[settings] [settings]