X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=orb_utils.py;h=e6b06a6c744ce9d91eef76268862b08a62e89a32;hb=e46158e49121b8a955bb07b73f5bcf9928b79c90;hp=fe82e2ebfc97c0cf8ec8f965b5fc51746d6e0879;hpb=36fea7f15ed17150691b5b3ead75450e575229ef;p=python_utils.git diff --git a/orb_utils.py b/orb_utils.py index fe82e2e..e6b06a6 100644 --- a/orb_utils.py +++ b/orb_utils.py @@ -1,12 +1,13 @@ #!/usr/bin/env python3 +# © Copyright 2021-2022, Scott Gasch + """Utilities related to changing the orb's color.""" import os import config - parser = config.add_commandline_args( f"Orb Utils ({__file__})", "Args having to do with controlling Scott's Orb.", @@ -28,6 +29,7 @@ parser.add_argument( def make_orb(color: str) -> None: + """Make the orb on my desk a particular color.""" user_machine = config.config['orb_utils_user_machine'] orbfile_path = config.config['orb_utils_file_location'] os.system(f"ssh {user_machine} 'echo \"{color}\" > {orbfile_path}'")