thestinger / termite

Termite is obsoleted by Alacritty. Termite was a keyboard-centric VTE-based terminal, aimed at use within a window manager with tiling and/or tabbing support.
https://github.com/alacritty/alacritty
2.74k stars 241 forks source link

[Feature] Send signal to reload config #730

Closed dotcs closed 4 years ago

dotcs commented 4 years ago

First of all thank you very much for developing termite. I really enjoy the terminal a lot! :)

I wondered if it's possible to send a signal to running terminal processes which forces them to reload the config (essentially execute the same code that ctrl+shift+r executes). This would allow to change colors in the config and then reload the config in all running processes.

Thanks in advance for your time! :+1:

BarbUk commented 4 years ago

Yes:

killall -USR1 termite || true

I use it in a script to change between light and dark theme, works perfectly

dotcs commented 4 years ago

Confirmed that this works. Thank you @BarbUk for your fast and precise answer!