Monochrome SwayFX glass rice
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
# usage: screenshot.sh clip | file
|
||||
geo=$(slurp) || exit 0
|
||||
if [ "$1" = file ]; then
|
||||
dir=$HOME/Pictures/Screenshots
|
||||
mkdir -p "$dir"
|
||||
grim -g "$geo" "$dir/$(date +%F_%H-%M-%S).png"
|
||||
else
|
||||
grim -g "$geo" - | wl-copy
|
||||
fi
|
||||
Reference in New Issue
Block a user