#!/bin/bash OLD_THEME=$1 NEW_THEME=$2 function coolors() { flavor="212922-294936-3e6259-5b8266-aef6c7" if [ $1 = "light" ]; then # flavor="393d3f-d5bbb1-9cc4b2-c98ca7-e76d83" flavor = "74d3ae-678d58-a6c48a-f6e7cb-dd9787" fi echo $flavor } echo "set -g @tmux_colorful_color_scheme 'https://coolors.co/$(coolors $NEW_THEME)'" > ~/.tmux/colors tmux source-file ~/.tmux.conf