minimal: Add a username@hostname widget

This commit is contained in:
Quentin Boyer 2024-08-25 23:57:16 +02:00
parent 84921d61a3
commit b2b727a04e

View file

@ -185,6 +185,7 @@
" "
"$status"
"$cmd_duration"
"($username$hostname )"
"$time"
"](bg:${background})"
"[](${background})"
@ -250,6 +251,18 @@
style = "bold yellow bg:${background}";
};
username = {
format = "[$user]($style)";
style_root = "bold red bg:${background}";
style_user = "bold dimmed green bg:${background}";
};
hostname = {
ssh_only = true;
format = "[@$hostname]($style)";
style = "bold dimmed green bg:${background}";
};
status = {
disabled = false;
format = "[$symbol$status( $signal_name)]($style) ";