refactor: rework some klipperscreen functions

Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
th33xitus
2022-04-17 19:50:05 +02:00
parent 3664cf0e2f
commit 26c812e1d3
2 changed files with 27 additions and 29 deletions

View File

@@ -22,7 +22,7 @@ main_ui(){
echo -e "| 3) [Remove] | |"
echo -e "| 4) [Advanced] | Mainsail: $MAINSAIL_STATUS|"
echo -e "| 5) [Backup] | Fluidd: $FLUIDD_STATUS|"
echo -e "| | KlipperScreen: $KLIPPERSCREEN_STATUS|"
echo -e "| | KlipperScreen: $(klipperscreen_status)|"
echo -e "| 6) [Settings] | Telegram Bot: $(get_telegram_bot_status)|"
echo -e "| | |"
echo -e "| $(get_kiauh_version)| Octoprint: $OCTOPRINT_STATUS|"
@@ -68,7 +68,6 @@ main_menu(){
fluidd_status
mainsail_status
octoprint_status
klipperscreen_status
main_ui
while true; do
read -p "${cyan}Perform action:${white} " action; echo