make POSIX sh compliant

This commit is contained in:
2025-12-18 14:12:29 -08:00
parent 1f48d9808c
commit cdae221acf
11 changed files with 63 additions and 20 deletions

View File

@ -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