Convert Figma logo to code with AI

jimeh logotmux-themepack

A pack of various Tmux themes.

1,664
203
1,664
28

Top Related Projects

21,777

🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️

11,935

Tmux Plugin Manager

A list of awesome resources for tmux

:green_book: Example tmux configuration - screen + vim key-bindings, system stat, cpu load bar.

basic tmux settings everyone can agree on

Quick Overview

Tmux-themepack is a collection of various themes for Tmux, a popular terminal multiplexer. It provides a wide range of pre-configured color schemes and status bar layouts to enhance the visual appearance and functionality of Tmux sessions.

Pros

  • Large variety of themes to choose from, catering to different preferences
  • Easy installation and configuration process
  • Themes are customizable and can be further modified
  • Improves the overall aesthetics and readability of Tmux sessions

Cons

  • Some themes may not be compatible with certain terminal emulators or color schemes
  • Limited documentation on how to create custom themes
  • Occasional updates may cause conflicts with user-modified themes
  • Some users may find the number of options overwhelming

Getting Started

To install tmux-themepack using Tmux Plugin Manager (TPM):

  1. Add the following line to your ~/.tmux.conf file:
set -g @plugin 'jimeh/tmux-themepack'
  1. Press prefix + I (capital i) to fetch the plugin and source it.

  2. To apply a theme, add one of the following lines to your ~/.tmux.conf file:

set -g @themepack 'basic'
set -g @themepack 'powerline/block/blue'
set -g @themepack 'powerline/default/gray'
  1. Restart Tmux or source your configuration file:
tmux source-file ~/.tmux.conf

You can explore different themes by changing the theme name in the set -g @themepack line and re-sourcing your configuration file.

Competitor Comparisons

21,777

🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️

Pros of .tmux

  • More comprehensive configuration with advanced features
  • Includes sensible defaults and key bindings out of the box
  • Active development and community support

Cons of .tmux

  • Steeper learning curve due to more complex setup
  • May override existing user configurations

Code Comparison

tmux-themepack:

set -g status-left "#[fg=colour232,bg=colour39,bold] #S #[fg=colour39,bg=colour240,nobold]#[fg=colour233,bg=colour240] #(whoami) #[fg=colour240,bg=colour235]#[fg=colour240,bg=colour235] #I:#P #[fg=colour235,bg=colour233,nobold]"

.tmux:

set -g status-left-length 32
set -g status-left "#{?client_prefix,#[fg=$thm_red],#[fg=$thm_green]}#[bg=$thm_gray,bold] #S #{?client_prefix,#[fg=$thm_red],#[fg=$thm_green]}#[bg=$thm_gray]#{?window_zoomed_flag, 🔍,}"

Summary

tmux-themepack focuses primarily on providing a variety of themes for tmux, offering a simple way to customize the appearance of your tmux sessions. It's easy to install and use, making it ideal for users who want quick visual customization.

.tmux, on the other hand, is a more comprehensive tmux configuration framework. It includes a wide range of features, key bindings, and sensible defaults, aiming to enhance the overall tmux experience. While it requires more setup and learning, it offers greater flexibility and functionality for power users.

11,935

Tmux Plugin Manager

Pros of tpm

  • Provides a plugin management system for tmux, allowing easy installation and updating of multiple plugins
  • Supports a wide range of plugins, not limited to themes
  • Offers automatic plugin installation on tmux startup

Cons of tpm

  • Requires more setup and configuration compared to a simple theme pack
  • May introduce complexity for users who only want to manage themes

Code Comparison

tmux-themepack:

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

tpm:

set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'jimeh/tmux-themepack'
run '~/.tmux/plugins/tpm/tpm'

Summary

tmux-themepack is a collection of themes for tmux, offering a straightforward way to customize the appearance of tmux. It's simple to use and doesn't require additional plugin management.

tpm, on the other hand, is a plugin manager for tmux. It provides a more comprehensive solution for managing various tmux plugins, including themes. While it requires more setup, it offers greater flexibility and easier management of multiple plugins.

The choice between the two depends on the user's needs. For those who only want to change themes, tmux-themepack might be sufficient. For users looking to manage multiple plugins and extend tmux functionality, tpm would be the better choice.

A list of awesome resources for tmux

Pros of awesome-tmux

  • Comprehensive resource collection for tmux, including plugins, themes, and tutorials
  • Regularly updated with community contributions
  • Covers a wide range of tmux-related topics beyond just themes

Cons of awesome-tmux

  • Not a direct theme pack, requires more effort to implement specific themes
  • May be overwhelming for users looking for a simple theme solution
  • Lacks standardized theme installation process

Code comparison

awesome-tmux (example plugin installation):

set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
run '~/.tmux/plugins/tpm/tpm'

tmux-themepack (theme application):

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

Summary

awesome-tmux is a curated list of tmux resources, offering a wealth of information and options for tmux users. It's ideal for those who want to explore various tmux enhancements and customizations. However, it requires more effort to implement specific themes compared to tmux-themepack.

tmux-themepack, on the other hand, is a dedicated collection of themes that can be easily applied to tmux. It's more straightforward for users who primarily want to change their tmux appearance without diving into other customizations.

The choice between the two depends on whether you're looking for a comprehensive tmux resource (awesome-tmux) or a simple theme solution (tmux-themepack).

:green_book: Example tmux configuration - screen + vim key-bindings, system stat, cpu load bar.

Pros of tmux-config

  • More comprehensive configuration, including key bindings and plugins
  • Includes additional features like mouse support and window renaming
  • Provides a complete tmux setup out of the box

Cons of tmux-config

  • Less focused on theming compared to tmux-themepack
  • May require more customization to fit individual preferences
  • Potentially more complex for users who only want theme options

Code Comparison

tmux-config:

# Enable mouse support
set -g mouse on

# Rename windows automatically
set-option -g allow-rename off

# Use vim keybindings in copy mode
setw -g mode-keys vi

tmux-themepack:

# Basic theme configuration
set -g @themepack 'basic'

# Apply powerline theme
set -g @themepack 'powerline/block/blue'

tmux-themepack focuses primarily on providing various theme options, while tmux-config offers a more comprehensive tmux configuration with additional features and customizations. tmux-config may be better suited for users looking for a complete tmux setup, while tmux-themepack is ideal for those specifically interested in theming options.

basic tmux settings everyone can agree on

Pros of tmux-sensible

  • Focuses on sensible default settings for tmux, improving usability out of the box
  • Includes optimizations for terminal behavior and key bindings
  • Lightweight and doesn't interfere with existing user configurations

Cons of tmux-sensible

  • Lacks theming capabilities, as it's not designed for visual customization
  • May not provide enough customization options for advanced users
  • Doesn't include pre-configured color schemes or status bar layouts

Code Comparison

tmux-sensible:

set -g default-terminal "screen-256color"
set -g history-limit 50000
set -g display-time 4000
set -g status-interval 5
set -g focus-events on

tmux-themepack:

set -g status-left-length 32
set -g status-right-length 150
set -g status-style fg=white,bg=colour234
set -g window-status-activity-style bold
set -g pane-border-style fg=colour245

The code snippets highlight the different focus areas of each project. tmux-sensible concentrates on practical settings to enhance tmux functionality, while tmux-themepack provides theme-specific configurations for visual customization.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

Tmux Themepack

A pack of various themes for Tmux for 2.6 or later.

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/default/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/default/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. Press prefix + I to fetch the plugin and source it. The plugin should now be working.

Choose which theme is loaded by setting the @themepack option in your .tmux.conf:

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

Themes

Basic Themes

Default (default):

basic

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-default-blue

Powerline Cyan (powerline/default/cyan):

powerline-default-cyan

Powerline Gray (powerline/default/gray):

powerline-default-gray

Powerline Green (powerline/default/green):

powerline-default-green

Powerline Magenta (powerline/default/magenta):

powerline-default-magenta

Powerline Orange (powerline/default/orange):

powerline-default-orange

Powerline Purple (powerline/default/purple):

powerline-default-purple

Powerline Red (powerline/default/red):

powerline-default-red

Powerline Yellow (powerline/default/yellow):

powerline-default-yellow

Block

Currently selected window is indicated by a colored block.

Powerline Blue Block (powerline/block/blue):

powerline-block-blue

Powerline Cyan Block (powerline/block/cyan):

powerline-block-cyan

Powerline Gray Block (powerline/block/gray):

powerline-block-gray

Powerline Green Block (powerline/block/green):

powerline-block-green

Powerline Magenta Block (powerline/block/magenta):

powerline-block-magenta

Powerline Orange Block (powerline/block/orange):

powerline-block-orange

Powerline Purple Block (powerline/block/purple):

powerline-block-purple

Powerline Red Block (powerline/block/red):

powerline-block-red

Powerline Yellow Block (powerline/block/yellow):

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

Powerline Double Cyan (powerline/double/cyan):

powerline-double-cyan

Powerline Double Green (powerline/double/green):

powerline-double-green

Powerline Double Magenta (powerline/double/magenta):

powerline-double-magenta

Powerline Double Orange (powerline/double/orange):

powerline-double-orange

Powerline Double Purple (powerline/double/purple):

powerline-double-purple

Powerline Double Red (powerline/double/red):

powerline-double-red

Powerline Double Yellow (powerline/double/yellow):

powerline-double-yellow

Customizing

All themes are built with overridable custom @-prefixed Tmux options, which means that any part of a theme can be easily customized.

To customize a theme, simply look at the source to see the list of Tmux options with names beginning with a @, and simply set the desired option in your tmux.conf before the theme is loaded.

Development / Contributing

If you want to contribute a theme, please have them use custom @-prefixed Tmux options like existing themes, so they can be customized the same way.

New themes should be created under the src folder with a .tmuxtheme extension. Please have a look at existing themes to see how files can be included and shared between themes.

To build all themes, just run make build from the root of the project.

All themes also have unit tests which can be found under the test directory. They are written in Go, but hopefully easy to understand. To run all tests, just run make test from the root of the project.

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.