Change terminal application to maintain floating windows
This commit is contained in:
parent
b8e84128e0
commit
32e58ff147
|
@ -3,5 +3,5 @@
|
||||||
if [ "$(pgrep -c htop)" -gt 0 ]; then
|
if [ "$(pgrep -c htop)" -gt 0 ]; then
|
||||||
pkill htop
|
pkill htop
|
||||||
else
|
else
|
||||||
/usr/bin/xterm -e htop
|
/usr/bin/uxterm -e htop
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -5,5 +5,5 @@ RUNNING=$(pgrep nmtui)
|
||||||
if [ "$RUNNING" ]; then
|
if [ "$RUNNING" ]; then
|
||||||
kill $RUNNING 2&>1 /dev/null
|
kill $RUNNING 2&>1 /dev/null
|
||||||
else
|
else
|
||||||
/usr/bin/xterm -e '/usr/bin/nmtui'
|
/usr/bin/uxterm -e '/usr/bin/nmtui'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue