From b5fdaee62aa1184535727350ac3f870d825a3ec5 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Sun, 11 Oct 2020 02:03:50 -0400 Subject: [PATCH] fix position of logout window; alacritty made that easy for me! --- logout.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/logout.sh b/logout.sh index ab349c1..4717e94 100755 --- a/logout.sh +++ b/logout.sh @@ -40,8 +40,9 @@ if [ -z $1 ]; then echo "" elif [ "$1" = "-w" ]; then + if ! wmctrl -l | grep "Session Control"; then - exec alacritty -d 30 5 -t "Session Control" -e sudo ${HOME}/src/zenUtils/logout.sh -p & + exec alacritty -d 30 5 --position 9999 0 -t "Session Control" -e sudo ${HOME}/src/zenUtils/logout.sh -p & fi elif [ "$1" = "-p" ]; then