summaryrefslogtreecommitdiff
path: root/config/essentials/starship.toml
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-06-06 15:29:58 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-06-06 15:29:58 +0200
commitad05cb18f03f3a97a918e090c38ba760147a0bb6 (patch)
tree233097b3ccbf1a4fef18a291d0d8fda3fba34c03 /config/essentials/starship.toml
parent1a7e35285abb5db60d2e1544ce0100e82c5d3490 (diff)
parent511b6c1bc9acd9e6029d08a6c448f6e0037755fb (diff)
Merge branch 'main' of db:dotfiles
Diffstat (limited to 'config/essentials/starship.toml')
-rw-r--r--config/essentials/starship.toml14
1 files changed, 6 insertions, 8 deletions
diff --git a/config/essentials/starship.toml b/config/essentials/starship.toml
index cd5832f..efcaf48 100644
--- a/config/essentials/starship.toml
+++ b/config/essentials/starship.toml
@@ -3,7 +3,7 @@
# Inserts a blank line between shell prompts
add_newline = false
# format = ' ${custom.upds}'
-format = ' [\[$username@$hostname\]](bg:#000000) ${custom.upds}$all'
+format = ' [\[$username@$hostname\]](bg:#000000) $all'
right_format = """$status"""
[character]
@@ -32,10 +32,8 @@ min_time = 500
format = '($status)'
disabled = false
-[custom.upds]
-command = 'cat ~/.cache/updates' # shows output of command
-# detect_files = ['foo'] # can specify filters but wildcards are not supported
-when = ''' test "$(cat ~/.cache/updates)" -gt 0'''
-symbol = '📦'
-format = '$output$symbol '
-
+# [custom.upds]
+# command = 'cat ~/.cache/updates' # shows output of command
+# when = '[ "$(cat ~/.cache/updates)" -gt 0 ]'
+# symbol = '📦'
+# format = '$output$symbol '