Just rely on terminal for coloring

We don't need a full theme
This commit is contained in:
David Heinemeier Hansson
2026-02-10 08:31:15 +01:00
parent ffafe1727e
commit 4d48409926
3 changed files with 22 additions and 13 deletions

5
bin/omarchy-refresh-tmux Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
# Overwrite the user tmux config with the Omarchy default and reload tmux.
omarchy-refresh-config tmux/tmux.conf

View File

@@ -1,5 +1,7 @@
# Theme # Prefix
source-file ~/.config/omarchy/current/theme/tmux.conf set -g prefix C-Space
set -g prefix2 C-b
bind C-Space send-prefix
# General # General
set -g default-terminal "tmux-256color" set -g default-terminal "tmux-256color"
@@ -22,6 +24,19 @@ set -g status-left-length 30
set -g status-right-length 50 set -g status-right-length 50
set -g window-status-separator "" set -g window-status-separator ""
# Theme
set -g status-style "bg=default,fg=default"
set -g status-left "#[fg=black,bg=blue,bold] #S #[bg=default] "
set -g status-right "#[fg=blue]#{?client_prefix,PREFIX ,}#[fg=brightblack]#h "
set -g window-status-format "#[fg=brightblack] #I:#W "
set -g window-status-current-format "#[fg=blue,bold] #I:#W "
set -g pane-border-style "fg=brightblack"
set -g pane-active-border-style "fg=blue"
set -g message-style "bg=default,fg=blue"
set -g message-command-style "bg=default,fg=blue"
set -g mode-style "bg=blue,fg=black"
setw -g clock-mode-colour blue
# Reload config # Reload config
bind M-r source-file ~/.config/tmux/tmux.conf bind M-r source-file ~/.config/tmux/tmux.conf

View File

@@ -1,11 +0,0 @@
set -g status-style "bg={{ background }},fg={{ foreground }}"
set -g status-left "#[fg={{ background }},bg={{ accent }},bold] #S #[bg={{ background }}] "
set -g status-right "#[fg={{ accent }}]#{?client_prefix,PREFIX ,}#[fg={{ color8 }}]#h "
set -g window-status-format "#[fg={{ color8 }}] #I:#W "
set -g window-status-current-format "#[fg={{ accent }},bold] #I:#W "
set -g pane-border-style "fg={{ color8 }}"
set -g pane-active-border-style "fg={{ accent }}"
set -g message-style "bg={{ background }},fg={{ accent }}"
set -g message-command-style "bg={{ background }},fg={{ accent }}"
set -g mode-style "bg={{ accent }},fg={{ background }}"
setw -g clock-mode-colour "{{ accent }}"