nordtheme/tmux

tmux (when used with byobu) colouring

eddelbuettel opened this issue ยท 2 comments

Loving Nord, and my tweet got the attention of the byobu author and friend @dustinkirkland.

byobu is a rather 'wrapper' and new UI around screen, or more commonly, tmux. I have spent quite some time mucking with ~/.byobu/color.tmux setting BYOBU_DARK to any one of nord0, ...nord3 to mimic what the (awesome !!) nord-emacs mode does the modeline: a darkish blue that meshes well with the main colour.

But not luck. Is there something else going on with color intensity I need to take into account? Having the emacs colors in tmux (while keeping byobu semantics) would be close to dream state for me...

Hey Dirk, so your best bet would be to get the Nord colors mapped to HTML color codes. See https://github.com/dustinkirkland/byobu/blob/master/usr/lib/byobu/include/colors

You should be able to customize those in ~/.byobu/color.tmux

Cheers!
Dustin

Hi @eddelbuettel ๐Ÿ‘‹, nice to see you like Nord ๐Ÿ˜„
Sorry for the delay, unfortunately my limited free time blocks me when it comes to maintain some of the Nord projects and due to the many notifications I get every day this issue got lost in the ticket crowd.

I'm not familiar with byobu so I'd also need to reproduce the rendering and check out the code, but thankfully the author @dustinkirkland himself responded ๐Ÿ˜„
Regarding nord-emacs modeline: Do you mean the coloring when enabling the nord-uniform-mode-lines (background: nord3, foreground: nord8) option or the default styling?

Here are the styles for the different states and option. Maybe this is helpful to customize the color mappings of byobu.

nord-uniform-mode-lines ? Background Foreground Active Buffer?
true nord3 (#4C566A nord8 (#88C0D0) yes
true nord3 (#4C566A nord4 (#D8DEE9) no
false (default) nord3 (#4C566A nord8 (#88C0D0) yes
false (default) nord1 (#3B4252 nord4 (#D8DEE9) no

@eddelbuettel Please let me know if this helps, otherwise I'll setup m test system to check how to achieve the style.
@dustinkirkland Thanks a lot for your help, really nice to see you're also supporting users outside of your project when it comes to third-party integrations ๐Ÿ‘