Wifi icon + neovim old mouse back.
This commit is contained in:
parent
aa30f36abd
commit
e8e39cccfa
@ -4,6 +4,6 @@ icon='\uf1eb '
|
||||
case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
|
||||
down) printf "<span background='#770000'>$icon 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 "$icon" || printf "<span background='#770000'>$icon no ip</span>"
|
||||
# && printf "$icon $(iwgetid -r)" \
|
||||
esac
|
||||
|
@ -24,6 +24,7 @@ set shiftround
|
||||
set cursorline
|
||||
set nowritebackup
|
||||
|
||||
set mouse=
|
||||
set tabstop=2
|
||||
set scrolloff=5
|
||||
set shortmess-=S
|
||||
|
Loading…
Reference in New Issue
Block a user