Made things pretty
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
d0b7ffb63b
commit
03ec3eea98
4
home/.macchina/config.toml
Normal file
4
home/.macchina/config.toml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
long_uptime = true
|
||||||
|
long_shell = true
|
||||||
|
physical_cores = true
|
||||||
|
show = [ "Host", "Machine", "OperatingSystem", "Terminal", "Shell", "Uptime" ]
|
43
home/.macchina/theme.toml
Normal file
43
home/.macchina/theme.toml
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
|
||||||
|
hide_ascii = true
|
||||||
|
spacing = 1
|
||||||
|
padding = 0
|
||||||
|
separator = "❯"
|
||||||
|
key_color = "Cyan"
|
||||||
|
separator_color = "LightMagenta"
|
||||||
|
|
||||||
|
[bar]
|
||||||
|
glyph = "⭘"
|
||||||
|
symbol_open = ""
|
||||||
|
symbol_close = ""
|
||||||
|
visible = true
|
||||||
|
|
||||||
|
[box]
|
||||||
|
title = " Info "
|
||||||
|
visible = true
|
||||||
|
|
||||||
|
[box.inner_margin]
|
||||||
|
x = 1
|
||||||
|
y = 0
|
||||||
|
|
||||||
|
[randomize]
|
||||||
|
key_color = false
|
||||||
|
separator_color = false
|
||||||
|
|
||||||
|
[keys]
|
||||||
|
host = "Host"
|
||||||
|
kernel = "Kernel"
|
||||||
|
battery = "Battery"
|
||||||
|
os = "OS"
|
||||||
|
distro = "Distro"
|
||||||
|
terminal = "Terminal"
|
||||||
|
shell = "Shell"
|
||||||
|
packages = "Packages"
|
||||||
|
uptime = "Uptime"
|
||||||
|
memory = "Memory"
|
||||||
|
machine = "Machine"
|
||||||
|
local_ip = "IP"
|
||||||
|
backlight = "Brightness"
|
||||||
|
resolution = "Resolution"
|
||||||
|
cpu_load = "CPU Load"
|
||||||
|
cpu = "CPU"
|
@ -14,32 +14,46 @@ format = """\
|
|||||||
$terraform\
|
$terraform\
|
||||||
$package\
|
$package\
|
||||||
$custom\
|
$custom\
|
||||||
|
$time\
|
||||||
$line_break\
|
$line_break\
|
||||||
$jobs\
|
$jobs\
|
||||||
$time\
|
|
||||||
$character\
|
$character\
|
||||||
"""
|
"""
|
||||||
|
|
||||||
command_timeout = 1000
|
command_timeout = 1000
|
||||||
add_newline = true
|
add_newline = true
|
||||||
|
|
||||||
[character]
|
[directory]
|
||||||
success_symbol = "[✨](yellow)"
|
format = "┏ [$path]($style)[$read_only]($read_only_style) "
|
||||||
error_symbol = "[✗](red)"
|
|
||||||
|
|
||||||
[aws]
|
[character]
|
||||||
symbol = " "
|
success_symbol = "┗ [✨](yellow)"
|
||||||
format = "[$symbol$profile]($style) "
|
error_symbol = "┗ [✗](red)"
|
||||||
|
|
||||||
|
[git_branch]
|
||||||
|
format = "⎮ [$symbol$branch]($style) "
|
||||||
|
symbol = "🌱 "
|
||||||
|
|
||||||
[git_commit]
|
[git_commit]
|
||||||
only_detached = true
|
only_detached = true
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
format = '\($all_status$ahead_behind\) '
|
||||||
|
up_to_date = "[✓](green)"
|
||||||
|
modified = "[!](bold fg:208)"
|
||||||
|
untracked = "[?](bold fg:75)"
|
||||||
|
staged = '[++\($count\)](green)'
|
||||||
|
|
||||||
|
[aws]
|
||||||
|
symbol = " "
|
||||||
|
format = "⎮ [$symbol$profile]($style) "
|
||||||
|
|
||||||
[golang]
|
[golang]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
format = "[$symbol$version]($style) "
|
format = "⎮ [$symbol$version](fg:45) "
|
||||||
|
|
||||||
[kubernetes]
|
[kubernetes]
|
||||||
format = '[$symbol$context \($namespace\)]($style) '
|
format = '⎮ [$symbol$context (\($namespace\))]($style) '
|
||||||
symbol = "ﴱ "
|
symbol = "ﴱ "
|
||||||
style = "bold blue"
|
style = "bold blue"
|
||||||
disabled = false
|
disabled = false
|
||||||
@ -47,7 +61,7 @@ disabled = false
|
|||||||
"gs-(?P<cluster>.+)" = "$cluster [MC]"
|
"gs-(?P<cluster>.+)" = "$cluster [MC]"
|
||||||
|
|
||||||
[terraform]
|
[terraform]
|
||||||
format = "[$symbol$version]($style) "
|
format = "⎮ [$symbol$version]($style) "
|
||||||
|
|
||||||
[nodejs]
|
[nodejs]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
@ -60,7 +74,7 @@ map_symbol = true
|
|||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
[helm]
|
[helm]
|
||||||
format = "[$symbol$version]($style) "
|
format = "⎮ [$symbol$version]($style) "
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[cmd_duration]
|
[cmd_duration]
|
||||||
@ -68,4 +82,8 @@ format = " took [$duration]($style) "
|
|||||||
|
|
||||||
[package]
|
[package]
|
||||||
symbol = "📦"
|
symbol = "📦"
|
||||||
format = "[$symbol$version]($style) "
|
format = "⎮ [$symbol$version]($style) "
|
||||||
|
|
||||||
|
[jobs]
|
||||||
|
number_threshold = 1
|
||||||
|
format = "┣ [$symbol $number background jobs\n]($style)"
|
||||||
|
@ -29,3 +29,5 @@ done
|
|||||||
rm -f ~/.zcompdump; compinit
|
rm -f ~/.zcompdump; compinit
|
||||||
|
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
|
|
||||||
|
macchina --config ~/.macchina/config.toml --theme ~/.macchina/theme
|
||||||
|
@ -29,9 +29,9 @@ BREW_TOOLS=(
|
|||||||
git-delta go helm homebrew/cask-fonts/font-open-dyslexic-nerd-font htop jq kind krew
|
git-delta go helm homebrew/cask-fonts/font-open-dyslexic-nerd-font htop jq kind krew
|
||||||
kubectl kubectx kustomize node procs progress ripgrep rs/tap/curlie rust starship
|
kubectl kubectx kustomize node procs progress ripgrep rs/tap/curlie rust starship
|
||||||
tektoncd/tools/tektoncd-cli tldr tailscale yq hashicorp/tap/vault stats
|
tektoncd/tools/tektoncd-cli tldr tailscale yq hashicorp/tap/vault stats
|
||||||
tabby vale lastpass-cli jless
|
tabby vale lastpass-cli jless macchina
|
||||||
)
|
)
|
||||||
CARGO_TOOLS=( macchina bottom )
|
CARGO_TOOLS=( bottom )
|
||||||
NODE_TOOLS=( git-split-diffs )
|
NODE_TOOLS=( git-split-diffs )
|
||||||
KREW_TOOLS=( gs outdated tree stern )
|
KREW_TOOLS=( gs outdated tree stern )
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user