Linux Mint Terminal customization with Alacritty Starship
#linuxmint #linux #alacritty #starship #terminal
Install Linuxbrew:
https://brew.sh/
Install Starship:
https://github.com/starship/starship
————————
brew install starship
Add the following to the end of ~/.bashrc:
eval « $(starship init bash) »
—————————-
alacritty.toml:
colors.draw_bold_text_with_bright_colors = true
colors.transparent_background_colors = true
[colors.primary]
background = ‘0x000010’
foreground = ‘0x0ffffc’
[colors.normal]
black = ‘0x123e7c’
red = ‘0xff0050’
green = ‘0xd300ff’
yellow = ‘0xffff00’
blue = ‘0x123e7c’
magenta = ‘0x711c91’
cyan = ‘0x0ffffc’
white = ‘0xd7d7d5’
[colors.bright]
black = ‘0x1c61c2’
red = ‘0xff0050’
green = ‘0xd300ff’
yellow = ‘0xffff00’
blue = ‘0x00ff00’
magenta = ‘0x711c91’
cyan = ‘0x0ffffc’
white = ‘0xd7d7d5’
[colors.dim]
black = ‘0x1c61c2’
red = ‘0xff0050’
green = ‘0xd300ff’
yellow = ‘0xffff00’
blue = ‘0x123e7c’
magenta = ‘0x711c91’
cyan = ‘0x0ffffc’
white = ‘0xd7d7d5’
[window]
dimensions = { columns = 80, lines = 20 }
position = « None »
padding = { x = 10, y = 5 }
decorations = « None » #hide the title bar
opacity = 0.8
[cursor]
style = { shape = « Block », blinking = « Always » }
starship.toml:
format = « » »
[🐼 Rafi](bg:#030B16 fg:#FF00FF)
$time
$directory
$character
« » »
right_format = « » »
[🚀 Custom Text](bg:#030B16 fg:#FF00FF)
« » »
[directory]
format = « [📂 $path ]($style) »
style = « fg:#FFFFFF bg:#8A2BE2 »
[git_branch]
format = ‘[ 🌿 $branch(:$remote_branch) ]($style)’
style = « fg:#00FFFF bg:#FFFF00 »
[git_status]
format = ‘[ $all_status ]($style)’
style = « fg:#00FFFF bg:#FFFF00 »
[git_metrics]
format = ‘[ +$added ]($added_style)[]($added_style)’
added_style = « fg:#00FFFF bg:#FFFF00 »
deleted_style = « fg:bright-red bg:235 »
disabled = false
[cmd_duration]
format = ‘[ ⏱ $duration ]($style)’
style = « fg:bright-white bg:18 »
[character]
success_symbol = ‘[ ➜](bold green) ‘
error_symbol = ‘[ ✗](#E84D44) ‘
[time]
disabled = false
time_format = « %R » # Hour:Minute Format
style = « bg:#1d2230 »
format = ‘[ 🕒 $time ]($style)’
——————————-
Views : 35
linux