fix(darkman): set tmux mode correctly
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||
set -eou pipefail
|
||||
BASE="$(dirname $0)/../../.."
|
||||
|
||||
ln -fs light-mode.conf ~/.config/tmux/current-theme.conf
|
||||
ln -fvs "${BASE}/config/tmux/light-mode.conf" "${CONFIG_HOME}/tmux/current-theme.conf"
|
||||
|
||||
if tmux list-sessions; then
|
||||
tmux source ~/.tmux.conf
|
||||
tmux source "${CONFIG_HOME}/tmux/tmux.conf"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user