How can I do a script to switch between two themes in gnome-terminal, tmux and vim?Here I have the gnome terminal, tmux, and vim configurations. The tmux and vim themes are managed by a plugin.What I've thought for tmux and vim is adding some comment with a word that only appears in that line, and doing a sed for that line adding a different plugin with a light theme. So the script could be something like:#!/bin/bashif grep dark /path/to/tmux; then    source light    sed '/# theme/light-plugin #theme/' >> /path/to/tmux    sed '/# theme/light-plugin #theme/' >> /path/to/vimrcelse    source dark    sed '/# theme/dark-plugin #theme/' >> /path/to/tmux    sed '/# theme/dark-plugin #theme/' >> /path/to/vimrcfi
Script to switch terminal, vim and tmux theme from Dark to Light and viceversa
shell script;theme