1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-04-21 17:52:51 -04:00

Resolve -config argument identical to a -theme argument.

fixes: #2040
This commit is contained in:
Qball Cow 2024-12-29 10:34:50 +01:00
parent b955b9aff9
commit 39f231b5ff

View file

@ -1066,7 +1066,7 @@ int main(int argc, char *argv[]) {
g_free(etc);
}
if (config_path && g_file_test(config_path, G_FILE_TEST_IS_REGULAR)) {
if (config_path) {
if (rofi_theme_parse_file(config_path)) {
rofi_theme_free(rofi_theme);
rofi_theme = NULL;