Skip to content

Commit

Permalink
add Peppermint 7 support
Browse files Browse the repository at this point in the history
```
>>> import os
>>> os.environ.get("DESKTOP_SESSION")
'Peppermint'
>>> os.environ.get("XDG_CURRENT_DESKTOP")
'LXDE'
```
  • Loading branch information
s4w3d0ff authored May 16, 2017
1 parent 68efa21 commit 1dae2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion himawaripy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def get_desktop_environment():
current_desktop = os.environ.get("XDG_CURRENT_DESKTOP")
if current_desktop:
current_desktop = current_desktop.lower()
if current_desktop in ["gnome", "unity", "kde", "gnome-classic", "mate"]:
if current_desktop in ["gnome", "unity", "kde", "gnome-classic", "mate", "lxde"]:
return current_desktop

# Special Cases
Expand Down

0 comments on commit 1dae2f9

Please sign in to comment.