diff --git a/docs/public/presets/img/jetpack.png b/docs/public/presets/img/jetpack.png index f5c618291..ab24fd64b 100644 Binary files a/docs/public/presets/img/jetpack.png and b/docs/public/presets/img/jetpack.png differ diff --git a/docs/public/presets/toml/jetpack.toml b/docs/public/presets/toml/jetpack.toml index 28d3ea94f..b1dfb9cb6 100644 --- a/docs/public/presets/toml/jetpack.toml +++ b/docs/public/presets/toml/jetpack.toml @@ -1,14 +1,18 @@ -format = """ -$cmd_duration\ +# version: 1.0.0 + +add_newline = true +continuation_prompt = "[▸▹ ](dimmed white)" + +format = """($nix_shell$container$fill$git_metrics\n)$cmd_duration\ $hostname\ $localip\ $shlvl\ $shell\ $env_var\ -$username\ +$jobs\ $sudo\ -$character\ -""" +$username\ +$character""" right_format = """ $singularity\ @@ -19,7 +23,6 @@ $fossil_branch\ $git_branch\ $git_commit\ $git_state\ -$git_metrics\ $git_status\ $hg_branch\ $pijul_channel\ @@ -68,7 +71,6 @@ $vlang\ $vagrant\ $zig\ $buf\ -$nix_shell\ $conda\ $meson\ $spack\ @@ -79,53 +81,59 @@ $openstack\ $azure\ $crystal\ $custom\ -$jobs\ $status\ $os\ -$container\ $battery\ -$time\ -""" +$time""" -add_newline = true +[fill] +symbol = ' ' [character] format = "$symbol " -success_symbol = "[◉](bold italic bright-yellow)" -error_symbol = "[⊘](italic purple)" +success_symbol = "[◎](bold italic bright-yellow)" +error_symbol = "[○](italic purple)" +vimcmd_symbol = "[■](italic dimmed green)" +# not supported in zsh +vimcmd_replace_one_symbol = "◌" +vimcmd_replace_symbol = "□" +vimcmd_visual_symbol = "▼" -[env_var.VIMSHELL] # vim subshell +[env_var.VIMSHELL] format = "[$env_value]($style)" style = 'green italic' [sudo] format = "[$symbol]($style)" -style = "italic bright-purple" -symbol = "◇┈" +style = "bold italic bright-purple" +symbol = "⋈┈" disabled = false [username] -style_user = "yellow bold" +style_user = "bright-yellow bold italic" style_root = "purple bold italic" -format = "[$user]($style) ▻ " +format = "[⭘ $user]($style) " disabled = false +show_always = false [directory] home_symbol = "⌂" truncation_length = 2 -truncation_symbol = "▦ " -read_only = " ■" +truncation_symbol = "□ " +read_only = " ◈" +use_os_path_sep = true style = "italic blue" -format = ' [$path]($style)[$read_only]($read_only_style)' +format = '[$path]($style)[$read_only]($read_only_style)' +repo_root_style = 'bold blue' +repo_root_format = '[$before_root_path]($before_repo_root_style)[$repo_root]($repo_root_style)[$path]($style)[$read_only]($read_only_style) [△](bold bright-blue)' [cmd_duration] -min_time = 500 -format = "[$duration ](italic bright-yellow)" +format = "[◄ $duration ](italic white)" [jobs] -format = "[ $symbol$number]($style)" +format = "[$symbol$number]($style) " style = "white" -symbol = "[▶ ](blue italic)" +symbol = "[▶](blue italic)" [localip] ssh_only = true @@ -137,99 +145,118 @@ disabled = false format = "[ $time]($style)" time_format = "%R" utc_time_offset = "local" -style = "dimmed white" +style = "italic dimmed white" [battery] format = "[ $percentage $symbol]($style)" -full_symbol = "[█](italic green)" -charging_symbol = "[↑](italic green)" -discharging_symbol = "[↓](italic)" -unknown_symbol = "[░](italic)" -empty_symbol = "[▃](italic red)" +full_symbol = "█" +charging_symbol = "[↑](italic bold green)" +discharging_symbol = "↓" +unknown_symbol = "░" +empty_symbol = "▃" [[battery.display]] -threshold = 40 -style = "dimmed yellow" +threshold = 20 +style = "italic bold red" + +[[battery.display]] +threshold = 60 +style = "italic dimmed bright-purple" [[battery.display]] threshold = 70 -style = "dimmed white" +style = "italic dimmed yellow" [git_branch] -format = "[ $symbol $branch(:$remote_branch)]($style)" -symbol = "[◬](bold bright-blue)" -style = "bold italic bright-blue" +format = " [$branch(:$remote_branch)]($style)" +symbol = "[△](bold italic bright-blue)" +style = "italic bright-blue" +truncation_symbol = "⋯" +truncation_length = 11 +ignore_branches = ["main", "master"] +only_attached = true + +[git_metrics] +format = '([▴$added]($added_style))([▿$deleted]($deleted_style))' +added_style = 'italic dimmed green' +deleted_style = 'italic dimmed red' +ignore_submodules = true +disabled = false [git_status] -style = "italic bright-blue" -format = """([⎪$ahead_behind$staged$modified$untracked$renamed$deleted$conflicted$stashed⎥]($style))""" +style = "bold italic bright-blue" +format = "([⎪$ahead_behind$staged$modified$untracked$renamed$deleted$conflicted$stashed⎥]($style))" conflicted = "[◪◦](italic bright-magenta)" -ahead = "[▲│[${count}](bold white)│](italic green)" -behind = "[▽│[${count}](bold white)│](italic red)" -diverged = "[◇ ▲┤[${ahead_count}](regular white)│▽┤[${behind_count}](regular white)│](italic bright-magenta)" +ahead = "[▴│[${count}](bold white)│](italic green)" +behind = "[▿│[${count}](bold white)│](italic red)" +diverged = "[◇ ▴┤[${ahead_count}](regular white)│▿┤[${behind_count}](regular white)│](italic bright-magenta)" untracked = "[◌◦](italic bright-yellow)" -stashed = "[◦◫◦](italic white)" +stashed = "[◃◈](italic white)" modified = "[●◦](italic yellow)" -staged = "[■┤[$count](bold white)│](italic bright-cyan)" +staged = "[▪┤[$count](bold white)│](italic bright-cyan)" renamed = "[◎◦](italic bright-blue)" deleted = "[✕](italic red)" [deno] -format = " deno [∫ $version](blue italic)" -version_format = "${major}.${minor}" +format = " [deno](italic) [∫ $version](green bold)" +version_format = "${raw}" [lua] -format = " lua [${symbol}${version}]($style)" +format = " [lua](italic) [${symbol}${version}]($style)" +version_format = "${raw}" symbol = "⨀ " -style = "italic bright-yellow" +style = "bold bright-yellow" [nodejs] -format = " node [◫ ($version)](italic bright-green)" +format = " [node](italic) [◫ ($version)](bold bright-green)" +version_format = "${raw}" detect_files = ["package-lock.json", "yarn.lock"] -version_format = "${major}.${minor}" +detect_folders = ["node_modules"] +detect_extensions = [] [python] -format = " py [${symbol}${version}]($style)" -symbol = "[⌉](italic bright-blue)⌊ " -version_format = "${major}.${minor}" -style = "italic bright-yellow" +format = " [py](italic) [${symbol}${version}]($style)" +symbol = "[⌉](bold bright-blue)⌊ " +version_format = "${raw}" +style = "bold bright-yellow" [ruby] -format = " rb [${symbol}${version}]($style)" +format = " [rb](italic) [${symbol}${version}]($style)" symbol = "◆ " -version_format = "${major}.${minor}" -style = "italic red" +version_format = "${raw}" +style = "bold red" [rust] -format = " rs [$symbol$version]($style)" +format = " [rs](italic) [$symbol$version]($style)" symbol = "⊃ " -version_format = "${major}.${minor}" -style = "italic red" +version_format = "${raw}" +style = "bold red" [package] -format = " pkg [$symbol$version]($style)" -version_format = "${major}.${minor}" -symbol = "◫ " -style = "bright-yellow italic" +format = " [pkg](italic dimmed) [$symbol$version]($style)" +version_format = "${raw}" +symbol = "◨ " +style = "dimmed yellow italic bold" [swift] -format = " sw [${symbol}${version}]($style)" +format = " [sw](italic) [${symbol}${version}]($style)" symbol = "◁ " -style = "italic bright-red" -version_format = "${major}.${minor}" +style = "bold bright-red" +version_format = "${raw}" [aws] -format = " aws [$symbol $profile $region]($style)" -style = "italic blue" +disabled = true +format = " [aws](italic) [$symbol $profile $region]($style)" +style = "bold blue" symbol = "▲ " [buf] symbol = "■ " -format = " buf [$symbol $version $buf_version]($style)" +format = " [buf](italic) [$symbol $version $buf_version]($style)" [c] -symbol = "∁ " -format = " c [$symbol($version(-$name))]($style)" +symbol = "ℂ " +format = " [$symbol($version(-$name))]($style)" [conda] symbol = "◯ " @@ -276,8 +303,12 @@ symbol = "▴▲▴ " format = " nim [$symbol($version )]($style)" [nix_shell] -symbol = "⊛ " -format = " nix [$symbol$state $name]($style)" +style = 'bold italic dimmed blue' +symbol = '✶' +format = '[$symbol nix⎪$state⎪]($style) [$name](italic dimmed white)' +impure_msg = '[⌽](bold dimmed red)' +pure_msg = '[⌾](bold dimmed green)' +unknown_msg = '[◌](bold dimmed ellow)' [spack] symbol = "◇ "