diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2024-07-24 21:12:09 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2024-07-24 21:12:09 +0400 |
commit | 9f60a2b5ec9ae08d846bc7d3b61612aacadf82c8 (patch) | |
tree | e19b0956f0163e77573b6dff8b9e4736b045dcb8 /scripts | |
parent | 994ef6afb490f5119a43fc7ae6c6b78e1c0445e4 (diff) |
Wallpaper and volume scrips were renamed
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/svol (renamed from scripts/setvol) | 3 | ||||
-rwxr-xr-x | scripts/swall (renamed from scripts/setwp) | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/scripts/setvol b/scripts/svol index 4bbc1ec..f973773 100755 --- a/scripts/setvol +++ b/scripts/svol @@ -52,10 +52,9 @@ while getopts "i:d:s:pth" option; do h) help exit 0 - ;; + ;; *) err "Try \'${0} -h\' for help" - ;; esac diff --git a/scripts/setwp b/scripts/swall index 24994d8..6d3b854 100755 --- a/scripts/setwp +++ b/scripts/swall @@ -1,5 +1,7 @@ #!/bin/sh +# TODO add the option error checking with optind + err() { echo "${0}": "${1}" exit 1 |