mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-05 02:49:08 +00:00
feat(config): split tmux config, add helpers
This commit is contained in:
16
config/tmux/theme-activate.sh
Executable file
16
config/tmux/theme-activate.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# If our dark/light theme switching theme file can be found,
|
||||
# source it in tmux. This is a separate file to keep the
|
||||
# current theme settings separate from the main tmux configuration.
|
||||
#
|
||||
# This script requires the following in your tmux.conf:
|
||||
# `run-shell "./theme-activate.sh"`
|
||||
# and having the tmux-dark-notify plugin installed.
|
||||
#
|
||||
# Author: Ismo Vuorinen <https://github.com/ivuorinen> 2025
|
||||
# License: MIT
|
||||
|
||||
THEME_FILE="$HOME/.local/state/tmux/tmux-dark-notify-theme.conf"
|
||||
|
||||
[[ -e $THEME_FILE ]] && tmux source-file "$THEME_FILE"
|
||||
Reference in New Issue
Block a user