Add UTC clock, updated symbols / font sizes

This commit is contained in:
Shaun Reed 2019-10-05 10:32:20 -04:00
parent 39faa6264c
commit 0ab8316aab
2 changed files with 9 additions and 4 deletions

View File

@ -72,9 +72,9 @@ if [ -n "$current" ] && [ -n "$forecast" ]; then
if [ "$current_temp" -gt "$forecast_temp" ]; then if [ "$current_temp" -gt "$forecast_temp" ]; then
trend="" # Arrow, down-right slant trend="" # Arrow, down-right slant
elif [ "$forecast_temp" -gt "$current_temp" ]; then elif [ "$forecast_temp" -gt "$current_temp" ]; then
trend="" # Arrow, up-right slant trend="" # Arrow, up-right slant
else else
trend="" # Arrow, left-to-right trend="" # Arrow, left-to-right
fi fi

View File

@ -13,7 +13,7 @@ module-margin = 4
font-0 = NotoSans-Regular:size=8;0 font-0 = NotoSans-Regular:size=8;0
; Symbols fonts ; Symbols fonts
font-1 = Font Awesome 5 Free Regular:size=8;0 font-1 = Font Awesome 5 Free Regular:size=8;0
font-2 = Font Awesome 5 Free Solid:size=8;0 font-2 = Font Awesome 5 Free Solid:size=10;0
font-3 = Font Awesome 5 Brands Regular:size=8;0 font-3 = Font Awesome 5 Brands Regular:size=8;0
font-4 = Unifont:size=8;0 font-4 = Unifont:size=8;0
font-5 = MaterialIcons-Regular:size=10;0 font-5 = MaterialIcons-Regular:size=10;0
@ -43,7 +43,7 @@ font-2 = Font Awesome 5 Free Solid:size=10;0
font-3 = Font Awesome 5 Brands Regular:size=10;0 font-3 = Font Awesome 5 Brands Regular:size=10;0
font-4 = unifont:size=6;0 font-4 = unifont:size=6;0
modules-left = temp-cpu cpu modules-left = temp-cpu cpu
modules-center = network filesystem modules-center = clock-utc network filesystem
modules-right = info-idle caffeine temp-gpu memory modules-right = info-idle caffeine temp-gpu memory
[module/weather] [module/weather]
@ -309,6 +309,11 @@ ramp-coreload-7 = █
ramp-coreload-7-font = 2 ramp-coreload-7-font = 2
ramp-coreload-7-foreground = #ff5555 ramp-coreload-7-foreground = #ff5555
[module/clock-utc]
type = custom/script
exec = TZ=UTC date +"UTC: %%{F#999}%Y-%m-%d%%{F-} %%{F#fff}%H:%M%%{F-}"
interval = 30
[module/clock] [module/clock]
type = internal/date type = internal/date
interval = 2 interval = 2