From fff2495c19146ad6921d468b0e0134283cb6f5a3 Mon Sep 17 00:00:00 2001 From: mgldvd Date: Fri, 13 Sep 2024 20:28:32 -0500 Subject: [PATCH] Trim white spaces --- apply-colors.sh | 2 +- apply-terminator.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apply-colors.sh b/apply-colors.sh index 50f919ba..91e4f42b 100755 --- a/apply-colors.sh +++ b/apply-colors.sh @@ -679,7 +679,7 @@ apply_kitty() { [ -n "$HIGHLIGHT_BG_COLOR" ] && echo "selection_background $HIGHLIGHT_BG_COLOR" >> "$CFGFILE" echo "cursor $CURSOR_COLOR" >> "$CFGFILE" - + prints "Done - signaling kitty to reload" killall -u ${USER} -SIGUSR1 kitty || pkill --uid $(id -u) -SIGUSR1 kitty || prints "Reload failed. Please reopen your kitty terminal to see the changes." } diff --git a/apply-terminator.py b/apply-terminator.py index c934b457..586a552f 100755 --- a/apply-terminator.py +++ b/apply-terminator.py @@ -22,7 +22,7 @@ def main(gogh_conf_theme): terminator_conf_file_path = get_terminator_conf_path() profile_options = choose_profile() update_terminator_conf(terminator_conf_file_path, gogh_conf_theme, profile_options) - + def get_terminator_conf_path(): try: @@ -42,7 +42,7 @@ def update_terminator_conf(terminator_conf_file_path,gogh_conf_theme,profile_opt config['profiles'][profile_options["profile"]] = config['profiles']['default'].copy() elif profile_options["copy_default_config"] == 'no': config['profiles'][profile_options["profile"]] = {} - + use_theme_colors = False config['profiles'][profile_options["profile"]]['foreground_color'] = js['colors']['primary']['foreground'] config['profiles'][profile_options["profile"]]['background_color'] = js['colors']['primary']['background'] @@ -61,7 +61,7 @@ def choose_profile(): if profile_answer.lower() in ['', 'default']: profile_answer = 'default' else: - while True: + while True: copy_default_config_answer = input("Do you want to copy your config from default profile? [Y]: (Y/N) ").strip() if copy_default_config_answer.lower() in ['', 'yes', 'y']: copy_default_config_answer = 'yes'