]> Freerunner's - dotfiles.git/commitdiff
starship: tweak colors; add a seperate config for remote machines
authorAndre Ramnitz <tux.rising@gmail.com>
Sun, 24 Nov 2024 22:13:44 +0000 (23:13 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Sun, 24 Nov 2024 22:13:44 +0000 (23:13 +0100)
dot-config/starship-remote.toml [new file with mode: 0644]
dot-config/starship.toml

diff --git a/dot-config/starship-remote.toml b/dot-config/starship-remote.toml
new file mode 100644 (file)
index 0000000..b6a4485
--- /dev/null
@@ -0,0 +1,112 @@
+"$schema" = 'https://starship.rs/config-schema.json'
+
+command_timeout = 750
+
+format = """
+[░▒▓](fg:bright-black)\
+[  ](bg:bright-black fg:#DDDAEC)\
+[](bg:yellow fg:bright-black)\
+$directory\
+[](fg:yellow bg:19)\
+${git_branch}\
+${git_commit}\
+${git_state}\
+${git_status}\
+[](fg:19 bg:red)\
+$time\
+[ ](fg:red bg:default)\
+\n$character"""
+
+[character]
+success_symbol = '[❯](bold yellow) '
+error_symbol = '[❯](bold red) '
+
+[directory]
+style = 'fg:black bg:yellow'
+format = "[ $path ]($style)"
+truncation_length = 3
+truncation_symbol = "…/"
+
+[directory.substitutions]
+"Documents" = "󰈙 "
+"Downloads" = " "
+"Music" = " "
+"Pictures" = " "
+
+[git_branch]
+symbol = ""
+style = "fg:cyan bg:19 "
+format = '[ $symbol $branch ]($style)'
+
+[git_commit]
+format = '[\($hash$tag\)]($style)'
+style = 'bg:19 fg:cyan dimmed'
+commit_hash_length = 6
+only_detached = false
+tag_symbol = ' 笠'
+tag_disabled = false
+disabled = false
+
+[git_state]
+format = '\( [$state($progress_current/$progress_total)]($style)\)'
+style = "bg:19 fg:white dimmed"
+rebase = 'REBASING'
+merge = 'MERGING'
+revert = 'REVERTING'
+cherry_pick = 'CHERRY-PICKING'
+bisect = 'BISECTING'
+am = 'AM'
+am_or_rebase = 'AM/REBASE'
+disabled = false
+
+[git_status]
+format = '[ \[$all_status$ahead_behind\]]($style)[ ]($style)'
+style = 'bg:19 fg:bright-green bold'
+stashed = '\$'
+ahead = '⇡${count}'
+behind = '⇣${count}'
+diverged = '⇕⇡${ahead_count}⇣${behind_count}'
+conflicted = '='
+deleted = '✘'
+renamed = '»'
+modified = '!'
+staged = '+'
+untracked = '?'
+disabled = false
+
+
+[c]
+symbol = "󰙱"
+style = 'bg:bright-black'
+format = '[[ $symbol ($version) ](fg:green bg:bright-black)]($style)'
+
+[nodejs]
+symbol = "󰎙"
+style = 'bg:bright-black'
+format = '[[ $symbol ($version) ](fg:green bg:bright-black)]($style)'
+
+[python]
+symbol = "󰌠"
+style = 'bg:bright-black'
+format = '[[ $symbol ($version) ](fg:green bg:bright-black)]($style)'
+
+[rust]
+symbol = "󱘗"
+style = 'bg:bright-black'
+format = '[[ $symbol ($version) ](fg:green bg:bright-black)]($style)'
+
+[golang]
+symbol = "󰟓"
+style = 'bg:bright-black'
+format = '[[ $symbol ($version) ](fg:green bg:bright-black)]($style)'
+
+[php]
+symbol = ""
+style = 'bg:bright-black'
+format = '[[ $symbol ($version) ](fg:green bg:bright-black)]($style)'
+
+[time]
+disabled = false
+time_format = "%R" # Hour:Minute Format
+style = 'bg:red fg:black'
+format = '[  $time ]($style)'
index f2b3f875b2fa3a90781a0dd8c3808d47f53af010..159f495528167e45dc3051325c68bee3c75e9a73 100644 (file)
@@ -5,9 +5,9 @@ command_timeout = 750
 format = """
 [░▒▓](fg:bright-black)\
 [  ](bg:bright-black fg:#DDDAEC)\
-[](bg:cyan fg:bright-black)\
+[](bg:green fg:bright-black)\
 $directory\
-[](fg:cyan bg:19)\
+[](fg:green bg:19)\
 ${git_branch}\
 ${git_commit}\
 ${git_state}\
@@ -22,7 +22,7 @@ success_symbol = '[❯](bold green) '
 error_symbol = '[❯](bold red) '
 
 [directory]
-style = 'fg:black bg:cyan'
+style = 'fg:black bg:green'
 format = "[ $path ]($style)"
 truncation_length = 3
 truncation_symbol = "…/"