diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/dialogs/script.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/dialogs/script.h b/include/dialogs/script.h index ec9a4383..5695b640 100644 --- a/include/dialogs/script.h +++ b/include/dialogs/script.h @@ -43,5 +43,14 @@ * @returns NULL when it fails, a newly allocated ScriptOptions when successful. */ Mode *script_switcher_parse_setup ( const char *str ); + +/** + * @param token The modi str to check + * + * Check if token could be a valid script modi. + * + * @returns true when valid. + */ +gboolean script_switcher_is_valid ( const char *token ); /*@}*/ #endif // ROFI_DIALOG_SCRIPT_H |