Use cage for the display manager

This commit is contained in:
marc committed 2024-03-02 23:03:20 +01:00
1 parent d1b63fe326
commit f2b20c7acd
7 files changed
+45 -11

No files matched your search

+3 -7
View File
@@ -58,14 +58,10 @@ run_cmd() {
elif [[ $1 == '--suspend' ]]; then
systemctl suspend
elif [[ $1 == '--logout' ]]; then
if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then
openbox --exit
elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then
bspc quit
elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then
if [[ "$DESKTOP_SESSION" == 'i3' ]]; then
i3-msg exit
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
qdbus org.kde.ksmserver /KSMServer logout 0 0 0
elif [[ ! -z $HYPRLAND_INSTANCE_SIGNATURE ]]; then
hyprctl dispatch exit
fi
fi
else