Files
dot/local/bin/screenie
T
2026-07-12 08:16:17 +03:30

9 lines
222 B
Bash
Executable File

#!/bin/sh
DIR="$HOME/Pictures/Screenshots"
FILE="$DIR/shot_$(date +%s).png"
mkdir -p "$DIR"
maim -s "$FILE"
xclip -selection clipboard -t image/png -i "$FILE"
notify-send "Region Captured" "Saved and copied to clipboard"