mirror of
https://github.com/adi1090x/rofi.git
synced 2025-12-10 04:22:48 +01:00
add AwesomeWM logout support
The powermenu script did not handle AwesomeWM sessions for the logout option. This commit adds proper support by calling `awesome-client "awesome.quit()"` when the `$DESKTOP_SESSION` is set to `awesome`.
This commit is contained in:
parent
92373551b2
commit
a24dbdfc11
@ -73,6 +73,8 @@ run_cmd() {
|
|||||||
i3-msg exit
|
i3-msg exit
|
||||||
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
|
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
|
||||||
qdbus org.kde.ksmserver /KSMServer logout 0 0 0
|
qdbus org.kde.ksmserver /KSMServer logout 0 0 0
|
||||||
|
elif [[ "$DESKTOP_SESSION" == 'awesome' ]]; then
|
||||||
|
awesome-client "awesome.quit()"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user