Compare commits
No commits in common. "34dd85127303437b973f9a59c5af1d1433e30933" and "6b4be3a5d285c7214af95be00bfc28124f76d9ea" have entirely different histories.
34dd851273
...
6b4be3a5d2
@ -25,7 +25,7 @@ VERBOSE=0
|
||||
CONFIG_PATH="${XDG_CONFIG_HOME:-$HOME/.config}/volumectl/config.ini"
|
||||
READ_INI_POSSIBLE_PATHS=(\
|
||||
"${XDG_LIB_HOME:-$HOME/.local/lib}/read_ini.sh" "${XDG_LIB_HOME:-$HOME/.local/lib}/bash_ini_parser/read_ini.sh" \
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
## Args
|
||||
@ -33,7 +33,7 @@ OPTIONAL_FLAGS=( \
|
||||
"-v" "--verbose" \
|
||||
"-c" "--config" \
|
||||
"-h" "-?" "--help" \
|
||||
)
|
||||
)
|
||||
|
||||
verbose () {
|
||||
[[ $VERBOSE -eq 1 ]] && return 0 || return 1
|
||||
@ -291,7 +291,7 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then #if '__name__' == '__main__'
|
||||
verbose && echo "Detected -m or --mute"
|
||||
mute
|
||||
;;
|
||||
-u|--unmute)
|
||||
-u|--ummute)
|
||||
verbose && echo "Detected -u or --unmute"
|
||||
unmute
|
||||
;;
|
||||
@ -316,3 +316,4 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then #if '__name__' == '__main__'
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user