|
2 | 2 |
|
3 | 3 | {
|
4 | 4 | programs = {
|
| 5 | + atuin = { |
| 6 | + enable = true; |
| 7 | + daemon.enable = true; |
| 8 | + }; |
| 9 | + |
5 | 10 | dircolors = {
|
6 | 11 | enable = false;
|
7 | 12 | enableFishIntegration = config.programs.fish.enable;
|
|
46 | 51 | settings = {
|
47 | 52 | command_timeout = 3000;
|
48 | 53 | format = "$username$hostname$nix_shell$character";
|
49 |
| - right_format = "$directory$git_branch$git_commit$git_state$git_status"; |
| 54 | + right_format = "$directory$git_branch$git_state$git_commit$git_status"; |
50 | 55 |
|
51 | 56 | character = {
|
52 |
| - success_symbol = "[♥](bold green)"; |
53 |
| - error_symbol = "[♥](bold red)"; |
54 |
| - vimcmd_symbol = "[♡](bold purple)"; |
55 |
| - vimcmd_replace_symbol = "[♡](bold green)"; |
56 |
| - vimcmd_replace_one_symbol = "[♡](bold green)"; |
57 |
| - vimcmd_visual_symbol = "[♡](bold yellow)"; |
| 57 | + success_symbol = "[ ♥ ](fg:black bg:cyan)"; |
| 58 | + error_symbol = "[ ♥ ](fg:black bg:red)"; |
| 59 | + vimcmd_symbol = "[ ♡ ](fg:black bg:purple)"; |
| 60 | + vimcmd_replace_symbol = "[ ♡ ](fg:black bg:green)"; |
| 61 | + vimcmd_replace_one_symbol = "[ ♡ ](fg:black bg:green)"; |
| 62 | + vimcmd_visual_symbol = "[ ♡ ](fg:black bg:yellow)"; |
58 | 63 | };
|
59 | 64 |
|
60 | 65 | username = {
|
61 |
| - format = "[$user]($style) "; |
| 66 | + style_user = "bg:purple fg:black"; |
| 67 | + style_root = "bg:red fg:black"; |
| 68 | + format = "[ $user ]($style)"; |
62 | 69 | disabled = false;
|
63 | 70 | show_always = true;
|
64 | 71 | };
|
|
70 | 77 | disabled = false;
|
71 | 78 | };
|
72 | 79 |
|
73 |
| - git_commit.format = ''( [\($hash$tag\)]($style))''; |
74 |
| - git_state.format = " [\\($state( $progress_current/$progress_total)\\)]($style)"; |
| 80 | + git_commit = { |
| 81 | + style = "fg:black bg:purple"; |
| 82 | + format = ''[ $hash$tag ]($style)''; |
| 83 | + }; |
| 84 | + |
| 85 | + git_state = { |
| 86 | + style = "fg:black bg:red"; |
| 87 | + format = "[ $state $progress_current/$progress_total ]($style)"; |
| 88 | + }; |
75 | 89 |
|
76 | 90 | git_status = {
|
77 |
| - ahead = "↑"; |
78 |
| - behind = "↓"; |
| 91 | + style = "fg:black bg:red"; |
| 92 | + ahead = "▲"; |
| 93 | + behind = "▼"; |
79 | 94 | conflicted = "±";
|
80 | 95 | deleted = "×";
|
81 |
| - diverged = "↕"; |
| 96 | + diverged = "◊"; |
| 97 | + up_to_date = "√"; |
82 | 98 | modified = "‼";
|
83 | 99 | renamed = "≡";
|
84 |
| - stashed = "⌂"; |
85 |
| - format = ''( [\[$all_status$ahead_behind\]]($style))''; |
| 100 | + stashed = "▽"; |
| 101 | + format = ''[ $all_status$ahead_behind ]($style)''; |
86 | 102 | };
|
87 | 103 |
|
88 | 104 | git_branch = {
|
89 |
| - format = " → [$symbol$branch(:$remote_branch)]($style)"; |
| 105 | + style = "fg:black bg:green"; |
| 106 | + format = "[ $symbol$branch(:$remote_branch) ]($style)"; |
90 | 107 | symbol = "";
|
91 | 108 | };
|
92 | 109 |
|
93 | 110 | battery.disabled = true;
|
94 | 111 | line_break.disabled = true;
|
95 | 112 |
|
96 | 113 | directory = {
|
97 |
| - read_only = "(ro)"; |
98 |
| - format = "[$read_only]($read_only_style) [$path]($style)"; |
| 114 | + style = "bg:blue fg:black"; |
| 115 | + read_only_style = "bg:red fg:black"; |
| 116 | + read_only = " RO "; |
| 117 | + format = "[$read_only]($read_only_style)[ $path ]($style)"; |
99 | 118 | };
|
100 | 119 |
|
101 |
| - nix_shell.format = "[(\\($name\\))]($style) "; |
| 120 | + nix_shell = { |
| 121 | + style = "fg:black bg:yellow"; |
| 122 | + format = "[ $name ]($style)"; |
| 123 | + }; |
102 | 124 | };
|
103 | 125 | };
|
104 | 126 |
|
|
0 commit comments