#!/usr/bin/env bash CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" set -eou pipefail BASE="$(dirname $0)/../../.." ln -fvs "${BASE}/config/tmux/light-mode.conf" "${CONFIG_HOME}/tmux/current-theme.conf" if tmux list-sessions; then tmux source "${CONFIG_HOME}/tmux/tmux.conf" fi