Files
misc/bin/screenshot
2025-10-01 11:45:39 -07:00

9 lines
191 B
Bash
Executable File

#!/bin/sh
FILENAME=$(date +%m-%d-%Y:%R:%S)
if [[ $1 == 1 ]]; then
import ~/pictures/$FILENAME.png
else
import -window root ~/pictures/$FILENAME.png
fi
notify-send "screenshot taken" -i :