Prepend "exec " to default i3bar_command
Avoids leaving around a useless shell process.
This commit is contained in:
parent
fc01ece365
commit
a2cba79f9c
|
@ -1008,7 +1008,7 @@ int main(int argc, char *argv[]) {
|
|||
TAILQ_FOREACH(barconfig, &barconfigs, configs) {
|
||||
char *command = NULL;
|
||||
sasprintf(&command, "%s %s --bar_id=%s --socket=\"%s\"",
|
||||
barconfig->i3bar_command ? barconfig->i3bar_command : "i3bar",
|
||||
barconfig->i3bar_command ? barconfig->i3bar_command : "exec i3bar",
|
||||
barconfig->verbose ? "-V" : "",
|
||||
barconfig->id, current_socketpath);
|
||||
LOG("Starting bar process: %s\n", command);
|
||||
|
|
Loading…
Reference in New Issue