Skip to content

Commit

Permalink
Add iceberg tmux theme
Browse files Browse the repository at this point in the history
  • Loading branch information
ronylee11 committed Oct 10, 2022
1 parent 7e738a1 commit 56bb8c7
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .config/tmux/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,16 @@ bind-key l select-pane -R
# Disable confirm before killing
bind-key x kill-pane

source ~/.tmux/iceberg_minimal.tmux.conf

# List of plugins
# see this https://github.com/tmux-plugins/tpm to installation
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-open'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
#set -g @plugin 'sei40kr/tmux-onedark'
set -g @plugin "arcticicestudio/nord-tmux"
#set -g @plugin "arcticicestudio/nord-tmux"

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
Expand Down
34 changes: 34 additions & 0 deletions .tmux/iceberg_minimal.tmux.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# FILE: iceberg_minimal.tmux.conf
# REPO: https://github.com/gkeep/iceberg-dark
# MAINTAINER: gkeep <[email protected]>

set -g status-position bottom
set -g status-justify centre
set -g status-style "bg=#1e2132"
set -g window-style ""
set -g window-active-style ""

# modules
module_left_1="#h"
module_left_2="#{client_width}x#{client_height}"

module_right_1="%a %d %b"
module_right_2="%R %Z"

set -g status-left " #[fg=#c6c8d1]$module_left_1 #[fg=#6b7089]$module_left_2"
set -g status-left-style ""
set -g status-left-length 50

set -g status-right "$module_right_1 #[fg=#c6c8d1]$module_right_2 "
set -g status-right-style "fg=#6b7089"
set -g status-right-length 25

set -g window-status-current-style "bold"
set -g window-status-style "fg=#6b7089"
set -g window-status-format " #[fg=#c6c8d1]#{?#{==:#W,fish},#{b:pane_current_path},#W}#F "
set -g window-status-current-format " #[fg=#c6c8d1]#{?#{==:#W,fish},#{b:pane_current_path},#W}#F "
set -g window-status-separator ""

set -g pane-active-border-style "fg=#6b7089"
set -g pane-border-style "fg=#6b7089"

2 changes: 1 addition & 1 deletion .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ nnoremap <silent> <space>k :<C-u>CocPrev<CR>
nnoremap <silent> <space>p :<C-u>CocListResume<CR>
" prettier command for coc
command! -nargs=0 Prettier :CocCommand prettier.formatFile
"command! -nargs=0 Prettier :CocCommand prettier.formatFile

" Formatter
"augroup fmt
Expand Down
2 changes: 2 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]:-$0}"; )" &> /dev/null &&
cp $SCRIPT_DIR/.vimrc ~
cp -r $SCRIPT_DIR/.config ~
cp -r $SCRIPT_DIR/.local ~
mkdir -p ~/.tmux
cp $SCRIPT_DIR/.tmux/iceberg_minimal.tmux.conf ~/.tmux/iceberg_minimal.tmux.conf

0 comments on commit 56bb8c7

Please sign in to comment.