made otter look a bit nicer

This commit is contained in:
2026-07-11 16:09:27 +01:00
parent a865a34754
commit a810344b36

View File

@@ -14,15 +14,15 @@ delay_startup = 0 # sometimes the otter runs too fast even before the terminal w
[interface]
# use three quotes to write longer codes
header = """
\u001B[1;36m$USER@nixos\u001B[0m
\x1b[38;2;203;166;247m$USER@nixos\x1b[0m
"""
header_cmd = "" # run a command and print stdout above the header
header_cmd = '' # run a command and print stdout above the header
header_cmd_trimmed_lines = 0 # remove trailing lines from header_cmd output, in case of some programs appending excessive empty lines
place_holder = "execute" # at the input field
suggestion_mode = "list" # available options: list, hint
separator = """
$( \
text=" void"; \
text=" "; \
printf "\u001B[0;90m$text \
$(printf -v line '%*s' \"$(( COLUMNS - $(printf "$text" | wc -m) - 3 ))\" ''; printf '%s' \"${line// /─}\")" \
)"""