mirror of
https://github.com/bgrolleman/dotfiles.git
synced 2025-12-06 05:45:24 +01:00
Add my tmux config
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "tmux/plugins/catppuccin/tmux"]
|
||||
path = tmux/plugins/catppuccin/tmux
|
||||
url = https://github.com/catppuccin/tmux.git
|
||||
1
tmux/plugins/catppuccin/tmux
Submodule
1
tmux/plugins/catppuccin/tmux
Submodule
Submodule tmux/plugins/catppuccin/tmux added at 14a546fb64
32
tmux/tmux.conf
Normal file
32
tmux/tmux.conf
Normal file
@@ -0,0 +1,32 @@
|
||||
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
|
||||
|
||||
|
||||
# Options to make tmux more pleasant
|
||||
set -g mouse on
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -g base-index 1
|
||||
set -g renumber-windows on
|
||||
|
||||
# Configure the catppuccin plugin
|
||||
set -g @catppuccin_flavor "mocha"
|
||||
set -g @catppuccin_window_status_style "slanted"
|
||||
|
||||
# Load catppuccin
|
||||
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
|
||||
|
||||
# Make the status line pretty and add some modules
|
||||
set-option -g status-position top
|
||||
set -g status-right-length 100
|
||||
set -g status-left-length 100
|
||||
|
||||
set -g status-left "#[fg=#{@thm_teal},bg=#{@thm_crust}]#[fg=#{@thm_crust},bg=#{@thm_teal}] #(hostname -s) "
|
||||
|
||||
#set -g status-left "#[fg=$thm_green,bg=$thm_bg,nobold,nounderscore,noitalics]#[fg=$thm_bg,bg=$thm_green,nobold,nounderscore,noitalics] #[fg=$thm_fg,bg=$thm_bg]#(hostname -s) "
|
||||
set -g status-right "#{E:@catppuccin_status_application}"
|
||||
#set -agF status-right "#{E:@catppuccin_status_cpu}"
|
||||
set -ag status-right "#{E:@catppuccin_status_session}"
|
||||
#set -ag status-right "#{E:@catppuccin_status_uptime}"
|
||||
#set -agF status-right "#{E:@catppuccin_status_battery}"
|
||||
|
||||
#run ~/.config/tmux/plugins/tmux-plugins/tmux-cpu/cpu.tmux
|
||||
#run ~/.config/tmux/plugins/tmux-plugins/tmux-battery/battery.tmux
|
||||
Reference in New Issue
Block a user