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

Added Corona widget to Polybar

This commit is contained in:
Ryan Kes 2020-03-20 09:58:37 +01:00
parent 776c31aaa5
commit fe51be7d45

View File

@ -74,7 +74,7 @@ monitor = ${env:MONITOR:DP-1}
modules-left = bspwm
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
@ -402,6 +402,10 @@ type = custom/text
content = "|"
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 ========================================================
[settings]