Make tmux bar default blue
This commit is contained in:
@@ -21,7 +21,7 @@ multiplexer_host_label() {
|
||||
tmux_fg=${MULTIPLEXER_HOST_TMUX_FG:-#ffffff}
|
||||
|
||||
if [ "$tmux_format" -eq 1 ]; then
|
||||
printf '#[fg=%s,bg=%s,bold]%s %s#[default]' "$tmux_fg" "$tmux_bg" "$icon" "$host"
|
||||
printf '%s #[fg=%s,bg=%s,bold] %s #[default]' "$icon" "$tmux_fg" "$tmux_bg" "$host"
|
||||
else
|
||||
printf '%s %s' "$icon" "$host"
|
||||
fi
|
||||
|
||||
@@ -17,7 +17,7 @@ in {
|
||||
background = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "#222222";
|
||||
description = "tmux status bar background color for this host.";
|
||||
description = "tmux machine label background color for this host.";
|
||||
};
|
||||
|
||||
foreground = lib.mkOption {
|
||||
@@ -42,9 +42,9 @@ in {
|
||||
'';
|
||||
|
||||
environment.etc."tmux-host-style.conf".text = ''
|
||||
set -g status-style "fg=${hostIdentity.tmux.foreground},bg=${hostIdentity.tmux.background}"
|
||||
set -g status-left-style "fg=${hostIdentity.tmux.foreground},bg=${hostIdentity.tmux.background}"
|
||||
set -g status-right-style "fg=${hostIdentity.tmux.foreground},bg=${hostIdentity.tmux.background}"
|
||||
set -g status-style "fg=#ffffff,bg=blue"
|
||||
set -g status-left-style "fg=#ffffff,bg=blue"
|
||||
set -g status-right-style "fg=#ffffff,bg=blue"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user