commit
65c4ab02ad
107 changed files with 6694 additions and 0 deletions
@ -0,0 +1,39 @@
@@ -0,0 +1,39 @@
|
||||
#!/bin/sh |
||||
|
||||
battery_status() |
||||
{ |
||||
ioreg -c AppleSmartBattery -w0 | \ |
||||
grep -o '"[^"]*" = [^ ]*' | \ |
||||
sed -e 's/= //g' -e 's/"//g' | \ |
||||
sort | \ |
||||
while read key value; do |
||||
case $key in |
||||
"MaxCapacity") |
||||
export maxcap=$value;; |
||||
"CurrentCapacity") |
||||
export curcap=$value;; |
||||
"ExternalConnected") |
||||
export extconn="${value}" |
||||
if [ "$value" = "No" ]; then |
||||
export extconn="-" |
||||
else |
||||
export extconn="+" |
||||
fi |
||||
;; |
||||
"FullyCharged") |
||||
if [ "$value" = "Yes" ]; then |
||||
exit |
||||
fi |
||||
;; |
||||
esac |
||||
if [[ -n "$maxcap" && -n $curcap ]]; then |
||||
echo "${extconn}"$(( 100 * $curcap / $maxcap )) |
||||
break |
||||
fi |
||||
done |
||||
} |
||||
|
||||
BATTERY_STATUS=`battery_status` |
||||
[ -z "$BATTERY_STATUS" ] && exit |
||||
|
||||
echo ${BATTERY_STATUS}% |
@ -0,0 +1,2 @@
@@ -0,0 +1,2 @@
|
||||
# Force text files to have unix eols, so Windows/Cygwin does not break them |
||||
*.* eol=lf |
@ -0,0 +1,43 @@
@@ -0,0 +1,43 @@
|
||||
# Changelog |
||||
|
||||
### master |
||||
- remove `detach-on-destroy` |
||||
- do not set `aggressive-resize` on iTerm terminal |
||||
- disable `detach-on-destroy` |
||||
|
||||
### v3.0.0, 2015-06-24 |
||||
- remove 'almost sensible' feature |
||||
|
||||
### v2.3.0, 2015-06-24 |
||||
- update to support \*THE\* latest tmux version |
||||
- bugfix for `prefix + R` key binding |
||||
- fix for tmux 2.0 `default-terminal` option (thanks @kwbr) |
||||
|
||||
### v2.2.0, 2015-02-10 |
||||
- bugfix in `key_binding_not_set`: the regex is now properly detecting key |
||||
bindings with `-r` flag. |
||||
- enable `aggressive-resize` |
||||
|
||||
### v2.1.0, 2014-12-12 |
||||
- check before binding `prefix + prefix` (@m1foley) |
||||
- enable `focus-events` |
||||
- deprecate 'almost sensible' feature. The reason for this is to focus the |
||||
plugin on doing just one thing. |
||||
|
||||
### v2.0.0, 2014-10-03 |
||||
- bugfix: prevent exiting tmux if 'reattach-to-user-namespace' is not installed |
||||
- remove all mouse-related options |
||||
- introduce 'almost sensible' setting and options |
||||
|
||||
### v1.1.0, 2014-08-30 |
||||
- bugfix: determine the default shell from the $SHELL env var on OS X |
||||
- set `mode-mouse on` by default |
||||
- do not make any decision about the prefix, just enhance it |
||||
- update `README.md`. List options set in the plugin. |
||||
- do *not* set `mode-mouse on` by default because some users don't like it |
||||
- if a user changes default prefix but binds `C-b` to something else, do not |
||||
unbind `C-b` |
||||
|
||||
### v1.0.0, 2014-07-30 |
||||
- initial work on the plugin |
||||
- add readme |
@ -0,0 +1,19 @@
@@ -0,0 +1,19 @@
|
||||
Copyright (C) 2014 Bruno Sutic |
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining |
||||
a copy of this software and associated documentation files (the "Software"), |
||||
to deal in the Software without restriction, including without limitation |
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense, |
||||
and/or sell copies of the Software, and to permit persons to whom the |
||||
Software is furnished to do so, subject to the following conditions: |
||||
|
||||
The above copyright notice and this permission notice shall be included |
||||
in all copies or substantial portions of the Software. |
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
||||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE |
||||
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
@ -0,0 +1,114 @@
@@ -0,0 +1,114 @@
|
||||
# Tmux sensible |
||||
|
||||
A set of tmux options that should be acceptable to everyone. |
||||
|
||||
Inspired by [vim-sensible](https://github.com/tpope/vim-sensible). |
||||
|
||||
Tested and working on Linux, OSX and Cygwin. |
||||
|
||||
### Principles |
||||
|
||||
- `tmux-sensible` options should be acceptable to **every** tmux user!<br/> |
||||
If any of the options bothers you, please open an issue and it will probably |
||||
be updated (or removed). |
||||
- if you think a new option should be added, feel free to open a pull request. |
||||
- **no overriding** of user defined settings.<br/> |
||||
Your existing `.tmux.conf` settings are respected and they won't be changed. |
||||
That way you can use `tmux-sensible` if you have a few specific options. |
||||
|
||||
### Goals |
||||
|
||||
- group standard tmux community options in one place |
||||
- remove clutter from your `.tmux.conf` |
||||
- educate new tmux users about basic options |
||||
|
||||
### Options |
||||
|
||||
# utf8 is on |
||||
set -g utf8 on |
||||
set -g status-utf8 on |
||||
|
||||
# address vim mode switching delay (http://superuser.com/a/252717/65504) |
||||
set -s escape-time 0 |
||||
|
||||
# increase scrollback buffer size |
||||
set -g history-limit 50000 |
||||
|
||||
# tmux messages are displayed for 4 seconds |
||||
set -g display-time 4000 |
||||
|
||||
# refresh 'status-left' and 'status-right' more often |
||||
set -g status-interval 5 |
||||
|
||||
# set only on OS X where it's required |
||||
set -g default-command "reattach-to-user-namespace -l $SHELL" |
||||
|
||||
# upgrade $TERM |
||||
set -g default-terminal "screen-256color" |
||||
|
||||
# emacs key bindings in tmux command prompt (prefix + :) are better than |
||||
# vi keys, even for vim users |
||||
set -g status-keys emacs |
||||
|
||||
# focus events enabled for terminals that support them |
||||
set -g focus-events on |
||||
|
||||
# super useful when using "grouped sessions" and multi-monitor setup |
||||
setw -g aggressive-resize on |
||||
|
||||
### Key bindings |
||||
|
||||
# easier and faster switching between next/prev window |
||||
bind C-p previous-window |
||||
bind C-n next-window |
||||
|
||||
Above bindings enhance the default `prefix + p` and `prefix + n` bindings by |
||||
allowing you to hold `Ctrl` and repeat `a + p`/`a + n` (if your prefix is |
||||
`C-a`), which is a lot quicker. |
||||
|
||||
# source .tmux.conf as suggested in `man tmux` |
||||
bind R source-file '~/.tmux.conf' |
||||
|
||||
"Adaptable" key bindings that build upon your `prefix` value: |
||||
|
||||
# if prefix is 'C-a' |
||||
bind C-a send-prefix |
||||
bind a last-window |
||||
|
||||
If prefix is `C-b`, above keys will be `C-b` and `b`.<br/> |
||||
If prefix is `C-z`, above keys will be `C-z` and `z`... you get the idea. |
||||
|
||||
### Installation with [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm) (recommended) |
||||
|
||||
Add plugin to the list of TPM plugins in `.tmux.conf`: |
||||
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible' |
||||
|
||||
Hit `prefix + I` to fetch the plugin and source it. That's it! |
||||
|
||||
### Manual Installation |
||||
|
||||
Clone the repo: |
||||
|
||||
$ git clone https://github.com/tmux-plugins/tmux-sensible ~/clone/path |
||||
|
||||
Add this line to the bottom of `.tmux.conf`: |
||||
|
||||
run-shell ~/clone/path/sensible.tmux |
||||
|
||||
Reload TMUX environment with `$ tmux source-file ~/.tmux.conf`, and that's it. |
||||
|
||||
### Other goodies |
||||
|
||||
You might also find these useful: |
||||
|
||||
- [copycat](https://github.com/tmux-plugins/tmux-copycat) |
||||
improve tmux search and reduce mouse usage |
||||
- [pain control](https://github.com/tmux-plugins/tmux-pain-control) |
||||
useful standard bindings for controlling panes |
||||
- [resurrect](https://github.com/tmux-plugins/tmux-resurrect) |
||||
persists tmux environment across system restarts |
||||
|
||||
### License |
||||
|
||||
[MIT](LICENSE.md) |
@ -0,0 +1,161 @@
@@ -0,0 +1,161 @@
|
||||
#!/usr/bin/env bash |
||||
|
||||
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
||||
|
||||
# used to match output from `tmux list-keys` |
||||
KEY_BINDING_REGEX="bind-key[[:space:]]\+\(-r[[:space:]]\+\)\?\(-T prefix[[:space:]]\+\)\?" |
||||
|
||||
is_osx() { |
||||
local platform=$(uname) |
||||
[ "$platform" == "Darwin" ] |
||||
} |
||||
|
||||
iterm_terminal() { |
||||
[[ "$TERM_PROGRAM" =~ ^iTerm ]] |
||||
} |
||||
|
||||
command_exists() { |
||||
local command="$1" |
||||
type "$command" >/dev/null 2>&1 |
||||
} |
||||
|
||||
# returns prefix key, e.g. 'C-a' |
||||
prefix() { |
||||
tmux show-option -gv prefix |
||||
} |
||||
|
||||
# if prefix is 'C-a', this function returns 'a' |
||||
prefix_without_ctrl() { |
||||
local prefix="$(prefix)" |
||||
echo "$prefix" | cut -d '-' -f2 |
||||
} |
||||
|
||||
option_value_not_changed() { |
||||
local option="$1" |
||||
local default_value="$2" |
||||
local option_value=$(tmux show-option -gv "$option") |
||||
[ "$option_value" == "$default_value" ] |
||||
} |
||||
|
||||
server_option_value_not_changed() { |
||||
local option="$1" |
||||
local default_value="$2" |
||||
local option_value=$(tmux show-option -sv "$option") |
||||
[ "$option_value" == "$default_value" ] |
||||
} |
||||
|
||||
key_binding_not_set() { |
||||
local key="$1" |
||||
if $(tmux list-keys | grep -q "${KEY_BINDING_REGEX}${key}[[:space:]]"); then |
||||
return 1 |
||||
else |
||||
return 0 |
||||
fi |
||||
} |
||||
|
||||
key_binding_not_changed() { |
||||
local key="$1" |
||||
local default_value="$2" |
||||
if $(tmux list-keys | grep -q "${KEY_BINDING_REGEX}${key}[[:space:]]\+${default_value}"); then |
||||
# key still has the default binding |
||||
return 0 |
||||
else |
||||
return 1 |
||||
fi |
||||
} |
||||
|
||||
main() { |
||||
# OPTIONS |
||||
|
||||
# enable utf8 (option removed in tmux 2.2) |
||||
tmux set-option -g utf8 on 2>/dev/null |
||||
|
||||
# enable utf8 in tmux status-left and status-right (option removed in tmux 2.2) |
||||
tmux set-option -g status-utf8 on 2>/dev/null |
||||
|
||||
# address vim mode switching delay (http://superuser.com/a/252717/65504) |
||||
if server_option_value_not_changed "escape-time" "500"; then |
||||
tmux set-option -s escape-time 0 |
||||
fi |
||||
|
||||
# increase scrollback buffer size |
||||
if option_value_not_changed "history-limit" "2000"; then |
||||
tmux set-option -g history-limit 50000 |
||||
fi |
||||
|
||||
# tmux messages are displayed for 4 seconds |
||||
if option_value_not_changed "display-time" "750"; then |
||||
tmux set-option -g display-time 4000 |
||||
fi |
||||
|
||||
# refresh 'status-left' and 'status-right' more often |
||||
if option_value_not_changed "status-interval" "15"; then |
||||
tmux set-option -g status-interval 5 |
||||
fi |
||||
|
||||
# required (only) on OS X |
||||
if is_osx && command_exists "reattach-to-user-namespace" && option_value_not_changed "default-command" ""; then |
||||
tmux set-option -g default-command "reattach-to-user-namespace -l $SHELL" |
||||
fi |
||||
|
||||
# upgrade $TERM, tmux 1.9 |
||||
if option_value_not_changed "default-terminal" "screen"; then |
||||
tmux set-option -g default-terminal "screen-256color" |
||||
fi |
||||
# upgrade $TERM, tmux 2.0+ |
||||
if server_option_value_not_changed "default-terminal" "screen"; then |
||||
tmux set-option -s default-terminal "screen-256color" |
||||
fi |
||||
|
||||
# emacs key bindings in tmux command prompt (prefix + :) are better than |
||||
# vi keys, even for vim users |
||||
tmux set-option -g status-keys emacs |
||||
|
||||
# focus events enabled for terminals that support them |
||||
tmux set-option -g focus-events on |
||||
|
||||
# super useful when using "grouped sessions" and multi-monitor setup |
||||
if ! iterm_terminal; then |
||||
tmux set-window-option -g aggressive-resize on |
||||
fi |
||||
|
||||
# DEFAULT KEY BINDINGS |
||||
|
||||
local prefix="$(prefix)" |
||||
local prefix_without_ctrl="$(prefix_without_ctrl)" |
||||
|
||||
# if C-b is not prefix |
||||
if [ $prefix != "C-b" ]; then |
||||
# unbind obsolete default binding |
||||
if key_binding_not_changed "C-b" "send-prefix"; then |
||||
tmux unbind-key C-b |
||||
fi |
||||
|
||||
# pressing `prefix + prefix` sends <prefix> to the shell |
||||
if key_binding_not_set "$prefix"; then |
||||
tmux bind-key "$prefix" send-prefix |
||||
fi |
||||
fi |
||||
|
||||
# If Ctrl-a is prefix then `Ctrl-a + a` switches between alternate windows. |
||||
# Works for any prefix character. |
||||
if key_binding_not_set "$prefix_without_ctrl"; then |
||||
tmux bind-key "$prefix_without_ctrl" last-window |
||||
fi |
||||
|
||||
# easier switching between next/prev window |
||||
if key_binding_not_set "C-p"; then |
||||
tmux bind-key C-p previous-window |
||||
fi |
||||
if key_binding_not_set "C-n"; then |
||||
tmux bind-key C-n next-window |
||||
fi |
||||
|
||||
# source `.tmux.conf` file - as suggested in `man tmux` |
||||
if key_binding_not_set "R"; then |
||||
tmux bind-key R run-shell ' \ |
||||
tmux source-file ~/.tmux.conf > /dev/null; \ |
||||
tmux display-message "Sourced .tmux.conf!"' |
||||
fi |
||||
} |
||||
main |
@ -0,0 +1,196 @@
@@ -0,0 +1,196 @@
|
||||
# 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" |
||||
|
||||
### Install using [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm) |
||||
|
||||
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:** |
||||
|
||||
 |
||||
|
||||
### 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]: https://github.com/Lokaltog/powerline |
||||
[powerline-fonts]: https://github.com/Lokaltog/powerline-fonts |
||||
[font patching]: https://powerline.readthedocs.org/en/latest/fontpatching.html#font-patching |
||||
|
||||
**Powerline Blue:** |
||||
|
||||
 |
||||
|
||||
**Powerline Cyan:** |
||||
|
||||
 |
||||
|
||||
**Powerline Gray:** |
||||
|
||||
 |
||||
|
||||
**Powerline Green:** |
||||
|
||||
 |
||||
|
||||
**Powerline Magenta:** |
||||
|
||||
 |
||||
|
||||
**Powerline Orange:** |
||||
|
||||
 |
||||
|
||||
**Powerline Red:** |
||||
|
||||
 |
||||
|
||||
**Powerline Yellow:** |
||||
|
||||
 |
||||
|
||||
#### Block |
||||
|
||||
Currently selected window is indicated by a colored block. |
||||
|
||||
**Powerline Blue Block:** |
||||
|
||||
 |
||||
|
||||
**Powerline Cyan Block:** |
||||
|
||||
 |
||||
|
||||
**Powerline Gray Block:** |
||||
|
||||
 |
||||
|
||||
**Powerline Green Block:** |
||||
|
||||
 |
||||
|
||||
**Powerline Magenta Block:** |
||||
|
||||
 |
||||
|
||||
**Powerline Orange Block:** |
||||
|
||||
 |
||||
|
||||
**Powerline Red Block:** |
||||
|
||||
 |
||||
|
||||
**Powerline Yellow Block:** |
||||
|
||||
 |
||||
|
||||
#### Double |
||||
|
||||
Both left and right far sides of the statusbar are colored, rather than just |
||||
the left side. |
||||
|
||||
**Powerline Double Blue:** |
||||
|
||||
 |
||||
|
||||
**Powerline Double Cyan:** |
||||
|
||||
 |
||||
|
||||
**Powerline Double Green:** |
||||
|
||||
 |
||||
|
||||
**Powerline Double Magenta:** |
||||
|
||||
 |
||||
|
||||
**Powerline Double Orange:** |
||||
|
||||
 |
||||
|
||||
**Powerline Double Red:** |
||||
|
||||
 |
||||
|
||||
**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. |
||||
``` |
@ -0,0 +1,64 @@
@@ -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 |
@ -0,0 +1,72 @@
@@ -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 |