1
1
Fork 0

Togglable NetworkManager window for waybar using nmtui

Esse commit está contido em:
John Mertz 2021-07-27 01:05:13 -04:00
commit e3b98b7aac
1 arquivos alterados com 9 adições e 0 exclusões

9
waybar/waybar-nm.sh Executable file
Ver arquivo

@ -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