From 562d7df41603c823292d6c771e325f383ebce1a9 Mon Sep 17 00:00:00 2001 From: th33xitus Date: Sat, 2 Apr 2022 01:31:28 +0200 Subject: [PATCH] style: add copyright header Signed-off-by: Dominik Willner th33xitus@gmail.com --- scripts/ui/advanced_menu.sh | 13 +++++++++++++ scripts/ui/backup_menu.sh | 13 +++++++++++++ scripts/ui/general_ui.sh | 13 +++++++++++++ scripts/ui/main_menu.sh | 13 +++++++++++++ scripts/ui/remove_menu.sh | 13 +++++++++++++ scripts/ui/settings_menu.sh | 13 +++++++++++++ scripts/ui/update_menu.sh | 13 +++++++++++++ 7 files changed, 91 insertions(+) diff --git a/scripts/ui/advanced_menu.sh b/scripts/ui/advanced_menu.sh index 6b80384..c09906b 100755 --- a/scripts/ui/advanced_menu.sh +++ b/scripts/ui/advanced_menu.sh @@ -1,3 +1,16 @@ +#!/bin/bash + +#=======================================================================# +# Copyright (C) 2020 - 2022 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/th33xitus/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +#=======================================================================# + +set -e + advanced_ui(){ top_border echo -e "| ${yellow}~~~~~~~~~~~~~ [ Advanced Menu ] ~~~~~~~~~~~~~${default} | " diff --git a/scripts/ui/backup_menu.sh b/scripts/ui/backup_menu.sh index 9d320d6..6495333 100755 --- a/scripts/ui/backup_menu.sh +++ b/scripts/ui/backup_menu.sh @@ -1,3 +1,16 @@ +#!/bin/bash + +#=======================================================================# +# Copyright (C) 2020 - 2022 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/th33xitus/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +#=======================================================================# + +set -e + backup_ui(){ top_border echo -e "| $(title_msg "~~~~~~~~~~~~~~ [ Backup Menu ] ~~~~~~~~~~~~~~") | " diff --git a/scripts/ui/general_ui.sh b/scripts/ui/general_ui.sh index 459b29f..e46f859 100755 --- a/scripts/ui/general_ui.sh +++ b/scripts/ui/general_ui.sh @@ -1,3 +1,16 @@ +#!/bin/bash + +#=======================================================================# +# Copyright (C) 2020 - 2022 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/th33xitus/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +#=======================================================================# + +set -e + #ui total width = 57 chars top_border(){ echo -e "/=======================================================\\" diff --git a/scripts/ui/main_menu.sh b/scripts/ui/main_menu.sh index bf8c1ea..117d8df 100755 --- a/scripts/ui/main_menu.sh +++ b/scripts/ui/main_menu.sh @@ -1,3 +1,16 @@ +#!/bin/bash + +#=======================================================================# +# Copyright (C) 2020 - 2022 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/th33xitus/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +#=======================================================================# + +set -e + main_ui(){ #[ $KIAUH_UPDATE_REMIND="true" ] && kiauh_update_reminder top_border diff --git a/scripts/ui/remove_menu.sh b/scripts/ui/remove_menu.sh index c7a6f7e..4ad2420 100755 --- a/scripts/ui/remove_menu.sh +++ b/scripts/ui/remove_menu.sh @@ -1,3 +1,16 @@ +#!/bin/bash + +#=======================================================================# +# Copyright (C) 2020 - 2022 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/th33xitus/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +#=======================================================================# + +set -e + remove_ui(){ top_border echo -e "| ${red}~~~~~~~~~~~~~~ [ Remove Menu ] ~~~~~~~~~~~~~~${white} | " diff --git a/scripts/ui/settings_menu.sh b/scripts/ui/settings_menu.sh index 0537941..7e9ddef 100755 --- a/scripts/ui/settings_menu.sh +++ b/scripts/ui/settings_menu.sh @@ -1,3 +1,16 @@ +#!/bin/bash + +#=======================================================================# +# Copyright (C) 2020 - 2022 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/th33xitus/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +#=======================================================================# + +set -e + settings_ui(){ source_kiauh_ini top_border diff --git a/scripts/ui/update_menu.sh b/scripts/ui/update_menu.sh index 5a926c2..c18ec4e 100755 --- a/scripts/ui/update_menu.sh +++ b/scripts/ui/update_menu.sh @@ -1,3 +1,16 @@ +#!/bin/bash + +#=======================================================================# +# Copyright (C) 2020 - 2022 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/th33xitus/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +#=======================================================================# + +set -e + update_ui(){ ui_print_versions top_border