diff options
Diffstat (limited to 'scripts/cli')
| -rwxr-xr-x | scripts/cli/slight | 10 | ||||
| -rwxr-xr-x | scripts/cli/svol | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/scripts/cli/slight b/scripts/cli/slight index d239d8e..770553a 100755 --- a/scripts/cli/slight +++ b/scripts/cli/slight @@ -21,12 +21,12 @@ exit 0 brightness_handle check_program [ ${#} != 1 ] && [ ${#} != 2 ] && invalid_use -while getopts "i:d:s:ph" option; do +while getopts "i:d:s:tph" option; do case "${option}" in - i) run --reload-status "brightness_handle up ${OPTARG}" ;; - d) run --reload-status "brightness_handle down ${OPTARG}" ;; - s) run --reload-status "brightness_handle set ${OPTARG}" ;; - t) run --reload-status "brightness_handle toggle" ;; + i) run --reload-status brightness_handle up "${OPTARG}" ;; + d) run --reload-status brightness_handle down "${OPTARG}" ;; + s) run --reload-status brightness_handle set "${OPTARG}" ;; + t) run --reload-status brightness_handle toggle ;; p) brightness_handle get-current ;; h) help ;; diff --git a/scripts/cli/svol b/scripts/cli/svol index 64f4a2f..d6f169c 100755 --- a/scripts/cli/svol +++ b/scripts/cli/svol @@ -23,10 +23,10 @@ volume_handle check_program while getopts "i:d:s:pth" option; do case "${option}" in - i) run --reload-status "volume_handle up ${OPTARG}" ;; - d) run --reload-status "volume_handle down ${OPTARG}" ;; - s) run --reload-status "volume_handle set ${OPTARG}" ;; - t) run --reload-status "volume_handle toggle" ;; + i) run --reload-status volume_handle up "${OPTARG}" ;; + d) run --reload-status volume_handle down "${OPTARG}" ;; + s) run --reload-status volume_handle set "${OPTARG}" ;; + t) run --reload-status volume_handle toggle ;; p) volume_handle get-current ;; h) help ;; |
