Conditional tmux formatting based on hostname
This commit is contained in:
@@ -97,15 +97,17 @@
|
||||
set -g @tokyo-night-tmux_window_id_style digital
|
||||
set -g @tokyo-night-tmux_pane_id_style hsquare
|
||||
set -g @tokyo-night-tmux_zoom_id_style dsquare
|
||||
if-shell "[[ $(hostname) = 'xps13' ]]" {
|
||||
set -g @tokyo-night-tmux_show_netspeed 1
|
||||
set -g @tokyo-night-tmux_netspeed_iface "wlp2s0" # Detected via default route
|
||||
set -g @tokyo-night-tmux_netspeed_showip 1 # Display IPv4 address (default 0)
|
||||
set -g @tokyo-night-tmux_netspeed_refresh 1 # Update interval in seconds (default 1)
|
||||
set -g @tokyo-night-tmux_netspeed_iface 'wlp2s0'
|
||||
set -g @tokyo-night-tmux_netspeed_showip 1
|
||||
set -g @tokyo-night-tmux_netspeed_refresh 1
|
||||
set -g @tokyo-night-tmux_show_battery_widget 1
|
||||
set -g @tokyo-night-tmux_battery_name "BAT0"
|
||||
set -g @tokyo-night-tmux_battery_low_threshold 21
|
||||
}
|
||||
set -g @tokyo-night-tmux_show_path 1
|
||||
set -g @tokyo-night-tmux_path_format relative # 'relative' or 'full'
|
||||
set -g @tokyo-night-tmux_show_battery_widget 1
|
||||
set -g @tokyo-night-tmux_battery_name "BAT0" # some linux distro have 'BAT0'
|
||||
set -g @tokyo-night-tmux_battery_low_threshold 21 # default
|
||||
'';
|
||||
}
|
||||
tmuxPlugins.tmux-fzf
|
||||
|
||||
Reference in New Issue
Block a user