summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@blame.services>2021-06-08 22:33:23 +0200
committerDave Davenport <qball@blame.services>2021-06-08 22:33:23 +0200
commit1a9dac80a9a39d5f71f204710c1b07057d805ead (patch)
treef58587d31a01091de03e301e413ffa86e9ba3448 /include
parentb478de3d7da950de9c19a15ad551488a379bf8e3 (diff)
Remove some deprecated options.
* lines * columns * width
Diffstat (limited to 'include')
-rw-r--r--include/settings.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/settings.h b/include/settings.h
index acd4f829..2ca15a31 100644
--- a/include/settings.h
+++ b/include/settings.h
@@ -61,12 +61,6 @@ typedef struct
{
/** List of enabled modi */
char *modi;
- /** Width (0-100 in %, > 100 in pixels, < 0 in char width.) */
- int menu_width;
- /** # lines */
- unsigned int menu_lines;
- /** # Columns */
- unsigned int menu_columns;
/** Font string (pango format) */
char * menu_font;
@@ -206,6 +200,11 @@ typedef struct
/** fallback icon */
char *application_fallback_icon;
} Settings;
+
+#define DEFAULT_MENU_LINES 15
+#define DEFAULT_MENU_COLUMNS 1
+#define DEFAULT_MENU_WIDTH 50.0f
+
/** Global Settings structure. */
extern Settings config;
#endif // ROFI_SETTINGS_H