Adjust workspace colors and add sudo bash completion
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
8d9fc59395
commit
a5b5d6382f
4 changed files with 16 additions and 14 deletions
|
@ -1,10 +1,10 @@
|
|||
#!/bin/bash
|
||||
# wifi.sh
|
||||
if [ "$(cat /sys/class/net/$INTERFACE/operstate)" = "down" ]; then
|
||||
echo " Wifi not connected"
|
||||
fi
|
||||
|
||||
SSID=$(iwgetid -r)
|
||||
|
||||
echo " Connected to $SSID"
|
||||
|
||||
if [ "$SSID" != "Yggdrasil"]; then
|
||||
echo " Disconnected"
|
||||
else
|
||||
echo " $SSID"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue