psmux-plugins icon indicating copy to clipboard operation
psmux-plugins copied to clipboard

Nord theme uses different status-bar settings depending on how it's loaded

Open lydia7635 opened this issue 1 month ago • 1 comments

Environment

  • Windows 11 version 25H2
  • PowerShell 7.6.7
  • psmux 3.4.0 (20aa1d7 2026-10-13)
  • PPM version: commit 9a4d552

Summary

I get different status-bar separators and colors when loading psmux-theme-nord through PPM versus running its PowerShell script directly.

Reproduction

Using PPM in ~/.psmux.conf:

set -g @plugin 'psmux-plugins/psmux-theme-nord'

The status bar uses standard Unicode separators, and the theme options in ~/.psmux.conf don’t appear to affect them.

Image

Running the PowerShell script directly in ~/.psmux.conf:

set -g @nord-show-powerline 'on'
set -g @nord-separator 'arrow'

run-shell 'pwsh -NoProfile -File "~/.psmux/plugins/psmux-theme-nord/psmux-theme-nord.ps1"'

The status bar initially shows the default theme, then changes to Nord with arrow separators after several seconds. The options in ~/.psmux.conf affect the result.

Image

Expected

Loading the theme through PPM should produce the same result as running its PowerShell script, including respecting the theme options.

Note: I changed @nord-powerline-style to @nord-separator in the example because the script reads @nord-separator.

lydia7635 avatar Oct 15 '26 14:10 lydia7635

Thanks @lydia7635, this was a good catch, and you were right about @nord-separator too.

When a theme is loaded with set -g @plugin, psmux sources the theme's plugin.conf. That file is a fixed look and never read the @nord-* options. Running the .ps1 yourself took a different path, so you got two different bars from the same config.

Fixed in d31f8a1. plugin.conf still paints its look straight away, then hands over to psmux-theme-nord.ps1 as soon as you have set any @nord-* option. Both ways of loading now end up with the same bar, and the options work whether they sit before or after the @plugin line. The other themes with options got the same fix, and the Nord README now lists the options the script really reads.

To get it, update with PPM (prefix + U) and restart the server. psmux-plugins has no tagged releases; PPM installs from main.

psmux avatar Nov 07 '26 21:11 psmux