GithubHelp home page GithubHelp logo

egel / tmux-gruvbox Goto Github PK

View Code? Open in Web Editor NEW
467.0 2.0 115.0 25 KB

Gruvbox color scheme for Tmux.

License: GNU General Public License v3.0

Shell 100.00%
tmux gruvbox gruvbox-color-scheme gruvbox-dark gruvbox-light

tmux-gruvbox's Introduction

Gruvbox color theme configuration for Tmux

Theme with 'retro groove' flavor for Tmux, based on Pavel Pertsev's gruvbox colorscheme and inspired by work of Gordon Chiam. Subthemes switching inspired by tmux-color-solarized.

Screenshots made from macOS builtin terminal with xterm-256color and Hack font.

Dark theme Light theme

Installation

Install manually

The simplest way is just:

HINT: Always make a backup of your config files before any action.

cat tmux-gruvbox-dark.conf >> ~/.tmux.conf

Install through Tmux Plugin Manager

Add plugin to the list of TPM plugins in .tmux.conf and select desired theme

set -g @plugin 'egel/tmux-gruvbox'
set -g @tmux-gruvbox 'dark' # or 'light'

Hit prefix + I to fetch the plugin and source it. Your Tmux should be updated with the theme at this point.

License

GPLv3 - Maciej Sypień

tmux-gruvbox's People

Contributors

egel avatar fl0w avatar msbrigna avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tmux-gruvbox's Issues

Cannot install via tpm

When I install this plugin via tpm the install seems to work, but I then get the error '~/.tmux/plugins/tpm/tpm' returned 1 when reloading shell and the theme doesn't load.
I am on tmux 3.0a, so it might be a tmux issue but all my other plugins seem to work fine. I could potentially downgrade but just using what apt-get install provided.

How do I remove this?

I gave this plugin a shot and didn't like it, but now it seems I can't get rid of it?
I still see the "theme" applied even though I don't have the plugin in my .tmux.conf and updated via prefix + U

