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