mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-14 11:20:19 +01:00
minimal: Add a username@hostname widget
This commit is contained in:
parent
84921d61a3
commit
b2b727a04e
1 changed files with 13 additions and 0 deletions
|
|
@ -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) ";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue