Skip to content

Commit

Permalink
Merge branch 'hotfix'
Browse files Browse the repository at this point in the history
  • Loading branch information
rbreaves committed Feb 25, 2020
2 parents 0196cc3 + c5f1764 commit 40b521c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def install_ibus():
sys.exit()

# check_x11 = cmdline("env | grep -i x11").strip()
check_x11 = cmdline("loginctl show-session \"$XDG_SESSION_ID\" -p Type | awk -F= '{print $2}'").strip()
check_x11 = cmdline("env | grep -i x11 || loginctl show-session \"$XDG_SESSION_ID\" -p Type | awk -F= '{print $2}'").strip()

if len(check_x11) == 0:
print("You are not using x11, please logout and back in using x11/Xorg")
Expand Down

0 comments on commit 40b521c

Please sign in to comment.