Togglable NetworkManager window for waybar using nmtui
This commit is contained in:
parent
c419c8d2ed
commit
4d2fbf6254
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
RUNNING=$(pgrep nmtui)
|
||||
|
||||
if [ "$RUNNING" ]; then
|
||||
kill $RUNNING 2&>1 /dev/null
|
||||
else
|
||||
/usr/bin/xterm -e '/usr/bin/nmtui'
|
||||
fi
|
Loading…
Reference in New Issue