diff options
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c index 38ad1d8..152f226 100644 --- a/src/utils.c +++ b/src/utils.c @@ -1,5 +1,6 @@ /* * Copyright 2021 Marius Gripsgard <marius@ubports.com> + * Copyright 2021 Robert Tari <robert@tari.in> * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -82,6 +83,12 @@ is_pantheon () return is_xdg_current_desktop(DESKTOP_PANTHEON); } +gboolean +is_budgie () +{ + return is_xdg_current_desktop(DESKTOP_BUDGIE); +} + // Bit of a hacky way? should use xdg open char * find_browser () |