Use cage for the display manager
This commit is contained in:
@@ -43,6 +43,10 @@ tooltip label {
|
||||
color: $base0D;
|
||||
}
|
||||
|
||||
.wifi.icon {
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
.wifi-text {
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user