diff options
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h index 69bf2c6..d39637c 100644 --- a/src/utils.h +++ b/src/utils.h @@ -20,6 +20,15 @@ #include <glib.h> #include <string.h> + +/* XDG_CURRENT_DESKTOP environment variable values + * as set by well-known desktop environments + */ +#define DESKTOP_UNITY "Unity" +#define DESKTOP_MATE "MATE" +#define DESKTOP_GNOME "GNOME" +#define DESKTOP_XFCE "XFCE" + gboolean is_unity(); gboolean is_gnome(); gboolean is_mate(); |