summaryrefslogtreecommitdiff
path: root/src/update_polybar.py
diff options
context:
space:
mode:
authorchqn <chandler@cock.li>2024-01-03 13:12:48 -0600
committerchqn <chandler@cock.li>2024-01-03 13:12:48 -0600
commit007e7076c7404c86180ff3aa6ea3fe15024a87c3 (patch)
treeaa56c60b2d9911b7e7af30c7881021fee4b62d73 /src/update_polybar.py
parent350bb4aa798c9c8939b4b7c91dbee9e08f73edc4 (diff)
Refactored function signatures and added some TODOs
Diffstat (limited to 'src/update_polybar.py')
-rw-r--r--src/update_polybar.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/update_polybar.py b/src/update_polybar.py
index 2ea16af..2c1a3e0 100644
--- a/src/update_polybar.py
+++ b/src/update_polybar.py
@@ -1,6 +1,6 @@
-def updatePolybarTheme(config_path: str, colors: list, compliments: list):
+def updatePolybarTheme(config_path: str, colors: list, compliments: list) -> None:
print('[bold red]Updating polybar color scheme')
data = ''
with open(config_path, 'r') as file:
@@ -22,3 +22,5 @@ def updatePolybarTheme(config_path: str, colors: list, compliments: list):
with open(config_path, 'w') as file:
file.writelines(data)
+def initializePolybarConfig(config_path: str) -> None:
+ pass