make the statusbar program actually work

This commit is contained in:
stupidcomputer 2024-06-12 12:14:20 -05:00
parent a0866a7bfd
commit 5620e61f31
1 changed files with 4 additions and 1 deletions

View File

@ -144,7 +144,10 @@ def render(modules) -> str:
stdout.flush() stdout.flush()
def main(): def main():
try:
os.mkdir("/home/usr/.cache/statusbar") os.mkdir("/home/usr/.cache/statusbar")
except FileExistsError:
pass
if argv[1] == "start_statusbars": if argv[1] == "start_statusbars":
# get the monitors # get the monitors