Browse Source

Togglable NetworkManager window for waybar using nmtui

master
John Mertz 1 year ago
parent
commit
e3b98b7aac
  1. 9
      waybar/waybar-nm.sh

9
waybar/waybar-nm.sh

@ -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…
Cancel
Save