srcery-colors / srcery-terminal

Srcery theme terminal configurations
MIT License
198 stars 17 forks source link

Color scheme for tmux #4

Closed MindTooth closed 6 years ago

MindTooth commented 6 years ago

Hi,

Been at it again.. Couldn't have a tmux that didn't conform. Borrowed some ideas from Arctic Ice Studios & jimeh. Maybe at some point I'll extend it more to be a complete style β€” with options, etc., and at a later time we could create a new repo, so installing it via package manager would be possible.

Thoughts?

screen shot 2018-05-15 at 14 29 03 screen shot 2018-05-15 at 14 33 19 screen shot 2018-05-15 at 14 33 40 screen shot 2018-05-15 at 14 34 02

Initial code:

# Mein Status Style
set -g status-style fg=brightwhite,bg=brightblack

# Left Side Style
set -g status-left-style fg=brightwhite,bg=colour237
set -g status-left-length 40
set -g status-left "#[fg=brightwhite,bg=colour237,bold] #S #[fg=brightwhite,bg=colour236,nobold] #(whoami) #[fg=brightwhite,bg=brightblack] #I:#P #(page_mode) "

# Right side of status bar
set -g status-right-style fg=brightwhite,bg=colour237
set -g status-right-length 150
set -g status-right "#[fg=brightwhite,bg=brightblack] %H:%M #[fg=brightwhite,bg=colour236] %d-%b-%y #[fg=brightwhite,bg=colour237,bold] #H "

# Window status
set -g window-status-format "#[fg=default,bg=default,italics] #I:#W (#F) "
set -g window-status-current-format "#[fg=brightwhite,bg=colour236,bold] #I:#W (#F) "

# Current window status
set -g window-status-current-style fg=colour235,bg=colour100

# Pane border
set -g pane-border-style fg=colour236,bg=default
set -g pane-active-border-style fg=colour238,bg=default

# Clock mode
set -g clock-mode-colour brightwhite
set -g clock-mode-style 24

# Command message
set -g message-command-style fg=brightwhite,bg=brightblack

set -g mode-style fg=brightwhite,bold,bg=colour237

# Message
set -g message-style fg=brightwhite,bg=brightblack

# Pane number indicator
set -g display-panes-colour colour239
set -g display-panes-active-colour brightwhite

set -g window-status-separator ""
roosta commented 6 years ago

Looks great. I got a tmux theme as well, but much more bare bones than yours. I'll have a proper look at this once I'm done at work.

roosta commented 6 years ago

tmux Heres mine, got the panes on the left side, and the session|host on the right.

roosta commented 6 years ago

But like I've mentioned yours seems more complete. Feel free to add it.

MindTooth commented 6 years ago

Then I'll add it. Not sure about the pane border quite yet. Feel them being to soft. But I can't completely mimic the Vim way, as the divider is different between horizontal and vertical.

roosta commented 6 years ago

I prefer my pane borders very visible, hence the magenta and bright white colors. Got the same thing going in i3wm. I also made a tmux plugin that flashes the active pane when you switch. I just really dislike not knowing where I am at any given time.

MindTooth commented 6 years ago

Added support for tmux-prefix-highlight. Will attempt a powerline version soon.

Prefix Mode

screen shot 2018-05-17 at 14 48 06

Copy Mode

screen shot 2018-05-17 at 14 46 09
roosta commented 6 years ago

very nice, keep up the good work.

MindTooth commented 6 years ago

Powerline glyphs, but subtle. They are not in with Vim yet?

screen shot 2018-05-17 at 18 30 40
MindTooth commented 6 years ago

So this happened.. I'll stop for now :P

https://github.com/MindTooth/tmux-srcery

roosta commented 6 years ago

:D powerline is quite in with vim, I'm just not personally fond of them, I think they're a lot of hassle to set up and doesn't add anything. Looks cool though.

MindTooth commented 6 years ago

Crazy idea, what is you thoughts on creating a org that we can have every individual scheme under β€” the ones that needs to at least in the beginning, like https://github.com/arcticicestudio? That is only if it is something that you could stand by. I follow your opinion. As I have truly fallen in love as you can see ;)

The reason I ask, is I like a more central place, but also that e.g. using TPM to install tmux plugins/themes, the theme need to be at top level. And the added benefit that it might be easier to concentrate in individual schemes.

P.S. On a later note, I would like some guidelines on how to best comment the code (formatting of the code block, and make that universal.)

Ed1t: srcery is taken, but something like srcery-colors, srcery-color-scheme, united-colors-of-srcery :)

roosta commented 6 years ago

I'm not adverse to creating an org, it makes sense like you suggested for stuff that needs to be top level. I'll have a look at that over the weekend.

As for guidelines, haven't really thought to much about that, your best judgment is as good as mine I think. Most of what I can come up with is either just common sense, or completely subjective. If you were to press me I guess I got opinions but not much more. Besides whatever I say now, is surly not gonna be reflected in my code :D

I'm liking srcery-colors for name.

roosta commented 6 years ago

Think I'm gonna hold of creating an org for the time being. We can link your tmux theme in the contrib repo for now if you'd like, and we'll see about creating an org when there is a bit more content to put in it.

MindTooth commented 6 years ago

Sure. Fine with me πŸ‘

I'll review the code more this week, and add a link to it.

roosta commented 6 years ago

So, I finally got around to creating an org. Added you as a member so feel free to add your tmux theme and whatever else you feel fits.

roosta commented 6 years ago

Also I was thinking another name for this repo, any suggestions?

MindTooth commented 6 years ago

I don't seem to be added as of yet. I'll gladly move over the tmux, and at some point maybe the temp website 🀣

One might argue that perhaps now, the order of names could change (I know GitHub handle redirects well)? srcery-vim instead of vim-srcery, etc. Then maybe a name such like srcery-extras, or keeping srcery-contrib would suffice. We could also split the stuff from the contrib repo into its own repos, like srcery-terminal, srcery-shell, etc.

roosta commented 6 years ago

alright, renamed the repos, and I agree that we should split out to srcery-terminal and srcery-shell and whatever else we got. I thought I sent you an invite when I created the org but seems not. I've re-sent it now.

MindTooth commented 6 years ago

Thanks. First org ever for me πŸ˜†

roosta commented 6 years ago

It was a good suggestion. Welcome to srcery-colors :D

MindTooth commented 6 years ago

http://mindtooth.no/srcery.github.io Coming along πŸ˜† Also, felt a bit unsure where to discuss stuff like this. New thread in extra maybe?

Care to rename the tmux one, and give me some permissions? Moved before I had named it correctly.

roosta commented 6 years ago

Maybe add an discussion thread over at https://github.com/srcery-colors/srcery ? I've set default permission to write, sorry about that, I'm new to this whole organization thing myself. Set you as admin on tmux-srcery. Can you change the name now?

roosta commented 6 years ago

Also the site looks awesome!

roosta commented 6 years ago

Or a thread in extras seems as good an idea

MindTooth commented 6 years ago

Also the site looks awesome!

Thanks, btw. 😊