|
|
|
|
@ -87,6 +87,7 @@ text = cmd[update:1000] echo "<b><big> $(date +"%H:%M:%S") </big></b>" # 24H
|
|
|
|
|
valign = center |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# user |
|
|
|
|
label { |
|
|
|
|
monitor = |
|
|
|
|
text = $USER |
|
|
|
|
@ -99,6 +100,7 @@ label {
|
|
|
|
|
valign = bottom |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# uptime |
|
|
|
|
label { |
|
|
|
|
monitor = |
|
|
|
|
text = cmd[update:60000] echo "<b> "$(uptime -p)" </b>" |
|
|
|
|
@ -110,6 +112,7 @@ label {
|
|
|
|
|
valign = bottom |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# weather (note: this cause delay) |
|
|
|
|
label { |
|
|
|
|
monitor = |
|
|
|
|
text = cmd[update:3600000] ping -c 1 wttr.in > /dev/null && curl -s 'wttr.in?format=2' # For specific location : wttr.in/busan?format=2 |
|
|
|
|
@ -121,6 +124,7 @@ label {
|
|
|
|
|
valign = bottom |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# picture |
|
|
|
|
image { |
|
|
|
|
monitor = |
|
|
|
|
path = $picture # set the picture path above |
|
|
|
|
|