i3-migrate-config-to-v4: generate a bar {} block instead of exec i3bar

This commit is contained in:
Michael Stapelberg 2011-10-22 15:24:18 +01:00
parent 95c2e86db9
commit 409dcf44db
1 changed files with 4 additions and 2 deletions

View File

@ -358,6 +358,8 @@ sub convert_command {
# add an i3bar invocation automatically if no 'workspace_bar no' was found
if ($workspace_bar) {
print "\n";
print "# XXX: Automatically added a call to i3bar to provide a workspace bar\n";
print "exec i3status | i3bar -d\n";
print "# XXX: Automatically added a bar configuration\n";
print "bar {\n";
print " status_command i3status\n";
print "}\n";
}