From 190b25b13599bb75e030a038434afeb1c19b99cd Mon Sep 17 00:00:00 2001 From: Pol Rivero <65060696+pol-rivero@users.noreply.github.com> Date: Wed, 11 Dec 2024 09:13:52 +0100 Subject: [PATCH] Add 'hyprland' to the list of recognized desktop sessions --- safeeyes/utility.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/safeeyes/utility.py b/safeeyes/utility.py index bcb0fc26..305caa84 100644 --- a/safeeyes/utility.py +++ b/safeeyes/utility.py @@ -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'