WIP: add backend for wifi level
Very early work in progress. Need help to design the output. LP_MARK_WIFI?
This commit is contained in:
parent
4111ffc493
commit
48f435b8d4
@ -1105,6 +1105,15 @@ _lp_bzr_branch_color()
|
||||
}
|
||||
|
||||
|
||||
####################
|
||||
# Wifi link status #
|
||||
####################
|
||||
_lp_wifi()
|
||||
{
|
||||
# Linux
|
||||
sed -n '3s/^ *[^ ]* *[^ ]* *\([0-9]*\).*/\1/p' /proc/net/wireless
|
||||
}
|
||||
|
||||
##################
|
||||
# Battery status #
|
||||
##################
|
||||
|
Loading…
Reference in New Issue
Block a user