Togglable NetworkManager window for waybar using nmtui
This commit is contained in:
parent
4af7235289
commit
e3b98b7aac
|
@ -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