Change Konsole/Alacritty Highlighted color

In the konsole and alacritty terminal I would like to change the yellow highlighting and possibly the text color when the line/text gets highlighted during selection


I was going thought starship config but I am unable to find the setting for it

Current starship config-

## FIRST LINE/ROW: Info & Status
# First param ─┌
[username]
format = " [╭─$user]($style)@"
style_user = "bold red"
style_root = "bold red"
show_always = true

# Second param
[hostname]
format = "[$hostname]($style) in "
style = "bold dimmed red"
trim_at = "-"
ssh_only = false
disabled = false

# Third param
[directory]
style = "purple"
truncation_length = 0
truncate_to_repo = true
truncation_symbol = "repo: "

# Before all the version info (python, nodejs, php, etc.)
[git_status]
style = "white"
ahead = "⇡${count}"
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
behind = "⇣${count}"
deleted = "x"

# Last param in the first line/row
[cmd_duration]
min_time = 1
format = "took [$duration]($style)"
disabled = false


## SECOND LINE/ROW: Prompt
# Somethere at the beginning
[battery]
full_symbol = " "
charging_symbol = " "
discharging_symbol = " "
disabled = true

[[battery.display]]  # "bold red" style when capacity is between 0% and 10%
threshold = 15
style = "bold red"
disabled = true

[[battery.display]]  # "bold yellow" style when capacity is between 10% and 30%
threshold = 50
style = "bold yellow"
disabled = true

[[battery.display]]  # "bold green" style when capacity is between 10% and 30%
threshold = 80
style = "bold green"
disabled = true

# Prompt: optional param 1
[time]
format = " 🕙 $time($style)\n"
time_format = "%T"
style = "bright-white"
disabled = false

# Prompt: param 2 └─
[character]
success_symbol = " [╰─λ](bold red)"
error_symbol = " [×](bold red)"

# SYMBOLS
[status]
symbol = "🔴"
format = '[\[$symbol$status_common_meaning$status_signal_name$status_maybe_int\]]($style)'
map_symbol = true
disabled = false

[aws]
symbol = " "

[conda]
symbol = " "

[dart]
symbol = " "

[docker_context]
symbol = " "

[elixir]
symbol = " "

[elm]
symbol = " "

[git_branch]
symbol = " "

[golang]
symbol = " "

[hg_branch]
symbol = " "

[java]
symbol = " "

[julia]
symbol = " "

[nim]
symbol = " "

[nix_shell]
symbol = " "

[nodejs]
symbol = " "

[package]
symbol = " "

[perl]
symbol = " "

[php]
symbol = " "

[python]
symbol = " "

[ruby]
symbol = " "

[rust]
symbol = " "

[swift]
symbol = "ﯣ "

For Konsole did you try switching to another Color Scheme within Konsole's configuration panel?

That's what I do as soon as I install a Garuda on a machine, as I find there is too many red around. The switch is instant and permanent.

Now yours is much different to begin with, was it like that when you installed it? Just curious.

EDIT: Or maybe what you're asking is to change the color of ONLY the highlighted (currently yellow-orange on your pic) and the text within that highlighted line?
Still possible through Color Schemes, but you need to find the right custom spot and not just change the Color Scheme entirely.

3 Likes

yes i currently want to change the yellow-white part. But I am interested in changing the theme too. As you said the large amount of red is unnerving and screams at me

Also this is the default config and I only changed the time part and enabled it, the rest were present out of the box

Could be just a color washout thing due to posting the screenshot, or my monitor here changes colors a bit. lolll

So yes, in Konsole's menu you can edit that from the Configuration option. Now I could provide a much better step-by-step later today or tonight once I access my powerful Garuda. :slight_smile:

Unless I can find those steps on Whoogle, I'm totally sure there is a short tuto somewhere, though.

Alacritty I can't remember how to change it, I think it's from alacritty.yml.

3 Likes

Take a look here, it’s a good start with the screenshots at the end.

Instead of SET AS DEFAULT, click EDIT a few buttons up.

1 Like

Alright. I also changed to catppuccin theme and the highlight is now in lavendar color. Not exactly what I am looking for, but a step in the right direction. Maybe I have to edit the colorscheme files directly to get the desired effect

1 Like

Yeah will do

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.