mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Add Tmux (#4562)
* Add Tmux Being able to use a unified terminal setup between local and remote hosts has some real advantages. * Renaming is more important than reloading * Self-explanatory, really * Add alias for it * Attach to last used session or start a new if we have none * Just stick to n/p * Make it a clean 10x * We don't need this * Keep similar fixes together * Keep bindings together * Hate looking at that 0 * Add way to refresh theme from its templates (when they've changed) * Fix
This commit is contained in:
committed by
GitHub
parent
f2f306269a
commit
ffafe1727e
@@ -34,6 +34,7 @@ alias ....='cd ../../..'
|
||||
alias c='opencode'
|
||||
alias d='docker'
|
||||
alias r='rails'
|
||||
alias t='tmux attach || tmux new -s Work'
|
||||
n() { if [ "$#" -eq 0 ]; then nvim .; else nvim "$@"; fi; }
|
||||
|
||||
# Git
|
||||
|
||||
11
default/themed/tmux.conf.tpl
Normal file
11
default/themed/tmux.conf.tpl
Normal file
@@ -0,0 +1,11 @@
|
||||
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 }}"
|
||||
Reference in New Issue
Block a user