summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Castel <gilles@castel.dev>2020-11-18 10:44:49 +0100
committerGilles Castel <gilles@castel.dev>2020-11-18 10:44:49 +0100
commitcd404e38a7d3c65d6ccc28d87e379eefaea15cd7 (patch)
treedf93fecc0d88149b0c1f50f176f3fa012f7bfa3f
parentd3b26f2a5736f37b470880ca2931465b3afef03a (diff)
Fix #22
-rw-r--r--styles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/styles.py b/styles.py
index 4085b30..b5574c5 100644
--- a/styles.py
+++ b/styles.py
@@ -21,7 +21,7 @@ data_dirs = {
'object': create_if_not_exists(CONFIG_PATH / 'objects'),
}
-rofi_theme_params = ['-theme', config['rofi_theme']] if 'rofi_theme' in config else []
+rofi_theme_params = ['-theme', config['rofi_theme']] if ('rofi_theme' in config and config['rofi_theme'] is not None) else []
print(data_dirs)