magick
This commit is contained in:
@ -1,7 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
FILENAME=$(date +%m-%d-%Y:%R:%S)
|
||||||
if [[ $1 == 1 ]]; then
|
if [[ $1 == 1 ]]; then
|
||||||
SELECTION=$(slop)
|
import ~/pictures/$FILENAME.png
|
||||||
maim -g $SELECTION ~/pictures/$(date +%m-%d-%Y:%R:%S).png && notify-send "screenshot saved" -i :
|
|
||||||
else
|
else
|
||||||
maim ~/pictures/$(date +%m-%d-%Y:%R:%S).png && notify-send "screenshot saved" -i :
|
import -window root ~/pictures/$FILENAME.png
|
||||||
fi
|
fi
|
||||||
|
notify-send "screenshot taken" -i :
|
||||||
|
|||||||
Reference in New Issue
Block a user