From 7874d509ef6d64c59e64b307ae5e702eb58367e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=9Eahin=20Akkaya?= Date: Mon, 25 Dec 2023 15:05:33 +0300 Subject: [PATCH] Update tmux.conf --- .config/tmux/tmux.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 393323a..95caa9f 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -122,7 +122,10 @@ bind-key C-j join-pane # status bar theme # set -g status 'on' set-option -g status-position bottom -source-file ~/.config/tmux/dark.conf + +if-shell '[ `darkman get` == "light" ]' \ + 'source-file ~/.config/tmux/light.conf' \ + 'source-file ~/.config/tmux/dark.conf'