revert to simple arguments

This commit is contained in:
andrzej 2024-09-30 20:37:31 +02:00
parent aada6a294d
commit 2ca513f593
1 changed files with 2 additions and 14 deletions

View File

@ -1,20 +1,8 @@
#!/usr/bin/env bash
bgsDirectory="/home/andrzej/bgs/"
path=${1}
duration=${2}
while getopts 'p:d:' OPTION; do
case "$OPTION" in
p)
path=${OPTARG}
hyprpaper unload all
;;
d)
duration=${OPTARG}
;;
?)
echo "uh-oh"
;;
esac
done
echo "path: ${path}, duration: ${duration}"