window-maker / wmaker

Mirror of the official repository repo.or.cz/wmaker-crm.git. Do not send pull requests here, send your patches to wmaker-dev@googlegroups.com instead
https://repo.or.cz/wmaker-crm.git
GNU General Public License v2.0
124 stars 18 forks source link

command for WM restarting #37

Closed sebqas closed 9 months ago

sebqas commented 9 months ago

Is there any command (invoked in command line) to restart the running WM ?

gryf commented 9 months ago

You can use signal SIGUSR1 to do so (see NEWS file for details), i.e.

$ killall -SIGUSR1 wmaker

or, to be precise send that signal to the process which have --for-real parameter:

$ kill -SIGUSR1 $(ps aux | grep "[w]maker --for-real" |awk '{print $2}')
sebqas commented 5 months ago

thanks, the --for-real parameter is essential, otherwise, it kills wmaker with all child processes