Merge pull request #3946 from phy1729/i3bar_command-exec

Prepend "exec " to default i3bar_command
This commit is contained in:
Ingo Bürk 2020-02-18 09:16:27 +01:00 committed by GitHub
commit e3f120c0b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);