Change tmux theme to support stats in powerline again
This commit is contained in:
18
dot_config/nvim/lua/plugins/which-key.lua
Normal file
18
dot_config/nvim/lua/plugins/which-key.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
return {
|
||||
"folke/which-key.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
"<leader>?",
|
||||
function()
|
||||
require("which-key").show({ global = false })
|
||||
end,
|
||||
desc = "Buffer Local Keymaps (which-key)",
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -1,77 +0,0 @@
|
||||
#
|
||||
# Powerline Double Green - 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=colour233,bg=colour100,bold] #S #[fg=colour100,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=colour100,bg=colour240]#[fg=colour233,bg=colour100,bold] #H "
|
||||
|
||||
# Window status
|
||||
set -g window-status-format " #I:#W#F "
|
||||
set -g window-status-current-format "#[fg=colour233,bg=black]#[fg=colour190,nobold] #I:#W#F #[fg=colour233,bg=black,nobold]"
|
||||
|
||||
# Current window status
|
||||
set -g window-status-current bg=colour100
|
||||
set -g window-status-current fg=colour235
|
||||
|
||||
# Window with activity status
|
||||
set -g window-status-activity bg=colour245
|
||||
# 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=colour100
|
||||
|
||||
# Pane number indicator
|
||||
set -g display-panes-colour colour233
|
||||
set -g display-panes-active-colour=colour245
|
||||
|
||||
# Clock mode
|
||||
set -g clock-mode-colour colour100
|
||||
set -g clock-mode-style 24
|
||||
|
||||
# Message
|
||||
set -g message-bg colour100
|
||||
set -g message-fg black
|
||||
|
||||
# Command message
|
||||
set -g message-command-bg colour233
|
||||
set -g message-command-fg black
|
||||
|
||||
# Mode
|
||||
set -g mode bg=colour100
|
||||
set -g mode fg=colour235
|
||||
@@ -16,8 +16,7 @@ set-window-option -g pane-base-index 1
|
||||
|
||||
#run-shell "/home/sebastian/tools/tmux-power/tmux-power.tmux"
|
||||
|
||||
set -g @tmux_power_theme 'forest'
|
||||
|
||||
#set -g @tmux_power_theme 'forest'
|
||||
|
||||
set -g @tmux_power_date_icon ' ' # set it to a blank will disable the icon
|
||||
set -g @tmux_power_time_icon '🕘' # emoji can be used if your terminal supports
|
||||
@@ -28,6 +27,9 @@ set -g @tmux_power_download_speed_icon '↓'
|
||||
|
||||
set -g @tmux_power_show_upload_speed true
|
||||
set -g @tmux_power_show_download_speed true
|
||||
# nice but too grey
|
||||
# set -g @tmux_power_theme 'snow'
|
||||
set -g @tmux_power_theme 'moon'
|
||||
|
||||
# if run as "tmux attach", create a session if one does not already exist
|
||||
#new-session -n $HOST
|
||||
@@ -71,11 +73,7 @@ set -g @plugin 'wfxr/tmux-power'
|
||||
set -g @plugin 'wfxr/tmux-net-speed'
|
||||
|
||||
|
||||
set -g @plugin "nordtheme/tmux"
|
||||
|
||||
|
||||
|
||||
run '~/.config/tmux/plugins/tpm/tpm'
|
||||
|
||||
#set -g @plugin "nordtheme/tmux"
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
|
||||
run '~/.config/tmux/plugins/tpm/tpm'
|
||||
|
||||
Reference in New Issue
Block a user