Chore: Fix formatting

This commit is contained in:
Narvin Singh 2021-01-18 14:11:11 -05:00
parent fdeb1696d0
commit 6c8cf878f7
2 changed files with 3 additions and 3 deletions

2
avdd
View File

@ -100,7 +100,7 @@ draw_status
# function to get the new value for that section of the status bar. If any
# of the new values are different from the cached ones, update the cache
# and redraw the status bar once after all the mods are processed.
process_mods () {
process_mods() {
local mod new_val is_changed
for mod in "$@"; do
if [[ -v stat_cache[${mod}] ]]; then

2
avds
View File

@ -47,7 +47,7 @@ DAEMON=avdd
FIFO=/tmp/"${DAEMON}"-fifo-"$("$(dirname "$0")"/rpid)"
# Convert integer milliseconds to floating point seconds
ms_to_s () {
ms_to_s() {
printf '%.3f' "${1}e-3"
}