add hostname

This commit is contained in:
m3philis
2025-03-02 22:21:16 +01:00
parent e3ee353b4c
commit 7887fee53c

View File

@@ -2,8 +2,10 @@ format = """
[](color_user_bg)\
$os\
$username\
$hostname\
[](fg:color_user_bg bg:color_directory_bg)\
$directory\
$direnv\
[](fg:color_directory_bg bg:color_git_bg)\
$git_branch\
$git_status\
@@ -77,6 +79,11 @@ style_root = "fg:color_user_fg bg:color_user_bg"
format = '[ $user]($style)'
disabled = false
[hostname]
ssh_only = false
style = 'fg:color_user_fg bg:color_user_bg'
format = '[@$hostname$ssh_symbol ]($style)'
# An alternative to the username module which displays a symbol that
# represents the current operating system
[os]