0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 295 lines 6.3 kB view raw
1# This config could just go in home manager, but unfortunately earlier attempts broke harshly.. 2 3 4format = """ 5[](fg:#9A348E)\ 6$os\ 7[](fg:#9A348E) \ 8""" 9 10right_format = """ 11[](#9A348E)\ 12 13$username\ 14[]( fg:#C1E1C1 bg:#9A348E)\ 15$shell\ 16[]( fg:#DA627D bg:#C1E1C1)\ 17$directory\ 18[]( bg:#DA627D fg:#e7d1ff)\ 19$mise\ 20$nix_shell\ 21[]( fg:#FCA17D bg:#e7d1ff)\ 22${custom.vcs_branch}\ 23${custom.vcs_status}\ 24[]( bg:#FCA17D fg:#86BBD8)\ 25$c\ 26$cpp\ 27$elixir\ 28$elm\ 29$golang\ 30$gradle\ 31$haskell\ 32$java\ 33$julia\ 34$nodejs\ 35$bun\ 36$erlang\ 37$nim\ 38$gleam\ 39$rust\ 40$scala\ 41$php\ 42$zig\ 43[]( bg:#86BBD8 fg:#06969A)\ 44$docker_context\ 45$cmd_duration\ 46[]( bg:#06969A fg:#33658A)\ 47$status\ 48$time\ 49 50[ ](fg:#33658A)\ 51 52""" 53# Disable the blank line at the start of the prompt 54# add_newline = false 55 56# You can also replace your username with a neat symbol like  or disable this 57# and use the os module below 58[username] 59show_always = true 60style_user = "bg:#9A348E fg:#FFD6E0" 61style_root = "bg:#9A348E fg:#FFD6E0" 62format = '[$user ]($style)' 63disabled = false 64 65[shell] 66# The shell module displays the current shell name 67# It is disabled by default, but you can enable it if you want 68disabled = false # Disabled by default 69# Make it a bit like a pastel pistachio green color, like #C1E1C1. 70style = "bg:#C1E1C1 fg:#9A348E" 71# format = '[$shell ]($style)' 72# The shell module can also display the shell symbol only, for powershell, zsh, bash, etc. 73# Uncomment the line below to enable it 74format = "[$indicator]($style)" 75powershell_indicator = "Powershell" 76pwsh_indicator = "  PWSH" 77zsh_indicator = "🐚 Zsh" 78fish_indicator = "🐟 Fish" 79 80# An alternative to the username module which displays a symbol that 81# represents the current operating system 82[os] 83style = "bg:#9A348E fg:#FFD6E0" 84disabled = false # Disabled by default 85 86[directory] 87style = "bg:#DA627D" 88format = "[ $path ]($style)" 89truncation_symbol = "…/" 90 91[directory.substitutions] 92"Documents" = "󰈙 " 93"Downloads" = " " 94"Music" = " " 95"Pictures" = " " 96"source" = "󰒋 " 97# Keep in mind that the order matters. For example: 98# "Important Documents" = " 󰈙 " 99# will not be replaced, because "Documents" was already substituted before. 100# So either put "Important Documents" before "Documents" or use the substituted version: 101# "Important 󰈙 " = " 󰈙 " 102 103[c] 104symbol = " " 105style = "bg:#86BBD8 fg:#FF6B6B" 106format = '[ $symbol ($version) ]($style)' 107 108[cpp] 109symbol = " " 110style = "bg:#86BBD8 fg:#FF6B6B" 111format = '[ $symbol ($version) ]($style)' 112 113[docker_context] 114symbol = " " 115style = "bg:#06969A" 116format = '[ $symbol $context ]($style)' 117 118[elixir] 119symbol = " " 120style = "bg:#86BBD8 fg:#FF6B6B" 121format = '[ $symbol ($version) ]($style)' 122 123[elm] 124symbol = " " 125style = "bg:#86BBD8 fg:#FF6B6B" 126format = '[ $symbol ($version) ]($style)' 127 128[git_branch] 129format = '$symbol $branch' 130 131[git_status] 132format = '$all_status$ahead_behind ' 133 134[golang] 135symbol = " " 136style = "bg:#86BBD8 fg:#FF6B6B" 137format = '[ $symbol ($version) ]($style)' 138 139[gradle] 140style = "bg:#86BBD8 fg:#FF6B6B" 141format = '[ $symbol ($version) ]($style)' 142 143[haskell] 144symbol = " " 145style = "bg:#86BBD8 fg:#FF6B6B" 146format = '[ $symbol ($version) ]($style)' 147 148[java] 149symbol = " " 150style = "bg:#86BBD8 fg:#FF6B6B" 151format = '[ $symbol ($version) ]($style)' 152 153[nodejs] 154symbol = " " 155style = "bg:#86BBD8 fg:#FF6B6B" 156format = '[ $symbol ($version) ]($style)' 157 158[bun] 159disabled = false 160symbol = "🧅 " 161format = '[ $symbol ($version) ]($style)' 162detect_files = [ 163 'bun.lock', 164 'bun.lockb', 165 'bunfig.toml', 166 'package.json', 167 "gleam.toml", 168] 169style = "bg:#86BBD8 fg:#FF6B6B" 170 171[lua] 172symbol = " " 173style = "bg:#86BBD8 fg:#FF6B6B" 174format = '[ $symbol ($version) ]($style)' 175 176 177[php] 178symbol = " " 179style = "bg:#86BBD8 fg:#FF6B6B" 180format = '[ $symbol ($version) ]($style)' 181 182 183[nim] 184symbol = "󰆥 " 185style = "bg:#86BBD8 fg:#FF6B6B" 186format = '[ $symbol ($version) ]($style)' 187 188[rust] 189symbol = " " 190style = "bg:#86BBD8 fg:#FF6B6B" 191format = '[ $symbol ($version) ]($style)' 192 193[scala] 194symbol = " " 195style = "bg:#86BBD8 fg:#FF6B6B" 196format = '[ $symbol ($version) ]($style)' 197 198[erlang] 199symbol = " " 200format = "[$symbol ($version) ]($style)" 201style = "bg:#86BBD8 fg:#FF6B6B" 202detect_files = ['rebar.config', 'elang.mk', "gleam.toml"] 203 204[gleam] 205symbol = " " 206format = "[$symbol ($version) ]($style)" 207style = "bg:#86BBD8 fg:#FF6B6B" 208disabled = false 209 210 211[zig] 212symbol = "↯ " 213style = "bg:#86BBD8 fg:#FF6B6B" 214format = '[ $symbol ($version) ]($style)' 215 216[status] 217disabled = false 218style = "bg:#33658A" # Like time. 219# Heart symbol for success, broken heart for failure. 220success_symbol = "💖" 221symbol = "💔" 222format = "[ $symbol]($style)" 223map_symbol =true 224 225 226[time] 227disabled = false 228time_format = "%R" # Hour:Minute Format 229style = "bg:#33658A" 230format = '[ $time ]($style)' 231 232[cmd_duration] 233format = '[ ⏱️ $duration ]($style)' 234style = "bg:#06969A fg:#33658A" 235min_time = 500 236 237 238[mise] 239disabled = true 240symbol = "🐭" 241format = '[ $symbol $health ]($style)' 242detect_files = [ "mise.toml"] 243style = "bg:#e7d1ff fg:#00008b" 244 245[nix_shell] 246format = '[via $symbol$state( \($name\))]($style)' 247style = "bg:#e7d1ff fg:#00008b" 248 249[custom.vcs_status] 250detect_folders = [".git", ".jj"] 251description = "Show git or jj status, styled the same" 252shell = ["bash", "--noprofile"] 253command = ''' 254if [ "$GIT_DIR" == "" ]; then 255 starship module git_status 256else 257jj log --revisions @ --no-graph --ignore-working-copy --color never --limit 1 --template ' 258separate(" ", 259 change_id.shortest(1), 260 bookmarks, 261 262 concat( 263 if(conflict, "💥"), 264 if(divergent, "🚧"), 265 if(hidden, "👻"), 266 if(immutable, "🔒"), 267 ), 268 raw_escape_sequence("") ++ if(empty, "(empty)"), 269 raw_escape_sequence("") ++ coalesce( 270 truncate_end(29, description.first_line(), "…"), 271 "(no description set)", 272 ) ++ raw_escape_sequence(""), 273) 274' 275fi 276''' 277 278format = '[($output)]($style)' 279style = "bg:#FCA17D fg:#2A4D69" 280 281[custom.vcs_branch] 282description = "Show git or jj branch, styled the same" 283shell = ["bash", "-noprofile"] 284command = ''' 285if [ "$GIT_DIR" == "" ]; then 286 starship module git_branch 287else 288 # JJ bookmark should show up here but idk how to yet. 289 echo "jj" 290fi 291''' 292detect_folders = [".git", ".jj"] 293format = '[$symbol($output )]($style)' 294symbol = "" 295style = "bg:#FCA17D fg:#2A4D69"