diff options
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -621,4 +621,8 @@ gchar *trg_win32_support_path(gchar *file) { g_free(moddir); return path; } -#endif
\ No newline at end of file +#endif + +gboolean is_unity() { + return g_strcmp0(g_getenv("XDG_CURRENT_DESKTOP"), "Unity") == 0; +} |