diff --git a/dotfiles/lib/functions/multiplexer_host_label b/dotfiles/lib/functions/multiplexer_host_label index b2578b48..0c167ee5 100755 --- a/dotfiles/lib/functions/multiplexer_host_label +++ b/dotfiles/lib/functions/multiplexer_host_label @@ -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 diff --git a/nixos/options.nix b/nixos/options.nix index 73f49e02..d02d89f4 100644 --- a/nixos/options.nix +++ b/nixos/options.nix @@ -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" ''; }; }