use .hosttype for conditions
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
# 256 color
|
||||
{{- if (or (eq .chezmoi.hostname "arch") (eq .chezmoi.hostname "buzz")) }}
|
||||
{{- if eq .hosttype "desktop" "laptop" }}
|
||||
set -g default-terminal "screen-256color"
|
||||
{{- else }}
|
||||
set -g default-terminal "tmux-256color"
|
||||
@ -83,7 +83,7 @@ bind-key p run "xsel -o | tmux load-buffer - ; tmux paste-buffer"
|
||||
# Aesthetic
|
||||
###########################
|
||||
|
||||
{{- if (or (eq .chezmoi.hostname "arch") (eq .chezmoi.hostname "buzz")) }}
|
||||
{{- if eq .hosttype "desktop" "laptop" }}
|
||||
set -g pane-active-border-style fg=yellow
|
||||
set -g message-command-style 'fg=#eeeeee bg=#333333 bold'
|
||||
set -g message-style 'fg=#eeeeee bg=#333333 bold'
|
||||
@ -114,7 +114,7 @@ set -g window-status-current-format ''
|
||||
|
||||
|
||||
|
||||
{{- if (or (eq .chezmoi.hostname "arch") (eq .chezmoi.hostname "buzz")) }}
|
||||
{{- if eq .hosttype "desktop" "laptop" }}
|
||||
###############################################
|
||||
# local and nested remote tmux sessions
|
||||
# - https://www.freecodecamp.org/news/tmux-in-practice-local-and-nested-remote-tmux-sessions-4f7ba5db8795/
|
||||
|
Reference in New Issue
Block a user