zenUtils/nmtuiWin.sh

14 lines
473 B
Bash
Raw Normal View History

2020-08-05 04:57:45 +00:00
#!/bin/sh
# nmtuiWin:
# this is a wrapper around urxvt+nmtui to provide easy access to network configuration
# colors are hardcoded into the urxvt instance to give it a grey+green colorscheme
# (c) 2020 Derek Stevens <drkste@zoho.com>
# MIT License -- do whatever you want
if [ $(pgrep nmtui) -gt 0 ]; then
exec urxvtc -geometry 80x30 +sb --depth 24 --background black --color4 black --color7 grey20 --color1 seagreen --color0 grey50 -e nmtui &
else
killall nmtui
2020-08-05 04:57:45 +00:00
fi