record: add arg to copy screen recording to clipboard (#83)

This commit is contained in:
Chea Vuthearith
2026-02-10 16:53:27 +07:00
committed by GitHub
parent fe071cb285
commit 164bda5462
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -71,6 +71,7 @@ def parse_args() -> (argparse.ArgumentParser, argparse.Namespace):
record_parser.add_argument("-r", "--region", nargs="?", const="slurp", help="record a region")
record_parser.add_argument("-s", "--sound", action="store_true", help="record audio")
record_parser.add_argument("-p", "--pause", action="store_true", help="pause/resume the recording")
record_parser.add_argument("-c", "--clipboard", action="store_true", help="copy recording path to clipboard")
# Create parser for clipboard opts
clipboard_parser = command_parser.add_parser("clipboard", help="open clipboard history")