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:
Olivier Mengué 2013-12-06 00:38:51 +01:00
parent 4111ffc493
commit 48f435b8d4

View File

@ -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 #
##################