#!/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"