make POSIX sh compliant
This commit is contained in:
@ -3,7 +3,7 @@ YEAR=$(date +%Y)
|
||||
MONTH_DAY=$(date +%m-%d)
|
||||
FILENAME=$(date +%R:%S)
|
||||
mkdir -p ~/pictures/$YEAR/$MONTH_DAY
|
||||
if [[ $1 == 1 ]]; then
|
||||
if [ $1 = 1 ]; then
|
||||
import clipboard:
|
||||
notify-send "Screenshot taken" "copied to clipboard" -i :
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user