diff --git a/include/dialogs/dialogs.h b/include/dialogs/dialogs.h new file mode 100644 index 00000000..7600d16a --- /dev/null +++ b/include/dialogs/dialogs.h @@ -0,0 +1,14 @@ +#ifndef ROFI_DIALOGS_DIALOGS_H +#define ROFI_DIALOGS_DIALOGS_H + +/** + * List of available dialogs. + */ + +#include "dialogs/run.h" +#include "dialogs/ssh.h" +#include "dialogs/dmenu.h" +#include "dialogs/script.h" +#include "dialogs/window.h" +#include "dialogs/combi.h" +#endif // ROFI_DIALOGS_DIALOGS_H diff --git a/source/rofi.c b/source/rofi.c index c1b48b0d..4afcea93 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -49,14 +49,7 @@ #include "textbox.h" #include "x11-helper.h" #include "xrmoptions.h" -// Switchers. -#include "dialogs/run.h" -#include "dialogs/ssh.h" -#include "dialogs/dmenu.h" -#include "dialogs/script.h" -#include "dialogs/window.h" -#include "dialogs/combi.h" - +#include "dialogs/dialogs.h" // TEMP @@ -1604,7 +1597,7 @@ static void help () int code = execlp ( "man", "man", "-M", MANPAGE_PATH, "rofi", NULL ); if ( code == -1 ) { - fprintf ( stderr, "Failed to execute man: %s\n", strerror ( errno ) ); + fprintf ( stderr, "Failed to execute manpage viewer: %s\n", strerror ( errno ) ); } }