Skip to content

Commit

Permalink
Trim white spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Mgldvd committed Sep 14, 2024
1 parent 90ceb2c commit fff2495
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apply-colors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
Expand Down
6 changes: 3 additions & 3 deletions apply-terminator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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']
Expand All @@ -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'
Expand Down

0 comments on commit fff2495

Please sign in to comment.