16 lines
235 B
Bash
Executable File
16 lines
235 B
Bash
Executable File
#!/bin/bash
|
|
|
|
date=$(date +"%S-%M-%H_%d-%m-%y")
|
|
fileName="$(date)_Screenshot.jpg"
|
|
|
|
if [$# -eq 0 ]
|
|
then
|
|
import screen $HOME/Pictures/Screenshots/fileName
|
|
fi
|
|
|
|
if [ $1 == 's' ]
|
|
then
|
|
import -screen $HOME/Pictures/Screenshots/fileName
|
|
fi
|
|
|