2020-08-05 04:57:45 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# nmtuiWin:
|
2020-10-16 16:08:54 +00:00
|
|
|
# wrapper around alacritty and nmtui to provide easy access to network config
|
|
|
|
# alaritty config file is provided to hardcode colors for the ncurses interface
|
2020-08-05 04:57:45 +00:00
|
|
|
# (c) 2020 Derek Stevens <drkste@zoho.com>
|
|
|
|
# MIT License -- do whatever you want
|
|
|
|
|
|
|
|
if [ $(pgrep nmtui) -gt 0 ]; then
|
2021-03-27 23:47:51 +00:00
|
|
|
exec alacritty -t "Network Configuration" \
|
2020-10-16 16:08:54 +00:00
|
|
|
--config-file ~/src/zenUtils/nmtui_alacritty.yml -e nmtui &
|
2020-09-30 03:58:30 +00:00
|
|
|
else
|
|
|
|
killall nmtui
|
2020-08-05 04:57:45 +00:00
|
|
|
fi
|