From 181138bcb8104212c5ef2e4c37a507fe1178f2a9 Mon Sep 17 00:00:00 2001 From: Jarred Wilson Date: Sun, 29 Sep 2024 17:02:42 +0000 Subject: [PATCH] add logout without reboot --- vanilla_first_setup/views/done.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vanilla_first_setup/views/done.py b/vanilla_first_setup/views/done.py index bcc0b10..0360841 100644 --- a/vanilla_first_setup/views/done.py +++ b/vanilla_first_setup/views/done.py @@ -95,6 +95,8 @@ def __on_close_clicked(self, *args): [recipe.raw["tour_app"]], flags=GLib.SpawnFlags.SEARCH_PATH, ) + else: + subprocess.run(["gnome-session-quit"]) self.__window.close()