style: fix code style
Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user