Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tmux (when used with byobu) colouring #33

Open
eddelbuettel opened this issue Dec 17, 2018 · 2 comments
Open

tmux (when used with byobu) colouring #33

eddelbuettel opened this issue Dec 17, 2018 · 2 comments

Comments

@eddelbuettel
Copy link

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...

@dustinkirkland
Copy link

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

@arcticicestudio
Copy link
Contributor

arcticicestudio commented Jun 12, 2019

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 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants