Compare commits

..

2 Commits

Author SHA1 Message Date
fanyx 55d49c17d6 Add Starship 2023-09-09 10:56:29 +02:00
fanyx 8a37195442 idk why, prefer dark switches all the time 2023-09-09 10:29:45 +02:00
3 changed files with 43 additions and 0 deletions

View File

@ -13,3 +13,4 @@ gtk-xft-antialias=1
gtk-xft-hinting=1 gtk-xft-hinting=1
gtk-xft-hintstyle=hintmedium gtk-xft-hintstyle=hintmedium
gtk-cursor-theme-name=Qogir gtk-cursor-theme-name=Qogir
gtk-application-prefer-dark-theme=1

41
.config/starship.toml Normal file
View File

@ -0,0 +1,41 @@
"$schema" = 'https://starship.rs/config-schema.json'
add_newline = false
format = '''\[[$username $hostname](bold green)\]$fill$time$fill$container$git_branch$git_commit$git_state$git_status
$directory$character'''
right_format = '''$elixir$elm$cmd_duration'''
[username]
show_always = true
format = '[$user]($style) @'
style_user = 'bold green'
[hostname]
ssh_only = false
format = '[$hostname]($style)'
style = 'bold green'
[character]
# success_symbol = '[✔](bold green)'
success_symbol = '[\$](bold green)'
# error_symbol = '[✗](bold red)'
error_symbol = '[\$](bold red)'
[container]
style = 'bold blue dimmed'
[directory]
truncation_symbol = '.../'
truncate_to_repo = false
before_repo_root_style = 'bold cyan'
repo_root_style = 'bold bright-cyan'
repo_root_format = '[$before_root_path]($before_repo_root_style)[$repo_root]($repo_root_style)[$path]($repo_root_style)[$read_only]($read_only_style) '
[fill]
symbol = ' '
[time]
disabled = false
format = '[$time]($style)'

View File

@ -58,6 +58,7 @@ shopt -s checkwinsize
# - hooks # - hooks
command -v direnv &>/dev/null && eval "$(direnv hook bash)" command -v direnv &>/dev/null && eval "$(direnv hook bash)"
command -v starship &>/dev/null && eval "$(starship init bash)"
# - env vars # - env vars