Less is more.
This commit is contained in:
parent
5fd7719e33
commit
0f49c1f23b
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
icon='\uf1eb '
|
icon='\uf1eb '
|
||||||
case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
|
case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
|
||||||
down) printf "<span background='#770000'>$icon no wifi</span> /" ;;
|
down) printf "<span background='#770000'>$icon no wifi</span>" ;;
|
||||||
up)
|
up)
|
||||||
[ -n "$(ip address show dev wlan0 | grep 'inet ')" ] || printf "<span background='#770000'>$icon no ip</span> /"
|
[ -n "$(ip address show dev wlan0 | grep 'inet ')" ] || printf "<span background='#770000'>$icon no ip</span>"
|
||||||
# && printf "$icon $(iwgetid -r)" \
|
# && printf "$icon $(iwgetid -r)" \
|
||||||
esac
|
esac
|
||||||
|
@ -139,7 +139,7 @@ screens = [
|
|||||||
func=lambda: subprocess.check_output("sb-battery").decode(),
|
func=lambda: subprocess.check_output("sb-battery").decode(),
|
||||||
),
|
),
|
||||||
widget.Clock(
|
widget.Clock(
|
||||||
format='/ [%d] %H:%M:%S'
|
format='[%d] %H:%M:%S'
|
||||||
),
|
),
|
||||||
widget.Systray(),
|
widget.Systray(),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user