style: fix code style

Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
th33xitus
2022-05-27 11:12:20 +02:00
parent 6f9d22fe80
commit 64a6ba462a
6 changed files with 11 additions and 10 deletions

View File

@@ -515,7 +515,7 @@ function get_klipper_status() {
### count+1 for each found data-item from array ### count+1 for each found data-item from array
local filecount=0 local filecount=0
for data in "${data_arr[@]}"; do for data in "${data_arr[@]}"; do
[[ -e ${data} ]] && filecount=$(("${filecount}" + 1)) [[ -e ${data} ]] && filecount=$(( filecount + 1 ))
done done
if (( filecount == ${#data_arr[*]} )); then if (( filecount == ${#data_arr[*]} )); then

View File

@@ -356,6 +356,7 @@ function ms_theme_installer_menu() {
theme_repo+=("${col4}") theme_repo+=("${col4}")
done <<< "${theme_list}" done <<< "${theme_list}"
local option
while true; do while true; do
read -p "${cyan}Install theme:${white} " option read -p "${cyan}Install theme:${white} " option
if (( option > 0 && option < ${#theme_name[@]} )); then if (( option > 0 && option < ${#theme_name[@]} )); then