add format option to spectacle-screenshot

This commit is contained in:
cswimr 2025-02-02 11:07:41 -06:00
parent 210d45a02e
commit 426206d4b3
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
3 changed files with 41 additions and 12 deletions

View file

@ -36,7 +36,7 @@
hotkeys.commands = {
"spectacle-screenshot" = {
name = "Spectacle Screenshot";
command = "/etc/nixos/scripts/py/spectacle-screenshot.py";
command = "/etc/nixos/scripts/py/spectacle-screenshot.py --format=webp";
comment = "Take a screenshot of a region on the screen and automatically upload it to Zipline";
keys = [
"Print"
@ -45,7 +45,7 @@
};
"spectacle-recording" = {
name = "Spectacle Recording";
command = "/etc/nixos/scripts/py/spectacle-screenshot.py --record";
command = "/etc/nixos/scripts/py/spectacle-screenshot.py --record --format=webm";
comment = "Record a region on the screen and automatically upload it to Zipline";
keys = [
"Shift+Print"