summaryrefslogtreecommitdiffstats
path: root/include/rofi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rofi.h')
-rw-r--r--include/rofi.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/rofi.h b/include/rofi.h
index b46f6ce1..f15e903b 100644
--- a/include/rofi.h
+++ b/include/rofi.h
@@ -339,4 +339,13 @@ struct _Mode
#define color_cyan_bold "\033[1;36m"
int show_error_message ( const char *msg, int markup );
+
+/**
+ * @param input The path to expand
+ *
+ * Expand path, both `~` and `~<user>`
+ *
+ * @returns path
+ */
+char *rofi_expand_path ( const char *input );
#endif