From 3cf2ed3b59d6c72ff679ffeba24165db0762138f Mon Sep 17 00:00:00 2001 From: Matthias Kuklinski Date: Mon, 19 Aug 2024 19:10:14 +0200 Subject: [PATCH] slurp: add page (#13459) --------- Co-authored-by: spageektti --- pages/linux/slurp.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/linux/slurp.md diff --git a/pages/linux/slurp.md b/pages/linux/slurp.md new file mode 100644 index 000000000..00a97dbec --- /dev/null +++ b/pages/linux/slurp.md @@ -0,0 +1,28 @@ +# slurp + +> Select a region in a Wayland compositor. +> More information: . + +- Select a region and print it to `stdout`: + +`slurp` + +- Select a region and print it to `stdout`, while displaying the dimensions of the selection: + +`slurp -d` + +- Select a single point instead of a region: + +`slurp -p` + +- Select an output and print its name: + +`slurp -o -f '%o'` + +- Select a specific region and take a borderless screenshot of it, using `grim`: + +`grim -g "$(slurp -w 0)"` + +- Select a specific region and take a borderless video of it, using `wf-recorder`: + +`wf-recorder --geometry "$(slurp -w 0)"`