keep some originals somewhere safe for a backup!
how do you open a terminal?
make a script that calls to switch out the file, then calls to open a terminal that uses same said switched file, this way you get different colors in different terminals.
this is what I do with one of my terminals
Code:
#!/bin/bash
#BASH Internals
#to give a random background image to
#mrxvt terminal
#by chaning its resource file
#.mrxvtrc
wd=/media/data1/EtermBGs
mapfile -t ImageA < <(find "$wd" -type f)
sed -i 's|.*mrxvt.Pixmap:.*|mrxvt.Pixmap: '" $( echo ${ImageA[ $RANDOM % ${#ImageA[@]}]})"';70x80|' $HOME/.mrxvtrc
mrxvt &
it sed's config file first changing the bg image then calls to open the terminal. So I get a different image in each terminal I open that is mrxvt, and works like a charm in my case.
so in i3 keyboard short cut calls your script first, then that script calls your terminal.
keeping your different setups for terminal.
Code:
#!/bin/bash
if grep -q test1 $HOME/base/ckfile ;
then
cp $HOME/base/filetwo $HOME/base/ckfile
else
cp $HOME/base/fileone $HOME/base/ckfile
fi
#call terminal here.
in your two different setup files to be copied as .Xresources kept in a safe place. add within them a comment, I used test1, test2 in two different files, and within the ckfile I added !test1. ran that script a few time to look in the ckfile to see if it had changed. so yes.. this work.
you could if you like just use that logic and do your own file to suit your needs.