From 4d4840992666d9212526fc7258cfef0b487b934a Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 10 Feb 2026 08:31:15 +0100 Subject: [PATCH] Just rely on terminal for coloring We don't need a full theme --- bin/omarchy-refresh-tmux | 5 +++++ config/tmux/tmux.conf | 19 +++++++++++++++++-- default/themed/tmux.conf.tpl | 11 ----------- 3 files changed, 22 insertions(+), 13 deletions(-) create mode 100755 bin/omarchy-refresh-tmux delete mode 100644 default/themed/tmux.conf.tpl diff --git a/bin/omarchy-refresh-tmux b/bin/omarchy-refresh-tmux new file mode 100755 index 00000000..cda3e64d --- /dev/null +++ b/bin/omarchy-refresh-tmux @@ -0,0 +1,5 @@ +#!/bin/bash + +# Overwrite the user tmux config with the Omarchy default and reload tmux. + +omarchy-refresh-config tmux/tmux.conf diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index 8d323824..3122c36b 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -1,5 +1,7 @@ -# Theme -source-file ~/.config/omarchy/current/theme/tmux.conf +# Prefix +set -g prefix C-Space +set -g prefix2 C-b +bind C-Space send-prefix # General set -g default-terminal "tmux-256color" @@ -22,6 +24,19 @@ set -g status-left-length 30 set -g status-right-length 50 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 bind M-r source-file ~/.config/tmux/tmux.conf diff --git a/default/themed/tmux.conf.tpl b/default/themed/tmux.conf.tpl deleted file mode 100644 index fc16df59..00000000 --- a/default/themed/tmux.conf.tpl +++ /dev/null @@ -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 }}"