Skip to content
This repository was archived by the owner on Oct 27, 2019. It is now read-only.

Commit ab34825

Browse files
authored
Merge pull request #27 from virrim/patch-1
i3 session support
2 parents 368369b + 94434a0 commit ab34825

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

usr/lib/prime-indicator/prime-indicator

+2
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,8 @@ class Indicator:
245245
os.system("lxqt-leave --logout ")
246246
elif env.startswith("gnome") or env.startswith("pantheon") or env.startswith("unity"):
247247
os.system("gnome-session-quit --logout --no-prompt")
248+
elif env.startswith("i3"):
249+
os.system("i3-msg exit")
248250
else:
249251
message = "It seems you're running an unsupported Desktop Environment. " + \
250252
"Please manually log out and then log in again to complete the switch."

0 commit comments

Comments
 (0)