Move Tmux automatic load from ZSH to Foot
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
# === General settings ===
|
# === General settings ===
|
||||||
[main]
|
[main]
|
||||||
shell=/bin/zsh # Default shell to launch in the terminal
|
shell=/bin/zsh -c "exec ~/.profile.d/tmux.sh" # Default shell to launch in the terminal
|
||||||
font=0xProto Nerd Font:size=14 # Font family and size used in the terminal
|
font=0xProto Nerd Font:size=14 # Font family and size used in the terminal
|
||||||
initial-window-size-chars=160x45 # Initial size in character columns x rows
|
initial-window-size-chars=160x45 # Initial size in character columns x rows
|
||||||
selection-target=clipboard # Copy selected text directly to system clipboard
|
selection-target=clipboard # Copy selected text directly to system clipboard
|
||||||
term=foot # Terminal type identifier (useful for compatibility)
|
term=foot # Terminal type identifier (useful for compatibility)
|
||||||
pad=8x8 # Adds 8-pixel padding around the content (horizontal x vertical)
|
pad=8x8 # Adds 8-pixel padding around the content (horizontal x vertical)
|
||||||
|
|
||||||
# === Mouse settings ===
|
# === Mouse settings ===
|
||||||
[mouse]
|
[mouse]
|
||||||
@@ -63,7 +63,7 @@ selection-foreground=cdd6f4 # Color of selected text
|
|||||||
selection-background=414356 # Background color of selected text
|
selection-background=414356 # Background color of selected text
|
||||||
|
|
||||||
search-box-no-match=11111b f38ba8 # Colors for search box when no match is found
|
search-box-no-match=11111b f38ba8 # Colors for search box when no match is found
|
||||||
search-box-match=cdd6f0 313244 # Colors for search box when a match is found
|
search-box-match=cdd6f0 313244 # Colors for search box when a match is found
|
||||||
|
|
||||||
jump-labels=11111b fab387 # Colors for jump labels (e.g., in URL launcher)
|
jump-labels=11111b fab387 # Colors for jump labels (e.g., in URL launcher)
|
||||||
urls=89b4fa # Color for detected URLs
|
urls=89b4fa # Color for detected URLs
|
||||||
|
|||||||
0
zsh/.profile.d/cargo.sh
Normal file → Executable file
0
zsh/.profile.d/cargo.sh
Normal file → Executable file
0
zsh/.profile.d/golang.sh
Normal file → Executable file
0
zsh/.profile.d/golang.sh
Normal file → Executable file
0
zsh/.profile.d/java.sh
Normal file → Executable file
0
zsh/.profile.d/java.sh
Normal file → Executable file
0
zsh/.profile.d/mise.sh
Normal file → Executable file
0
zsh/.profile.d/mise.sh
Normal file → Executable file
5
zsh/.profile.d/tmux.sh
Executable file
5
zsh/.profile.d/tmux.sh
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
|
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
|
||||||
|
tmux attach-session -t default || tmux new-session -s default
|
||||||
|
fi
|
||||||
0
zsh/.profile.d/zoxide.sh
Normal file → Executable file
0
zsh/.profile.d/zoxide.sh
Normal file → Executable file
@@ -84,6 +84,3 @@ alias userlist="cut -d: -f1 /etc/passwd | sort"
|
|||||||
alias ip='ip -color'
|
alias ip='ip -color'
|
||||||
alias stow='stow -d $DOTFILES '
|
alias stow='stow -d $DOTFILES '
|
||||||
|
|
||||||
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
|
|
||||||
tmux attach-session -t default || tmux new-session -s default
|
|
||||||
fi
|
|
||||||
|
|||||||
Reference in New Issue
Block a user