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