summaryrefslogtreecommitdiffstats
path: root/include/helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/helper.h')
-rw-r--r--include/helper.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/helper.h b/include/helper.h
index 64551623..7f3e1776 100644
--- a/include/helper.h
+++ b/include/helper.h
@@ -151,4 +151,12 @@ char helper_parse_char ( const char *arg );
*/
void cmd_set_arguments ( int argc, char **argv );
+/**
+ * @param input The path to expand
+ *
+ * Expand path, both `~` and `~<user>`
+ *
+ * @returns path
+ */
+char *rofi_expand_path ( const char *input );
#endif // ROFI_HELPER_H