zenUtils/nmtuiWin.sh

13 lines
446 B
Bash
Executable file

#!/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 alacritty -d 80 30 -t "Network Configuration" --config-file ~/src/zenUtils/nmtui_alacritty.yml -e nmtui &
else
killall nmtui
fi