X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3;a=blobdiff_plain;f=i3-migrate-config-to-v4;h=5da4e26ed447d7b30316adec7fd81af1bf6b9f22;hp=c8ff41c933bf368efad8677c7983aea2d2fafaff;hb=HEAD;hpb=cc2fda92422e29a61c929ffde8d3199305b89946 diff --git a/i3-migrate-config-to-v4 b/i3-migrate-config-to-v4 index c8ff41c9..5da4e26e 100755 --- a/i3-migrate-config-to-v4 +++ b/i3-migrate-config-to-v4 @@ -117,7 +117,6 @@ for my $line (@lines) { # new_container changed only the statement name to workspace_layout if ($statement eq 'new_container') { - # TODO: new_container stack-limit print "workspace_layout$parameters\n"; next; } @@ -184,7 +183,6 @@ sub convert_command { restart reload exit - stack-limit ); my ($statement, $key, $command) = ($line =~ /([a-zA-Z_-]+)\s+([^\s]+)\s+(.*)/); @@ -202,7 +200,7 @@ sub convert_command { # simple replacements my @replace = ( qr/^s/ => 'layout stacking', - qr/^d/ => 'layout default', + qr/^d/ => 'layout toggle split', qr/^T/ => 'layout tabbed', qr/^f($|[^go])/ => 'fullscreen', qr/^fg/ => 'fullscreen global', @@ -341,7 +339,7 @@ sub convert_command { # NOTE: This is not 100% accurate, as it only works for one level # of nested containers. As this is a common use case, we use 'focus # parent; $command' nevertheless. For advanced use cases, the user - # has to modify his config. + # has to modify their config. print "$statement $key focus parent; $command\n"; } return;