Root commit.
This commit is contained in:
commit
7183fd6b99
21 changed files with 974 additions and 0 deletions
10
sb-wifi
Executable file
10
sb-wifi
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
. sb-theme
|
||||
|
||||
case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
|
||||
down) wifiicon="睊" ;;
|
||||
up) wifiicon="$(awk '/^\s*w/ { print "直", int($3 * 100 / 70) "%" }' /proc/net/wireless)" ;;
|
||||
esac
|
||||
|
||||
display "$wifiicon" "$1"
|
Loading…
Add table
Add a link
Reference in a new issue