summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-12-15 10:59:26 +0200
committerKyren223 <Kyren223@proton.me>2024-12-15 10:59:26 +0200
commita1434b82870c18d0531a4b0642f2ad570865a743 (patch)
treec29de7ee7f85a2497302aa4b688ffea8a36b5979 /.config
parentb30a2cc92a33b2ae2e3a1568d0787947bb792d78 (diff)
Changed a bunch of tmux stuff, fixed annoying issue with hostname for
windows, root cause was catppuccin, removed the true color fixes because it's no longer needed due to using linux + ghostty, but if there r any issues in the future, maybe it's due to this, but everything seems to work
Diffstat (limited to '.config')
-rw-r--r--.config/tmux/tmux.conf42
1 files changed, 14 insertions, 28 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index 97044fa..8b277f1 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -1,8 +1,3 @@
-# Fix colors, undercurl etc, this way pain to figure out
-set-option -as terminal-overrides ",xterm-256color:Tc"
-set -as terminal-overrides ',*:Setulc=\E[58::2::::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'
-set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'
-
# Lua-style indexing
set -g base-index 1
set -g pane-base-index 1
@@ -26,7 +21,7 @@ bind-key s choose-tree -ZsN
bind-key w choose-tree -ZwN
set -g mouse on
-bind-key r source-file ~/.tmux.conf
+bind-key r source-file ~/.config/tmux/tmux.conf
# Navigate panes with Prefix + HJKL
bind-key h select-pane -L
@@ -39,33 +34,24 @@ set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'tmux-plugins/tmux-yank'
-set -g @plugin 'catppuccin/tmux'
-
-# Catppuccin Settings
-set -g @catppuccin_window_left_separator ""
-set -g @catppuccin_window_right_separator " "
-set -g @catppuccin_window_middle_separator " █"
-set -g @catppuccin_window_number_position "right"
-
-set -g @catppuccin_window_default_fill "number"
-set -g @catppuccin_window_default_text "#W"
-
-set -g @catppuccin_window_current_fill "number"
-set -g @catppuccin_window_current_text "#W"
-
-set -g @catppuccin_status_modules_right "directory session"
-set -g @catppuccin_status_left_separator " "
-set -g @catppuccin_status_right_separator ""
-set -g @catppuccin_status_fill "icon"
-set -g @catppuccin_status_connect_separator "no"
-
-set -g @catppuccin_directory_text "#{pane_current_path}"
set -g @plugin 'omerxx/tmux-floax'
set -g @floax-bind '-n M-f'
+# Fix stupid catppuccin renaming windows to hostname for some reason
+set -g @catppuccin_window_text " #W "
+set -g @catppuccin_window_current_text " #W "
+
+set -g @catppuccin_flavor "mocha"
+set -g @catppuccin_window_status_style "basic"
+run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
+set -g status-right-length 100
+set -g status-left-length 100
+set -g status-left " "
+set -g status-right "#{E:@catppuccin_status_session}"
+
# Load TPM, must be the last line
if "test ! -d ~/.tmux/plugins/tpm" \
- "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
+ "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
run '~/.tmux/plugins/tpm/tpm'