10 lines
192 B
Bash
Executable File
10 lines
192 B
Bash
Executable File
#!/bin/bash
|
|
|
|
DIR="$HOME/Pictures/Screenshots"
|
|
FILE="$DIR/screenshot-$(date +%Y-%m-%d_%H-%M-%S).png"
|
|
|
|
grim -g "$(slurp)" "$FILE"
|
|
wl-copy < "$FILE"
|
|
|
|
notify-send "Screenshot gespeichert" "$FILE"
|