diff --git a/scripts/spectacle-screenshot b/scripts/spectacle-screenshot.py similarity index 96% rename from scripts/spectacle-screenshot rename to scripts/spectacle-screenshot.py index 80e1ff2..85fd180 100755 --- a/scripts/spectacle-screenshot +++ b/scripts/spectacle-screenshot.py @@ -62,7 +62,7 @@ def spectacle_screenshot( try: opts = [ - "/etc/nixos/scripts/zipline", + "/etc/nixos/scripts/zipline.py", file_path, "--application-name", "Spectacle", @@ -89,9 +89,9 @@ def spectacle_screenshot( if __name__ == "__main__": parser = argparse.ArgumentParser( - prog="spectacle-screenshot", + prog="spectacle-screenshot.py", description="Take a screenshot or recording with Spectacle and automatically upload it to a Zipline instance.", - epilog="Example usage: spectacle-screenshot", + epilog="Example usage: spectacle-screenshot.py", ) parser.add_argument( "--url", diff --git a/scripts/zipline b/scripts/zipline.py similarity index 97% rename from scripts/zipline rename to scripts/zipline.py index 227bf89..cae12c7 100755 --- a/scripts/zipline +++ b/scripts/zipline.py @@ -105,9 +105,9 @@ def zipline( if __name__ == "__main__": parser = argparse.ArgumentParser( - prog="zipline", + prog="zipline.py", description="Upload a file to a Zipline instance.", - epilog="Example usage: zipline /path/to/file.txt", + epilog="Example usage: zipline.py /path/to/file.txt", ) parser.add_argument("file", help="The file to upload.") parser.add_argument(