diff options
| author | chqn <chandler@cock.li> | 2023-12-14 20:13:24 -0700 |
|---|---|---|
| committer | chqn <chandler@cock.li> | 2023-12-14 20:13:24 -0700 |
| commit | 2eaf90df29b101a55be46099417faadf86bd3eb6 (patch) | |
| tree | 8c1568c3c662f780dccbe9e7d4fccca9618e3c1c /src/instant_rice.py | |
| parent | c11972edf3e08112d94083f0d3ccb7abec77df19 (diff) | |
more sensible way of organizing things
Diffstat (limited to 'src/instant_rice.py')
| -rw-r--r-- | src/instant_rice.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/instant_rice.py b/src/instant_rice.py index 6d02be6..9dcc1ec 100644 --- a/src/instant_rice.py +++ b/src/instant_rice.py @@ -8,7 +8,7 @@ from get_args import get_args from paths import Paths def main(): - img_path = get_args(sys.argv) + img_path, update_dmenu, i3lock = get_args(sys.argv) hex_colors, hex_compliments = user_interface.colorPickerUI(img_path) if 'polybar' in Paths: @@ -16,7 +16,6 @@ def main(): if 'rofi' in Paths: update_rofi.updateRofiTheme(Paths['rofi'], hex_colors, hex_compliments) if 'i3' in Paths: - update_dmenu = True if ('-dmenu' in sys.argv) else False generate_i3lock = False if ('--nolock' in sys.argv) else True update_i3.updatei3Theme(Paths['i3'], img_path, hex_colors, hex_compliments, generate_i3lock, update_dmenu) |
