Git Product home page Git Product logo

tmux-base16-statusline's Introduction

Tmux Base16 Statusline

Tmux statusline based on base16-shell. This project has been created forking the amazing tmux-themepack tmux plugin.


Shell's default ANSI colors: base16-gruvbox-dark-hard


Table of Contents

  1. Screenshots
  2. Nerd Fonts Support
  3. Installation
  4. Configuration
  5. Plugin Support
  6. TODO

Screenshots

Base

Prompt

Copy

Nerd Fonts Support

Nerd Fonts

Font used on the screenshoots

Monoid

Installation

Install using Tmux Plugin Manager

  1. Add plugin to the list of TPM plugins in .tmux.conf:

     set -g @plugin 'jatap/tmux-base16-statusline'
    
  2. Hit prefix + I to fetch the plugin and source it. The plugin should now be working.

Configuration

Select theme via .tmux.conf option:

    set -g @base16-statusline 'main'

<CHAR1> can be configured on the status-left to separate session name to overwrite its default value:

    set -g @base16-statusline-separator-session-name '@'

<CHAR2> can be configured on the status-left to separate panes number and active pane to overwrite its default value:

    set -g @base16-statusline-main-separator '|'

<CHAR2> can also be used on the status-right as @main_separator:

    set -g status-right "#{prefix_highlight} #[fg=yellow]%H:%M:%S #[fg=white]#{@main_separator} #[fg=green]%d-%b-%y "

it's mandatory to add status right on the ~/.tmux.conf file to show prefix_highlight

Plugin Support

tmux-prefix-highlight

Select tmux-prefix-highlight options via .tmux.conf:

    set -g @prefix_highlight_bg black
    set -g @prefix_highlight_fg red
    set -g @prefix_highlight_prefix_prompt '<CHAR3>'
    set -g @prefix_highlight_show_copy_mode 'on'
    set -g @prefix_highlight_copy_prompt '<CHAR4> '
    set -g @prefix_highlight_copy_mode_attr "fg=red,bg=black,bold"
    set -g @prefix_highlight_output_prefix ''
    set -g @prefix_highlight_output_suffix ''

Characters referenced on the project

Character Image Description
\uf461 char1 CHAR1 * Used on the status-left after the session-name
\ufc5e char2 CHAR2 * Used on the status-left and status-right as a separator
\uf6d7 char3 CHAR3 * Used on the @prefix_highlight_prefix_prompt option
\uf0c5 char4 CHAR4 * Used on the @prefix_highlight_copy_prompt option

TODO

  • Move status-right to the theme

tmux-base16-statusline's People

Contributors

jatap avatar

Watchers

 avatar

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.