add TMUX toggle
This commit is contained in:
parent
2e3a3f572c
commit
f951ae3f5f
|
@ -19,6 +19,7 @@ variables:
|
|||
file_manager: thunar
|
||||
bar: waybar
|
||||
bar_pos: top
|
||||
tmux: false
|
||||
|
||||
font:
|
||||
mono: FiraCode Nerd Font
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
# | _| \__ \ | | |
|
||||
# |_| |_|___/_| |_|
|
||||
|
||||
{%@@ if not tmux @@%}
|
||||
set TMUX 1
|
||||
{%@@ endif @@%}
|
||||
|
||||
if test -z "$TMUX" -a -n "$DISPLAY" -a -z "$GNOME_TERMINAL_SCREEN"
|
||||
and not string match -qr kitty "$TERM"
|
||||
and status is-interactive
|
||||
|
|
Reference in a new issue