You are not logged in.
Hi all,
I am working on my xmonad+xmobar+trayer setup and making as much as possible change between Solarized Dark and Solarized Light color scheme upon pressing a key combination.
On of the things which need to change its colorscheme is my terminal emulator. I use Termite.
Termite support reloading its configuration upon receiving the USR1 signal. So I simply keep two Termite configuration files; ~/.config/termite/dark and ~/.config/termite/light and create a symlink ~/.config/termite/config which points to the appropriate config. Then I send the USR1 signal to all the termite processes using "killall -s USR1 termite".
It works very well for Termite terminals which do not have VIM running in them. They then change color when I press the key combination I've bound, using xmonad, to my godark.sh and golight.sh shell scripts (which do what I described above).
If a terminal have VIM running it when I press my key combination the terminal will not have changed its colorscheme when I quit VIM. The below screenshot shows to terminal windows after I changed from light to dark. The terminal on the right had VIM running when I changed and upon exiting it is still light instead of dark.
Any idea where I might start to dig to uncover why this happens? I've only seen it happen with VIM. It does not happen if I run top or similar in a terminal. Then the terminal still changes colors as it is supposed to.
Thank you for your input!
Jonas
http://i.imgur.com/9CflaHY.png
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
-- sorry, thanks for correcting it.
Last edited by jonascj (2014-05-25 18:08:37)
Offline