adding netwidget script
This commit is contained in:
parent
c27a826eb0
commit
26b21e718c
7
scripts/netwidget
Executable file
7
scripts/netwidget
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
net=$(nmcli | head -1 | awk '{print $4}')
|
||||
if [[ $net == "Wired" ]]; then
|
||||
echo " $net"
|
||||
else
|
||||
echo " $net"
|
||||
fi
|
Loading…
Reference in a new issue