diff options
author | Dave Davenport <qball@gmpclient.org> | 2021-06-08 22:02:29 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2021-06-08 22:02:29 +0200 |
commit | b478de3d7da950de9c19a15ad551488a379bf8e3 (patch) | |
tree | 6be18d09e5a5469be67fc096459c1c6c0a7ef4fe /source | |
parent | d18a887f03dc8ca6db5398d5a9886474fd4cd142 (diff) |
Remove deprecated option, fix typo in manpage.
Diffstat (limited to 'source')
-rw-r--r-- | source/theme.c | 5 | ||||
-rw-r--r-- | source/xrmoptions.c | 10 |
2 files changed, 1 insertions, 14 deletions
diff --git a/source/theme.c b/source/theme.c index 63499de2..0c2d1ed6 100644 --- a/source/theme.c +++ b/source/theme.c @@ -1108,11 +1108,6 @@ static char * rofi_theme_convert_color ( char *col ) } void rofi_theme_convert_old ( void ) { - { - char *str = g_strdup_printf ( "#window { border: %d; padding: %d;}", config.menu_bw, config.padding ); - rofi_theme_parse_string ( str ); - g_free ( str ); - } if ( config.color_window ) { char **retv = g_strsplit ( config.color_window, ",", -1 ); const char * const conf[] = { diff --git a/source/xrmoptions.c b/source/xrmoptions.c index caea05f2..775b71ab 100644 --- a/source/xrmoptions.c +++ b/source/xrmoptions.c @@ -95,16 +95,8 @@ static XrmOption xrmOptions[] = { { xrm_String, "font", { .str = &config.menu_font }, NULL, "Font to use", CONFIG_DEFAULT }, - { xrm_Number, "borderwidth", { .num = &config.menu_bw }, NULL, - "", CONFIG_DEFAULT }, - { xrm_Number, "bw", { .num = &config.menu_bw }, NULL, - "Border width", CONFIG_DEFAULT }, - { xrm_Number, "location", { .num = &config.location }, NULL, "Location on screen", CONFIG_DEFAULT }, - - { xrm_Number, "padding", { .num = &config.padding }, NULL, - "Padding", CONFIG_DEFAULT }, { xrm_SNumber, "yoffset", { .snum = &config.y_offset }, NULL, "Y-offset relative to location", CONFIG_DEFAULT }, { xrm_SNumber, "xoffset", { .snum = &config.x_offset }, NULL, @@ -233,7 +225,7 @@ static XrmOption xrmOptions[] = { "Normalize string when matching (disables match highlighting).", CONFIG_DEFAULT }, { xrm_Boolean, "steal-focus", { .snum = &config.steal_focus }, NULL, "Steal focus on launch and restore to window that had it on rofi start on close .", CONFIG_DEFAULT }, - { xrm_String, "application-fallback-icon", { .snum = &(config.application_fallback_icon) }, NULL, + { xrm_String, "application-fallback-icon", { .str = &(config.application_fallback_icon) }, NULL, "Fallback icon to use when the application icon is not found in run/drun.", CONFIG_DEFAULT }, }; |