9 lines
224 B
Bash
Executable file
9 lines
224 B
Bash
Executable file
#!/bin/sh
|
|
|
|
OUT_DIR=${GRIM_DEFAULT_DIR:-~/Pictures/Screenshots/}
|
|
mkdir -p "$OUT_DIR"
|
|
|
|
grim -g "$(slurp -o)" - | wl-copy
|
|
notify-send "Screenshot Taken" "to the clipboard"
|
|
wl-paste > $OUT_DIR/$(date +"%Y-%m-%dT%H:%M:%SZ").png
|
|
|