.s/scripts/theme/hooks/tmux.sh

16 lines
254 B
Bash
Raw Normal View History

2024-05-26 16:23:12 -04:00
#!/bin/bash
OLD_THEME=$1
NEW_THEME=$2
function catflavor() {
flavor="mocha"
if [ $1 = "light" ]; then
flavor="latte"
fi
echo $flavor
}
2024-08-26 22:34:49 -04:00
echo "set -g @catppuccin_flavor $(catflavor $NEW_THEME)" > ~/.tmux/colors
2024-05-26 16:23:12 -04:00
tmux source-file ~/.tmux.conf