mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Adding the ESSID informatiion
This commit is contained in:
parent
87c2950039
commit
d6c3106255
@ -12,6 +12,7 @@ case $BLOCK_BUTTON in
|
|||||||
❎: no ethernet
|
❎: no ethernet
|
||||||
🌐: ethernet working
|
🌐: ethernet working
|
||||||
🔒: vpn is active
|
🔒: vpn is active
|
||||||
|
直: ESSID $ESSID
|
||||||
" ;;
|
" ;;
|
||||||
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
|
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
|
||||||
esac
|
esac
|
||||||
@ -22,3 +23,4 @@ case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
printf "%s%s%s\n" "$wifiicon" "$(sed "s/down/❎/;s/up/🌐/" /sys/class/net/e*/operstate 2>/dev/null)" "$(sed "s/.*/🔒/" /sys/class/net/tun*/operstate 2>/dev/null)"
|
printf "%s%s%s\n" "$wifiicon" "$(sed "s/down/❎/;s/up/🌐/" /sys/class/net/e*/operstate 2>/dev/null)" "$(sed "s/.*/🔒/" /sys/class/net/tun*/operstate 2>/dev/null)"
|
||||||
|
ESSID=$(iwgetid -r)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user