diff --git a/docs/gcode_shell_command.md b/docs/gcode_shell_command.md index b3a2233..f963e42 100644 --- a/docs/gcode_shell_command.md +++ b/docs/gcode_shell_command.md @@ -41,7 +41,7 @@ Execute with: `RUN_SHELL_COMMAND CMD=hello_world` ### Passing parameters: -As of commit [f231fa9](https://github.com/th33xitus/kiauh/commit/f231fa9c69191f23277b4e3319f6b675bfa0ee42) it is also possible to pass optional parameters to a `gcode_shell_command`. +As of commit [f231fa9](https://github.com/dw-0/kiauh/commit/f231fa9c69191f23277b4e3319f6b675bfa0ee42) it is also possible to pass optional parameters to a `gcode_shell_command`. The following short example shows storing the extruder temperature into a variable, passing that value with a parameter to a `gcode_shell_command`, which then, once the gcode_macro runs and the gcode_shell_command gets called, executes the `script.sh`. The script then echoes a message to the console (if `verbose: True`) and writes the value of the parameter into a textfile called `test.txt` located in the home directory. diff --git a/kiauh.sh b/kiauh.sh index 3480a2a..aac5a8e 100755 --- a/kiauh.sh +++ b/kiauh.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/backup.sh b/scripts/backup.sh index bba5d32..cdb9af7 100755 --- a/scripts/backup.sh +++ b/scripts/backup.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/crowsnest.sh b/scripts/crowsnest.sh index fb864ab..9ad293b 100644 --- a/scripts/crowsnest.sh +++ b/scripts/crowsnest.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/flash_klipper.sh b/scripts/flash_klipper.sh index c281214..437b7af 100644 --- a/scripts/flash_klipper.sh +++ b/scripts/flash_klipper.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/fluidd.sh b/scripts/fluidd.sh index 4df3809..e67b7a6 100644 --- a/scripts/fluidd.sh +++ b/scripts/fluidd.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/gcode_shell_command.sh b/scripts/gcode_shell_command.sh index 1185642..a512b4f 100644 --- a/scripts/gcode_shell_command.sh +++ b/scripts/gcode_shell_command.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/globals.sh b/scripts/globals.sh index b80011b..f149f13 100644 --- a/scripts/globals.sh +++ b/scripts/globals.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/klipper.sh b/scripts/klipper.sh index 916ff19..d5d5469 100644 --- a/scripts/klipper.sh +++ b/scripts/klipper.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/klipperscreen.sh b/scripts/klipperscreen.sh index dc90643..bd18d70 100644 --- a/scripts/klipperscreen.sh +++ b/scripts/klipperscreen.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/mainsail.sh b/scripts/mainsail.sh index 743170b..34cff43 100644 --- a/scripts/mainsail.sh +++ b/scripts/mainsail.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/mjpg-streamer.sh b/scripts/mjpg-streamer.sh index a94203e..f139b96 100644 --- a/scripts/mjpg-streamer.sh +++ b/scripts/mjpg-streamer.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# @@ -190,4 +190,4 @@ function remove_mjpg-streamer() { [[ -L "${KLIPPER_LOGS}/webcamd.log" ]] && rm -f "${KLIPPER_LOGS}/webcamd.log" print_confirm "MJPG-Streamer successfully removed!" -} \ No newline at end of file +} diff --git a/scripts/mobileraker.sh b/scripts/mobileraker.sh index 8520ec3..fa4ff60 100644 --- a/scripts/mobileraker.sh +++ b/scripts/mobileraker.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/moonraker-telegram-bot.sh b/scripts/moonraker-telegram-bot.sh index 41f0a22..b706afa 100644 --- a/scripts/moonraker-telegram-bot.sh +++ b/scripts/moonraker-telegram-bot.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/moonraker.sh b/scripts/moonraker.sh index 775b0b2..210d553 100644 --- a/scripts/moonraker.sh +++ b/scripts/moonraker.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/nginx.sh b/scripts/nginx.sh index fac0948..f00b28e 100644 --- a/scripts/nginx.sh +++ b/scripts/nginx.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# @@ -357,4 +357,4 @@ function detect_enabled_sites() { FLUIDD_PORT=$(read_listen_port "fluidd") fi -} \ No newline at end of file +} diff --git a/scripts/obico.sh b/scripts/obico.sh index 63e0586..46f9e28 100644 --- a/scripts/obico.sh +++ b/scripts/obico.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/octoeverywhere.sh b/scripts/octoeverywhere.sh index 635c443..d8945f0 100644 --- a/scripts/octoeverywhere.sh +++ b/scripts/octoeverywhere.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/octoprint.sh b/scripts/octoprint.sh index 9f9e90e..ecdd874 100644 --- a/scripts/octoprint.sh +++ b/scripts/octoprint.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/pretty_gcode.sh b/scripts/pretty_gcode.sh index 7ace8ff..b9a334a 100644 --- a/scripts/pretty_gcode.sh +++ b/scripts/pretty_gcode.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# @@ -124,4 +124,4 @@ function compare_prettygcode_versions() { fi echo "${versions}" -} \ No newline at end of file +} diff --git a/scripts/rollback.sh b/scripts/rollback.sh index 09ee99f..9b3038d 100755 --- a/scripts/rollback.sh +++ b/scripts/rollback.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/switch_klipper_repo.sh b/scripts/switch_klipper_repo.sh index 34e3855..47a6d9d 100644 --- a/scripts/switch_klipper_repo.sh +++ b/scripts/switch_klipper_repo.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# @@ -139,4 +139,4 @@ function show_custom_klipper_repo_help() { deny_action "show_settings_help";; esac done -} \ No newline at end of file +} diff --git a/scripts/ui/advanced_menu.sh b/scripts/ui/advanced_menu.sh index 2e2bc5c..74bdfd0 100755 --- a/scripts/ui/advanced_menu.sh +++ b/scripts/ui/advanced_menu.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# @@ -66,4 +66,4 @@ function advanced_menu() { esac done advanced_menu -} \ No newline at end of file +} diff --git a/scripts/ui/backup_menu.sh b/scripts/ui/backup_menu.sh index c4f56c4..297c2f0 100755 --- a/scripts/ui/backup_menu.sh +++ b/scripts/ui/backup_menu.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/ui/general_ui.sh b/scripts/ui/general_ui.sh index b74c31f..b688ae7 100755 --- a/scripts/ui/general_ui.sh +++ b/scripts/ui/general_ui.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/ui/install_menu.sh b/scripts/ui/install_menu.sh index 35cfe92..5bee336 100755 --- a/scripts/ui/install_menu.sh +++ b/scripts/ui/install_menu.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/ui/main_menu.sh b/scripts/ui/main_menu.sh index 13df235..07cc5ab 100755 --- a/scripts/ui/main_menu.sh +++ b/scripts/ui/main_menu.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/ui/remove_menu.sh b/scripts/ui/remove_menu.sh index b6c5581..4a9485e 100755 --- a/scripts/ui/remove_menu.sh +++ b/scripts/ui/remove_menu.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/ui/settings_menu.sh b/scripts/ui/settings_menu.sh index 27c9dad..117eb76 100755 --- a/scripts/ui/settings_menu.sh +++ b/scripts/ui/settings_menu.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/ui/update_menu.sh b/scripts/ui/update_menu.sh index 740caf4..eab946c 100755 --- a/scripts/ui/update_menu.sh +++ b/scripts/ui/update_menu.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/upload_log.sh b/scripts/upload_log.sh index 9f8dd9d..9772524 100755 --- a/scripts/upload_log.sh +++ b/scripts/upload_log.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# diff --git a/scripts/utilities.sh b/scripts/utilities.sh index 91ab5ce..d95647c 100644 --- a/scripts/utilities.sh +++ b/scripts/utilities.sh @@ -4,7 +4,7 @@ # Copyright (C) 2020 - 2023 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # -# https://github.com/th33xitus/kiauh # +# https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # #=======================================================================# @@ -136,7 +136,7 @@ function init_ini() { echo -e "# File creation date: $(date)" echo -e "#=================================================#" echo -e "# KIAUH - Klipper Installation And Update Helper #" - echo -e "# https://github.com/th33xitus/kiauh #" + echo -e "# https://github.com/dw-0/kiauh #" echo -e "# DO NOT edit this file! #" echo -e "#=================================================#" echo -e "# KIAUH v4.0.0"