formatted script body to 80 columns, updated documentation
This commit is contained in:
parent
b5fdaee62a
commit
7ddb5a18fa
1 changed files with 4 additions and 3 deletions
|
@ -1,13 +1,14 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# nmtuiWin:
|
# nmtuiWin:
|
||||||
# this is a wrapper around urxvt+nmtui to provide easy access to network configuration
|
# wrapper around alacritty and nmtui to provide easy access to network config
|
||||||
# colors are hardcoded into the urxvt instance to give it a grey+green colorscheme
|
# alaritty config file is provided to hardcode colors for the ncurses interface
|
||||||
# (c) 2020 Derek Stevens <drkste@zoho.com>
|
# (c) 2020 Derek Stevens <drkste@zoho.com>
|
||||||
# MIT License -- do whatever you want
|
# MIT License -- do whatever you want
|
||||||
|
|
||||||
if [ $(pgrep nmtui) -gt 0 ]; then
|
if [ $(pgrep nmtui) -gt 0 ]; then
|
||||||
exec alacritty -d 80 30 -t "Network Configuration" --config-file ~/src/zenUtils/nmtui_alacritty.yml -e nmtui &
|
exec alacritty -d 80 30 --position 9999 0 -t "Network Configuration" \
|
||||||
|
--config-file ~/src/zenUtils/nmtui_alacritty.yml -e nmtui &
|
||||||
else
|
else
|
||||||
killall nmtui
|
killall nmtui
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue