diff options
| author | Chandler J <cjustice2000@gmail.com> | 2024-04-12 20:44:47 -0600 |
|---|---|---|
| committer | Chandler J <cjustice2000@gmail.com> | 2024-04-12 20:44:47 -0600 |
| commit | 95e73b141ca8f3618701ff59658ef519353cc7c0 (patch) | |
| tree | 27967d34376bc6ed624c12c758f580a712765118 /src/update_i3.py | |
| parent | b7dc1316ab0eb51f408b2b7782571d868ad3b864 (diff) | |
major changes:
- Can now save/load themes which entails the color scheme and
wallpaper
- Can now use themes to load colors independent of background image
- refactoring to make code less bad
Diffstat (limited to 'src/update_i3.py')
| -rw-r--r-- | src/update_i3.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/update_i3.py b/src/update_i3.py index 1d4b792..f0282c8 100644 --- a/src/update_i3.py +++ b/src/update_i3.py @@ -51,11 +51,12 @@ def update_i3_colors( dmenu: bool, img_path: str ) -> None: + data = '' + with open(config_path, 'r') as file: data = file.readlines() - for i, line in enumerate(data): # update colors if "set $bgcolor" in line: |
