No icons in statusbar.
This commit is contained in:
parent
49b1440524
commit
876b9895fa
2 changed files with 3 additions and 4 deletions
|
@ -1,9 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
icon='\uf1eb '
|
||||
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'>no wifi</span>" ;;
|
||||
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'>no ip</span>"
|
||||
# && printf "$icon $(iwgetid -r)" \
|
||||
esac
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
case $(cat $XDG_CACHE_HOME/yubikey.status) in
|
||||
*_1) printf " <span foreground='#000000' background='#e8b923'> touch the yubikey</span>" ;;
|
||||
*_1) printf " <span foreground='#000000' background='#e8b923'>touch the yubikey</span>" ;;
|
||||
*) printf "" ;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue