๐Ÿ”’ Backup for my config files
dotfiles
0
fork

Configure Feed

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

change jj starship module style

kacaii 6d29367a 3d9f8f58

+24 -11
+24 -11
.config/starship.toml
··· 15 15 [cmd_duration] 16 16 disabled = true 17 17 18 + # ๏‚ JJ Module ----------------------------------------------------------------- 19 + 18 20 [custom.jj] 19 - ignore_timeout = true 20 21 description = "The current jj status" 21 - detect_folders = [".jj"] 22 + when = "jj --ignore-working-copy root" 23 + symbol = "๏‚ " 22 24 style = "blue" 23 - symbol = "๏‚" 24 - 25 - [custom.jjstate] 26 - ignore_timeout = true 27 - detect_folders = [".jj"] 28 25 command = ''' 29 - jj log -r@ -n1 --ignore-working-copy --no-graph -T "" --stat | tail -n1 | sd "(\d+) files? changed, (\d+) insertions?\(\+\), (\d+) deletions?\(-\)" ' ${1}m ${2}+ ${3}-' | sd " 0." "" 26 + jj log --revisions @ --no-graph --ignore-working-copy --color always --limit 1 --template ' 27 + separate(" ", 28 + change_id.shortest(4), 29 + bookmarks, 30 + "|", 31 + concat( 32 + if(conflict, "๏‡ข"), 33 + if(divergent, "๎‚ "), 34 + if(hidden, "๓ฑ™"), 35 + if(immutable, "๏€ฃ"), 36 + ), 37 + raw_escape_sequence("\x1b[1;32m") ++ if(empty, "(empty)"), 38 + raw_escape_sequence("\x1b[1;32m") ++ coalesce( 39 + truncate_end(29, description.first_line(), "โ€ฆ"), 40 + "(no description set)", 41 + ) ++ raw_escape_sequence("\x1b[0m"), 42 + ) 43 + ' 30 44 ''' 31 45 32 46 [git_status] 33 47 disabled = true 34 48 35 49 [custom.git_status] 36 - ignore_timeout = true 37 50 when = "! jj --ignore-working-copy root" 38 51 command = "starship module git_status" 39 52 style = "" ··· 58 71 style = "" 59 72 60 73 [git_branch] 61 - style = "bold mauve" 62 74 disabled = true 63 75 64 76 [custom.git_branch] 65 - ignore_timeout = true 66 77 when = "! jj --ignore-working-copy root" 67 78 command = "starship module git_branch" 68 79 description = "Only show git_branch if we're not in a jj repo" 69 80 style = "" 81 + 82 + # ๎ปญ Catppuccin ---------------------------------------------------------------- 70 83 71 84 [palettes.catppuccin_mocha] 72 85 rosewater = "#f5e0dc"