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:
parent
776c31aaa5
commit
fe51be7d45
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user