9 lines
191 B
Bash
Executable File
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 :
|