Skip to content

Commit

Permalink
Merge pull request slgobinath#669 from pol-rivero/master
Browse files Browse the repository at this point in the history
Add 'hyprland' to the list of recognized desktop sessions
  • Loading branch information
deltragon authored Dec 15, 2024
2 parents b0b6247 + 190b25b commit 9927bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion safeeyes/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def desktop_environment():
env = 'unknown'
if desktop_session is not None:
desktop_session = desktop_session.lower()
if desktop_session in ['gnome', 'unity', 'budgie-desktop', 'cinnamon', 'mate', 'xfce4', 'lxde', 'pantheon', 'fluxbox', 'blackbox', 'openbox', 'icewm', 'jwm', 'afterstep', 'trinity', 'kde']:
if desktop_session in ['gnome', 'unity', 'budgie-desktop', 'cinnamon', 'mate', 'xfce4', 'lxde', 'pantheon', 'fluxbox', 'blackbox', 'openbox', 'icewm', 'jwm', 'afterstep', 'trinity', 'kde', 'hyprland']:
env = desktop_session
elif desktop_session.startswith('xubuntu') or (current_desktop is not None and 'xfce' in current_desktop):
env = 'xfce'
Expand Down

0 comments on commit 9927bfe

Please sign in to comment.