Still see it :( :( :(

(btw the reason I didn't like it was because I lose functionality (* and - and Z indicators))

Gruvbox light theme version

Description

As a developer,

I want to use a light theme Gruvbox for Tmux

so that it can better fit my light terminal theme.

Acceptance

  • implement light Gruvbox theme
  • adjust color to nicely fit the light Gruvbox theme for vim and terminal itself

Additional Information

  • Depends on issue(s): -
  • Related to issue(s): -

Doesn't work on Tmux 2.9

/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:9: invalid option: window-status-bg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:10: invalid option: window-status-fg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:12: invalid option: window-status-activity-bg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:13: invalid option: window-status-activity-fg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:16: invalid option: window-status-current-bg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:17: invalid option: window-status-current-fg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:20: invalid option: pane-active-border-fg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:21: invalid option: pane-border-fg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:24: invalid option: message-bg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:25: invalid option: message-fg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:28: invalid option: message-command-bg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:29: invalid option: message-command-fg
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:43: invalid option: status-attr
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:45: invalid option: status-left-attr
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:47: invalid option: status-right-attr
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:49: invalid option: window-status-activity-attr
/home/andrea/.config/tmux/tmux-gruvbox-dark.conf:50: invalid option: window-status-attr

I think the format has changed:
https://fossies.org/diffs/tmux/2.8_vs_2.9/CHANGES-diff.html

Updating the base github username of the repository

Hello Everyone, dear users of this repository,

recently I've made an important decision to update the GitHub username of my current profile. The details of this decision will explain in later paragraphs and now I want to focus on you, the recipients of this repository.

The important information for you is the implication of changing the base username of my profile may possibly affect also this repository. i.e.: the existing references/URLs of this repository outside may change. Possibly some inconvenience of this action will arise and affect you, I would like to apologize for any inconvenience of this matter in advance, as you, the community of this small repository is very important to me and essential diver to maintaining it further.

There were a couple of reasons why I decided to change the base username of my GitHub profile.
I currently live in Germany, and the primary reason for the change is the negative connotation and meaning of my old nickname "egel" (which, by the way, I invented in my youth as a short, catchy, and easy-to-remember nickname) which literally means "leech" in German - egel. Indirectly, however, it may cause prejudice in the local community against my person through a linguistic meaning that I was not aware of in the past, and which I would like to avoid.

Another reason is to show me as a person, not a subject or hidden personality behind a kind of nickname straight from the movies. I would like what I create to be associated with me and represent the highest quality, which is the kind of quality I want to deliver to the community via my work.

I hope the changes will be understood and accepted even though they may cause some inconvenience. I will perform all efforts in order to make this transition as painless as possible.

Thank you for for your time and understanding,

Best,
Maciej

Make the theme installable through tpm

Thank you

❤️ First off, I absolutely loved this theme, the colours fits really well with my gruvbox theme.

What is this issue about ?

The current installation of tmux-gruvebox is simple but it requires cloning the repo & either moving the content to tmux config file or source the theme file from tmux (which I find better).

The process could be improved by creating this theme as a plugin of TPM, which is a popular package manager for tmux.

Personally, since I've automated scripts, to setup the same environment across platforms or a new machine I prefer these package managers as they handle the cloning & everything for me.

I would be happy to work on it if you agree. Let me know your thoughts.

References

Add contribution file

As a Developer
I want to know how can I contribute to the project
so that my propositions have a format suited for team collaboration

Suggestions for improving window-status

  1. Move zoom indicator to index: *Z can be difficult to see after long names. Window indices are consistent and feels like a more natural place for the indicator: #I#{?window_zoomed_flag,*Z,}
  2. Display pane title for current window: Currently, pane title (which may have useful information) is displayed nowhere. Window name in window-status-current-format could be replaced: #W#T

Arrows in the bar not displaying properly

Hey,

I noticed the arrow is not properly displayed. On the hollow side I can see a tiny red line/border passing through it. Do you know what might have caused this? I have attached an image for clarity.

tmux gruvbox theme

Date and time customization

Will it be possible (already exists?) a possibility to change date and time display? For example have something like %d.%m.%Y.

Thank you!

Unable to customize status-right config

I'm trying to use another plugin https://github.com/MunifTanjim/tmux-mode-indicator to display current tmux mode with the current status-right.

It seems tmux-gruvbox to be overriding the custom config.

Config:

set -g status-right "#[bg=colour237,fg=colour239 nobold, nounderscore, noitalics]#[bg=colour239,fg=colour246] %Y-%m-%d  %H:%M #[bg=colour239,fg=colour248,nobold,noitalics,nounderscore]#[bg=colour248,fg=colour237] #h #{tmux_mode_indicator} "

Steps to reproduce

  1. Load gruvbox plugin
  2. Load tmux-mode-indicator plugin
  3. Load custom status-right config
  4. Custom status-right not updated

NOTE: it only works if

  1. Load the gruvbox plugin
  2. Load custom status-right config
  3. disable the gruvbox plugin from the tmux config (Tmux plugin manager)
  4. reload tmux config tmux source-file ~/.tmux.conf

this is what I'm hoping to display
image

Window zoomed indication missing

When zooming the current window (using z) there is no indication in the bar that the window is zoomed.

Possible solution could be to change #W to #W#{?window_zoomed_flag,*Z,} in the window-status-current-format setting. This adds a *Z indication when the window is zoomed.

Lower Left arrows are not displaying correctly

My arrows on the bottom left look like this.
Screen Shot 2021-02-19 at 10 06 03 AM

They used to look normal about 6 months ago. Like how they looked below
Screen Shot 2021-02-19 at 10 05 23 AM

I use Alacrity and macOS Catalina if that helps. I feel like I may be missing something in my .tmux.conf or even Alacritty config. It also is not displaying correctly in the default terminal app on MacOS and never has.

does not seems to fully work on debian 11 (bullseye)

I've tried in xterm and gnome-terminal on bullseye but the statusline is not styled with the angle separators as expected. If I login remotely from my archlinux laptop, it works fine, so I think it's some kind of terminal problem. I have an almost identical .Xdefaults on both platforms and gnome-terminal doesn't even use that, so I'm out of ideas for why it's not working properly in bullseye.

Help appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.