i3-migrate-config-to-v4: generate a bar {} block instead of exec i3bar
This commit is contained in:
parent
95c2e86db9
commit
409dcf44db
|
@ -358,6 +358,8 @@ sub convert_command {
|
||||||
# add an i3bar invocation automatically if no 'workspace_bar no' was found
|
# add an i3bar invocation automatically if no 'workspace_bar no' was found
|
||||||
if ($workspace_bar) {
|
if ($workspace_bar) {
|
||||||
print "\n";
|
print "\n";
|
||||||
print "# XXX: Automatically added a call to i3bar to provide a workspace bar\n";
|
print "# XXX: Automatically added a bar configuration\n";
|
||||||
print "exec i3status | i3bar -d\n";
|
print "bar {\n";
|
||||||
|
print " status_command i3status\n";
|
||||||
|
print "}\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue