Minor correction
This commit is contained in:
parent
74de6b7164
commit
200a72327a
@ -14,7 +14,7 @@ ADDITIONAL_FLAGS=("--allow-boost")
|
|||||||
|
|
||||||
## Default values
|
## Default values
|
||||||
NOTIFICATION_ENABLED=1
|
NOTIFICATION_ENABLED=1
|
||||||
NOTIFICATION_TIMEOUT=5000
|
NOTIFICATION_TIMEOUT=3000
|
||||||
|
|
||||||
CONFIG_PATH="$XDG_CONFIG_HOME/`basename $0`/config.ini"
|
CONFIG_PATH="$XDG_CONFIG_HOME/`basename $0`/config.ini"
|
||||||
VERBOSE=0
|
VERBOSE=0
|
||||||
@ -57,7 +57,7 @@ volume_up_by () {
|
|||||||
verbose && echo "Increasing volume by $1, with \`$cmd\`"
|
verbose && echo "Increasing volume by $1, with \`$cmd\`"
|
||||||
|
|
||||||
verbose && echo "Volume before command: $(get_volume)"
|
verbose && echo "Volume before command: $(get_volume)"
|
||||||
$cmd
|
sh -c "$cmd"
|
||||||
verbose && echo "Volume after command: $(get_volume)"
|
verbose && echo "Volume after command: $(get_volume)"
|
||||||
notify
|
notify
|
||||||
}
|
}
|
||||||
@ -97,7 +97,7 @@ volume_big_down () {
|
|||||||
volume_up () {
|
volume_up () {
|
||||||
local cmd="volume_up_by $NORMAL_DELTA"
|
local cmd="volume_up_by $NORMAL_DELTA"
|
||||||
verbose && echo "Increasing the volume, with \`$cmd\`"
|
verbose && echo "Increasing the volume, with \`$cmd\`"
|
||||||
sh -c "$cmd"
|
$cmd
|
||||||
}
|
}
|
||||||
|
|
||||||
volume_down () {
|
volume_down () {
|
||||||
|
Loading…
Reference in New Issue
Block a user