[powermenu] add quit for awesome window manager

quit awesome window manager using its client tool
This commit is contained in:
tobi-wan-kenobi 2022-03-26 21:02:12 +01:00
parent aba9eb3d1a
commit 80bde7dfe2
8 changed files with 16 additions and 0 deletions

View File

@ -84,6 +84,8 @@ case $chosen in
bspc quit
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
i3-msg exit
elif [[ "$DESKTOP_SESSION" == "awesome" ]]; then
awesome-client "awesome.quit()"
fi
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0

View File

@ -88,6 +88,8 @@ case $chosen in
bspc quit
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
i3-msg exit
elif [[ "$DESKTOP_SESSION" == "awesome" ]]; then
awesome-client "awesome.quit()"
fi
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0

View File

@ -88,6 +88,8 @@ case $chosen in
bspc quit
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
i3-msg exit
elif [[ "$DESKTOP_SESSION" == "awesome" ]]; then
awesome-client "awesome.quit()"
fi
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0

View File

@ -107,6 +107,8 @@ case $chosen in
bspc quit
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
i3-msg exit
elif [[ "$DESKTOP_SESSION" == "awesome" ]]; then
awesome-client "awesome.quit()"
fi
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0

View File

@ -84,6 +84,8 @@ case $chosen in
bspc quit
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
i3-msg exit
elif [[ "$DESKTOP_SESSION" == "awesome" ]]; then
awesome-client "awesome.quit()"
fi
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0

View File

@ -88,6 +88,8 @@ case $chosen in
bspc quit
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
i3-msg exit
elif [[ "$DESKTOP_SESSION" == "awesome" ]]; then
awesome-client "awesome.quit()"
fi
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0

View File

@ -88,6 +88,8 @@ case $chosen in
bspc quit
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
i3-msg exit
elif [[ "$DESKTOP_SESSION" == "awesome" ]]; then
awesome-client "awesome.quit()"
fi
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0

View File

@ -107,6 +107,8 @@ case $chosen in
bspc quit
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
i3-msg exit
elif [[ "$DESKTOP_SESSION" == "awesome" ]]; then
awesome-client "awesome.quit()"
fi
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0