myshellconfig/tmux/plugins/tmux-themepack/README.md
Jakobus Schürz d2f0657629 transition from HOSTCONFIG to MYSHELLCONFIG
and use the same pathes for vim plugin repos on git.schuerz.at as on
github.com
2020-01-14 10:12:00 +01:00

6.4 KiB

Tmux Themepack

A pack of various themes for Tmux.

Installation

Install manually

  1. Clone repo to local machine:

     git clone https://github.com/jimeh/tmux-themepack.git ~/.tmux-themepack
    
  2. Source desired theme in your ~/.tmux.conf:

     source-file "${HOME}/.tmux-themepack/powerline/block/green.tmuxtheme"
    

    In some linux distributions you might have to remove the quotation marks from the source-file command to avoid a no such file or directory error:

     source-file ${HOME}/.tmux-themepack/powerline/block/green.tmuxtheme
    

Install using Tmux Plugin Manager

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

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

You can pick and choose a theme via .tmux.conf option:

  • set -g @themepack 'basic' (default)
  • set -g @themepack 'powerline/block/blue'
  • set -g @themepack 'powerline/block/cyan'
  • set -g @themepack 'powerline/default/gray'
  • set -g @themepack 'powerline/double/magenta'
  • ...

Themes

Basic Themes

Default:

basic

Basic:

basic

Powerline Themes

Inspired by the Powerline VIM plugin, and requires the use of a powerline compatible font in your terminal. You can find a number of such fonts in the powerline-fonts project.

If your preferred font isn't available there, please refer to Powerline's documentation on Font Patching to patch the font yourself.

Powerline Blue:

powerline-default-blue

Powerline Cyan:

powerline-default-cyan

Powerline Gray:

powerline-default-gray

Powerline Green:

powerline-default-green

Powerline Magenta:

powerline-default-magenta

Powerline Orange:

powerline-default-orange

Powerline Red:

powerline-default-red

Powerline Yellow:

powerline-default-yellow

Block

Currently selected window is indicated by a colored block.

Powerline Blue Block:

powerline-block-blue

Powerline Cyan Block:

powerline-block-cyan

Powerline Gray Block:

powerline-block-gray

Powerline Green Block:

powerline-block-green

Powerline Magenta Block:

powerline-block-magenta

Powerline Orange Block:

powerline-block-orange

Powerline Red Block:

powerline-block-red

Powerline Yellow Block:

powerline-block-yellow

Double

Both left and right far sides of the statusbar are colored, rather than just the left side.

Powerline Double Blue:

powerline-double-blue

Powerline Double Cyan:

powerline-double-cyan

Powerline Double Green:

powerline-double-green

Powerline Double Magenta:

powerline-double-magenta

Powerline Double Orange:

powerline-double-orange

Powerline Double Red:

powerline-double-red

Powerline Double Yellow:

powerline-double-yellow

Tips

  • Use different themes/colors on different machines by using some sort of wrapper around launching Tmux.

Contributing

If you decide to contribute your own tmux themes, please try to base it on the default.tmuxtheme theme. This ensures that switching between themes works as it should and completely overwrites all settings from previous themes.

If it's not possible to base your theme on my default one, something is probably missing from it. So please contribute a fix to the default theme too in that case :)

License

        DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                    Version 2, December 2004

 Copyright (C) 2013 Jim Myhrberg

 Everyone is permitted to copy and distribute verbatim or modified
 copies of this license document, and changing it is allowed as long
 as the name is changed.

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  0. You just DO WHAT THE FUCK YOU WANT TO.