dont show name unless its not us
All checks were successful
/ test (push) Successful in 2s
/ test2 (push) Successful in 1s

This commit is contained in:
sneakers-the-rat 2024-10-31 16:05:33 -07:00
parent 87f7e3418c
commit 28ee12a6a1
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D

View file

@ -18,7 +18,7 @@
"powerline_symbol": "\ue0b4", "powerline_symbol": "\ue0b4",
"leading_diamond": "\ue0b6", "leading_diamond": "\ue0b6",
"style": "diamond", "style": "diamond",
"template": "{{.Icon}} ", "template": "{{.Icon}}",
"type": "os" "type": "os"
}, },
{ {
@ -26,7 +26,7 @@
"foreground": "p:text", "foreground": "p:text",
"powerline_symbol": "\ue0b4", "powerline_symbol": "\ue0b4",
"style": "diamond", "style": "diamond",
"template": "{{ .UserName }}", "template": "{{ if ne .UserName \"jonny\" }} {{ .UserName }}{{ end }}",
"type": "session" "type": "session"
}, },
{ {