mirror of
https://github.com/adi1090x/rofi.git
synced 2025-12-10 04:22:48 +01:00
[powermenu] add quit for awesome window manager
quit awesome window manager using its client tool
This commit is contained in:
parent
aba9eb3d1a
commit
80bde7dfe2
@ -84,6 +84,8 @@ case $chosen in
|
|||||||
bspc quit
|
bspc quit
|
||||||
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
||||||
i3-msg exit
|
i3-msg exit
|
||||||
|
elif [[ "$DESKTOP_SESSION" == "awesome" ]]; then
|
||||||
|
awesome-client "awesome.quit()"
|
||||||
fi
|
fi
|
||||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
@ -88,6 +88,8 @@ case $chosen in
|
|||||||
bspc quit
|
bspc quit
|
||||||
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
||||||
i3-msg exit
|
i3-msg exit
|
||||||
|
elif [[ "$DESKTOP_SESSION" == "awesome" ]]; then
|
||||||
|
awesome-client "awesome.quit()"
|
||||||
fi
|
fi
|
||||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
@ -88,6 +88,8 @@ case $chosen in
|
|||||||
bspc quit
|
bspc quit
|
||||||
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
||||||
i3-msg exit
|
i3-msg exit
|
||||||
|
elif [[ "$DESKTOP_SESSION" == "awesome" ]]; then
|
||||||
|
awesome-client "awesome.quit()"
|
||||||
fi
|
fi
|
||||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
@ -107,6 +107,8 @@ case $chosen in
|
|||||||
bspc quit
|
bspc quit
|
||||||
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
||||||
i3-msg exit
|
i3-msg exit
|
||||||
|
elif [[ "$DESKTOP_SESSION" == "awesome" ]]; then
|
||||||
|
awesome-client "awesome.quit()"
|
||||||
fi
|
fi
|
||||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
@ -84,6 +84,8 @@ case $chosen in
|
|||||||
bspc quit
|
bspc quit
|
||||||
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
||||||
i3-msg exit
|
i3-msg exit
|
||||||
|
elif [[ "$DESKTOP_SESSION" == "awesome" ]]; then
|
||||||
|
awesome-client "awesome.quit()"
|
||||||
fi
|
fi
|
||||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
@ -88,6 +88,8 @@ case $chosen in
|
|||||||
bspc quit
|
bspc quit
|
||||||
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
||||||
i3-msg exit
|
i3-msg exit
|
||||||
|
elif [[ "$DESKTOP_SESSION" == "awesome" ]]; then
|
||||||
|
awesome-client "awesome.quit()"
|
||||||
fi
|
fi
|
||||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
@ -88,6 +88,8 @@ case $chosen in
|
|||||||
bspc quit
|
bspc quit
|
||||||
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
||||||
i3-msg exit
|
i3-msg exit
|
||||||
|
elif [[ "$DESKTOP_SESSION" == "awesome" ]]; then
|
||||||
|
awesome-client "awesome.quit()"
|
||||||
fi
|
fi
|
||||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
@ -107,6 +107,8 @@ case $chosen in
|
|||||||
bspc quit
|
bspc quit
|
||||||
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
||||||
i3-msg exit
|
i3-msg exit
|
||||||
|
elif [[ "$DESKTOP_SESSION" == "awesome" ]]; then
|
||||||
|
awesome-client "awesome.quit()"
|
||||||
fi
|
fi
|
||||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user