Start tmux on alacritty startup

This commit is contained in:
punkfairie 2024-02-06 20:24:37 -08:00
parent dbf31958fd
commit 6c1420bb9a
No known key found for this signature in database
GPG key ID: 0858B0F48128A755
2 changed files with 5 additions and 1 deletions

View file

@ -4,6 +4,10 @@ import = [
'~/dotfiles/alacritty/catppuccin-mocha.toml'
]
[shell]
program = "/usr/local/bin/fish"
args = ["-c", "tmux attach -t main || tmux new -s main"]
[env]
TERM = 'xterm-256color'

View file

@ -20,7 +20,7 @@ setw -g pane-base-index 1
# Automatically renumber windows when one is deleted.
set -g renumber-windows on
set -g default-terminal "tmux-256color"
set -g default-terminal "xterm-256color"
set -ag terminal-overrides ",*:RGB"
################################################################################