diff options
| author | Chandler J <cjustice2000@gmail.com> | 2024-04-12 20:54:20 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-12 20:54:20 -0600 |
| commit | c5937854ff01ba29da48b7b0560ef27faad00d53 (patch) | |
| tree | e8fc9dc0bb690cc1976a47fe1166f4bafcafcb40 /src/update_i3.py | |
| parent | 2564189a769a5bd3de63086bb62dc3532d1b07b9 (diff) | |
| parent | 8a1903bb16d9e04795c33f3eb226486d06e8a642 (diff) | |
Merge pull request #2 from chandlerj/saves
major changes: save states & refactoring
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 3fc8858..b06b47e 100644 --- a/src/update_i3.py +++ b/src/update_i3.py @@ -53,11 +53,12 @@ def update_i3_colors( img_path: str, menu_keybind: 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: |
