summaryrefslogtreecommitdiff
path: root/src/instant_rice.py
diff options
context:
space:
mode:
authorChandler J <cjustice2000@gmail.com>2024-02-11 16:43:36 -0700
committerChandler J <cjustice2000@gmail.com>2024-02-11 16:43:36 -0700
commite5171305479b4fe3fea8cdeff5cb8a2ed4e84967 (patch)
tree283fbdf509d629fdb33ef1ca58ef5ae1f578fee8 /src/instant_rice.py
parent71332c0c34064aa11cb9a446ba876e79536cfc07 (diff)
progress on tui
Diffstat (limited to 'src/instant_rice.py')
-rw-r--r--src/instant_rice.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/instant_rice.py b/src/instant_rice.py
index 9dcc1ec..a55f2c8 100644
--- a/src/instant_rice.py
+++ b/src/instant_rice.py
@@ -6,8 +6,8 @@ import update_i3
import update_polybar
from get_args import get_args
from paths import Paths
-
-def main():
+
+if __name__ == '__main__':
img_path, update_dmenu, i3lock = get_args(sys.argv)
hex_colors, hex_compliments = user_interface.colorPickerUI(img_path)
@@ -18,8 +18,3 @@ def main():
if 'i3' in Paths:
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)
-
-
-
-if __name__ == '__main__':
- main()