Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3946 from phy1729/i3bar_command-exec
Browse files Browse the repository at this point in the history
Prepend "exec " to default i3bar_command
  • Loading branch information
Airblader committed Feb 18, 2020
2 parents 13ca970 + a2cba79 commit e3f120c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Expand Up @@ -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);
Expand Down

0 comments on commit e3f120c

Please sign in to comment.