diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-05-16 21:55:52 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-05-16 21:55:52 +0200 |
commit | 30fb8c514ed6eaf223ab6c79929a5745d7280b99 (patch) | |
tree | c530c4aa8786f46a7b7c8db16ba71fb5c06013b4 /source/rofi.c | |
parent | 494550d38d572801ba3924611b09c7ca2b20610a (diff) |
Change ARGB to RGBA, fix in theme converter
Diffstat (limited to 'source/rofi.c')
-rw-r--r-- | source/rofi.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/source/rofi.c b/source/rofi.c index 4ca2460e..e802f0ed 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -1148,17 +1148,16 @@ int main ( int argc, char *argv[] ) // Load in config from X resources. config_parse_xresource_options ( xcb ); config_parse_xresource_options_file ( config_path ); - - find_arg_str ( "-theme", &( config.theme ) ); - if ( config.theme ) { - TICK_N ( "Parse theme" ); - if ( rofi_theme_parse_file ( config.theme ) ) { - // TODO: instantiate fallback theme.? - rofi_theme_free ( rofi_theme ); - rofi_theme = NULL; - } - TICK_N ( "Parsed theme" ); + } + find_arg_str ( "-theme", &( config.theme ) ); + if ( config.theme ) { + TICK_N ( "Parse theme" ); + if ( rofi_theme_parse_file ( config.theme ) ) { + // TODO: instantiate fallback theme.? + rofi_theme_free ( rofi_theme ); + rofi_theme = NULL; } + TICK_N ( "Parsed theme" ); } // Parse command line for settings, independent of other -no-config. config_parse_cmd_options ( ); |