mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
TaskBar+Utilities: Add logout(1) command, and call it in ShutdownDialog
logout kills the session that SystemServer --user was started with.
This commit is contained in:
parent
7283b0b214
commit
92b6e4fd76
2 changed files with 63 additions and 1 deletions
|
@ -26,7 +26,7 @@ struct Option {
|
|||
static const Vector<Option> options = {
|
||||
{ "Power off computer", { "/bin/shutdown", "--now", nullptr }, true, true },
|
||||
{ "Reboot", { "/bin/reboot", nullptr }, true, false },
|
||||
{ "Log out", {}, false, false },
|
||||
{ "Log out", { "/bin/logout", nullptr }, true, false },
|
||||
};
|
||||
|
||||
Vector<char const*> ShutdownDialog::show()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue