Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jimeh committed Oct 5, 2013
0 parents commit 821ce09
Show file tree
Hide file tree
Showing 26 changed files with 1,999 additions and 0 deletions.
160 changes: 160 additions & 0 deletions README.md
@@ -0,0 +1,160 @@
# Tmux Themepack

A pack of various themes for Tmux.


## Installation

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"


## Tips

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


## Previews

### Basic Themes

**Default:**

![basic](https://raw.github.com/jimeh/tmux-themepack-previews/master/default-preview.png)

**Basic:**

![basic](https://raw.github.com/jimeh/tmux-themepack-previews/master/basic-preview.png)

### Powerline Themes

Inspired by the [Powerline](https://github.com/Lokaltog/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](https://github.com/Lokaltog/powerline-fonts) project.

**Powerline Blue:**

![powerline-default-blue](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/default/blue-preview.png)

**Powerline Cyan:**

![powerline-default-cyan](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/default/cyan-preview.png)

**Powerline Gray:**

![powerline-default-gray](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/default/gray-preview.png)

**Powerline Green:**

![powerline-default-green](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/default/green-preview.png)

**Powerline Magenta:**

![powerline-default-magenta](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/default/magenta-preview.png)

**Powerline Orange:**

![powerline-default-orange](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/default/orange-preview.png)

**Powerline Red:**

![powerline-default-red](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/default/red-preview.png)

**Powerline Yellow:**

![powerline-default-yellow](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/default/yellow-preview.png)

#### Block

Currently selected window is indicated by a colored block.

**Powerline Blue Block:**

![powerline-block-blue](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/block/blue-preview.png)

**Powerline Cyan Block:**

![powerline-block-cyan](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/block/cyan-preview.png)

**Powerline Gray Block:**

![powerline-block-gray](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/block/gray-preview.png)

**Powerline Green Block:**

![powerline-block-green](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/block/green-preview.png)

**Powerline Magenta Block:**

![powerline-block-magenta](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/block/magenta-preview.png)

**Powerline Orange Block:**

![powerline-block-orange](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/block/orange-preview.png)

**Powerline Red Block:**

![powerline-block-red](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/block/red-preview.png)

**Powerline Yellow Block:**

![powerline-block-yellow](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/block/yellow-preview.png)

#### Double

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

**Powerline Double Blue:**

![powerline-double-blue](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/double/blue-preview.png)

**Powerline Double Cyan:**

![powerline-double-cyan](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/double/cyan-preview.png)

**Powerline Double Green:**

![powerline-double-green](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/double/green-preview.png)

**Powerline Double Magenta:**

![powerline-double-magenta](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/double/magenta-preview.png)

**Powerline Double Orange:**

![powerline-double-orange](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/double/orange-preview.png)

**Powerline Double Red:**

![powerline-double-red](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/double/red-preview.png)

**Powerline Double Yellow:**

![powerline-double-yellow](https://raw.github.com/jimeh/tmux-themepack-previews/master/powerline/double/yellow-preview.png)


## License

```
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 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.
```
64 changes: 64 additions & 0 deletions basic.tmuxtheme
@@ -0,0 +1,64 @@
# Status update interval
set -g status-interval 1

# Basic status bar colors
set -g status-bg black
set -g status-fg cyan

# Left side of status bar
set -g status-left-bg black
set -g status-left-fg green
set -g status-left-length 40
set -g status-left "#S #[fg=white]» #[fg=yellow]#I #[fg=cyan]#P"

# Right side of status bar
set -g status-right-bg black
set -g status-right-fg cyan
set -g status-right-length 40
set -g status-right "#H #[fg=white]« #[fg=yellow]%H:%M:%S #[fg=green]%d-%b-%y"

# Window status
set -g window-status-format " #I:#W#F "
set -g window-status-current-format " #I:#W#F "

# Current window status
set -g window-status-current-bg red
set -g window-status-current-fg black

# Window with activity status
set -g window-status-activity-bg yellow # fg and bg are flipped here due to a
set -g window-status-activity-fg black # bug in tmux

# Window separator
set -g window-status-separator ""

# Window status alignment
set -g status-justify centre

# Pane border
set -g pane-border-bg default
set -g pane-border-fg default

# Active pane border
set -g pane-active-border-bg default
set -g pane-active-border-fg green

# Pane number indicator
set -g display-panes-colour default
set -g display-panes-active-colour default

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

# Message
set -g message-bg default
set -g message-fg default

# Command message
set -g message-command-bg default
set -g message-command-fg default

# Mode
set -g mode-bg red
set -g mode-fg default
72 changes: 72 additions & 0 deletions default.tmuxtheme
@@ -0,0 +1,72 @@
#
# Default Tmux Theme
#

# This theme matches Tmux's default style as closely as possible. It functions
# as a template for creating new themes, and as a way to reset a running Tmux
# server's style to it's defaults.

# Status update interval
set -g status-interval 15

# Basic status bar colors
set -g status-bg green
set -g status-fg black

# Left side of status bar
set -g status-left-bg green
set -g status-left-fg black
set -g status-left-length 10
set -g status-left "[#S]"

# Right side of status bar
set -g status-right-bg green
set -g status-right-fg black
set -g status-right-length 40
set -g status-right "\"#H\" %H:%M %d-%b-%y"

# Window status
set -g window-status-format "#I:#W#F"
set -g window-status-current-format "#I:#W#F"

# Current window status
set -g window-status-current-bg green
set -g window-status-current-fg black

# Window with activity status
set -g window-status-activity-bg green # fg and bg are flipped here due to a
set -g window-status-activity-fg black # bug in tmux

# Window separator
set -g window-status-separator " "

# Window status alignment
set -g status-justify left

# Pane border
set -g pane-border-bg default
set -g pane-border-fg white

# Active pane border
set -g pane-active-border-bg default
set -g pane-active-border-fg green

# Pane number indicator
set -g display-panes-colour blue
set -g display-panes-active-colour red

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

# Message
set -g message-bg yellow
set -g message-fg black

# Command message
set -g message-command-bg green
set -g message-command-fg black

# Mode
set -g mode-bg yellow
set -g mode-fg black
74 changes: 74 additions & 0 deletions powerline/block/blue.tmuxtheme
@@ -0,0 +1,74 @@
#
# Powerline Blue Block - Tmux Theme
# Created by Jim Myhrberg <contact@jimeh.me>.
#
# Inspired by vim-powerline: https://github.com/Lokaltog/powerline
#
# Requires terminal to be using a powerline compatible font, find one here:
# https://github.com/Lokaltog/powerline-fonts
#

# Status update interval
set -g status-interval 1

# Basic status bar colors
set -g status-fg colour240
set -g status-bg colour233

# Left side of status bar
set -g status-left-bg colour233
set -g status-left-fg colour243
set -g status-left-length 40
set -g status-left "#[fg=colour232,bg=colour24,bold] #S #[fg=colour24,bg=colour240,nobold]⮀#[fg=colour233,bg=colour240] #(whoami) #[fg=colour240,bg=colour235]⮀#[fg=colour240,bg=colour235] #I:#P #[fg=colour235,bg=colour233,nobold]⮀"

# Right side of status bar
set -g status-right-bg colour233
set -g status-right-fg colour243
set -g status-right-length 150
set -g status-right "#[fg=colour235,bg=colour233]⮂#[fg=colour240,bg=colour235] %H:%M:%S #[fg=colour240,bg=colour235]⮂#[fg=colour233,bg=colour240] %d-%b-%y #[fg=colour245,bg=colour240]⮂#[fg=colour232,bg=colour245,bold] #H "

# Window status
set -g window-status-format " #I:#W#F "
set -g window-status-current-format " #I:#W#F "

# Current window status
set -g window-status-current-bg colour24
set -g window-status-current-fg colour232

# Window with activity status
set -g window-status-activity-bg colour31 # fg and bg are flipped here due to
set -g window-status-activity-fg colour233 # a bug in tmux

# Window separator
set -g window-status-separator ""

# Window status alignment
set -g status-justify centre

# Pane border
set -g pane-border-bg default
set -g pane-border-fg colour238

# Active pane border
set -g pane-active-border-bg default
set -g pane-active-border-fg colour24

# Pane number indicator
set -g display-panes-colour colour233
set -g display-panes-active-colour colour245

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

# Message
set -g message-bg colour24
set -g message-fg black

# Command message
set -g message-command-bg colour233
set -g message-command-fg black

# Mode
set -g mode-bg colour24
set -g mode-fg colour231

0 comments on commit 821ce09

Please sign in to comment.