mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-03-31 09:17:04 +09:00
Add lshift + printscreen hotkey to take a screenshot of a window (or desktop portal on wayland)
This commit is contained in:
@@ -64,6 +64,8 @@ static void usage(void) {
|
||||
printf(" Take a screenshot.\n");
|
||||
printf(" take-screenshot-region\n");
|
||||
printf(" Take a screenshot of a region.\n");
|
||||
printf(" take-screenshot-window\n");
|
||||
printf(" Take a screenshot of a window (or desktop portal on Wayland).\n");
|
||||
printf("\n");
|
||||
printf("EXAMPLES:\n");
|
||||
printf(" gsr-ui-cli toggle-show\n");
|
||||
@@ -83,6 +85,7 @@ static bool is_valid_command(const char *command) {
|
||||
"replay-save-10-min",
|
||||
"take-screenshot",
|
||||
"take-screenshot-region",
|
||||
"take-screenshot-window",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user