Merge pull request #3946 from phy1729/i3bar_command-exec
Prepend "exec " to default i3bar_command
This commit is contained in:
commit
e3f120c0b6
|
@ -1013,7 +1013,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