Skip to content

Commit

Permalink
#197: assume non-wayland session by default
Browse files Browse the repository at this point in the history
  • Loading branch information
gornostal committed Jan 19, 2018
1 parent dcebc21 commit 92baeb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ulauncher/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def get_data_path():


def is_wayland():
return os.environ['XDG_SESSION_TYPE'].lower() == 'wayland'
return os.environ.get('XDG_SESSION_TYPE', '').lower() == 'wayland'


def gdk_backend():
Expand Down

0 comments on commit 92baeb9

Please sign in to comment.