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