about summary refs log tree commit diff
path: root/config/starship
diff options
context:
space:
mode:
authorvenomade <venomade@venomade.com>2026-03-06 00:09:04 +0000
committervenomade <venomade@venomade.com>2026-03-06 00:09:04 +0000
commita6543a0ba0e5399515e3dbe507a8bd12958839cc (patch)
tree8de9d667e644fcda3c40440bd23a9d30666a175b /config/starship
parenta568a964fd6a9efba388b2b4919339c0b7dfe51d (diff)
Nix Emacs HEAD master
Add Emacs Darwin to the pkgs
Other neovim and tangential things
Diffstat (limited to 'config/starship')
-rw-r--r--config/starship/config.toml12
1 files changed, 9 insertions, 3 deletions
diff --git a/config/starship/config.toml b/config/starship/config.toml
index 6165b64..d9cd4d2 100644
--- a/config/starship/config.toml
+++ b/config/starship/config.toml
@@ -5,6 +5,7 @@
 add_newline = true
 
 format = """
+${custom.linux}
 $nix_shell\
 $directory\
 $git_branch\
@@ -21,6 +22,14 @@ $cmd_duration\
 $line_break\
 $character"""
 
+[custom.linux]
+format = '[$symbol \[$output\]]($style) '
+symbol = ' '
+command = "cat /etc/os-release | grep '^ID=' | sed 's/ID=//' | sed 's/^./\\U&/'"
+os = 'linux'
+style = 'bold #f5e0dc'
+when = true
+
 [nix_shell]
 format = '[$symbol]($style) '
 symbol = '󱄅 '
@@ -84,8 +93,5 @@ success_symbol = '[󰘧](bold #a6e3a1)'
 error_symbol = '[󰘧](bold #f38ba8)'
 
 # TODO
-# - [container]
-# - [docker_context]
 # - [direnv]
-# CONTINUE FROM HERE