iTermocil enables you to do this flexibly by defining profiles in YAML files:
https://github.com/TomAnthony/itermocil
(Disclaimer: I wrote it [just for this purpose])
iTermocil enables you to do this flexibly by defining profiles in YAML files:
https://github.com/TomAnthony/itermocil
(Disclaimer: I wrote it [just for this purpose])