i3-migrate-config-to-v4: use layout toggle split (Thanks eeemsi)
This commit is contained in:
parent
79083f3b34
commit
2f22fae119
@ -202,7 +202,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',
|
||||
|
@ -195,7 +195,7 @@ EOT
|
||||
|
||||
$output = migrate_config($input);
|
||||
ok(line_exists($output, qr|^bindsym Mod1\+s layout stacking$|), 's replaced');
|
||||
ok(line_exists($output, qr|^bindsym Mod1\+s layout default$|), 'd replaced');
|
||||
ok(line_exists($output, qr|^bindsym Mod1\+s layout toggle split$|), 'd replaced');
|
||||
ok(line_exists($output, qr|^bindsym Mod1\+s layout tabbed$|), 'T replaced');
|
||||
ok(line_exists($output, qr|^bindsym Mod1\+s fullscreen$|), 'f replaced');
|
||||
ok(line_exists($output, qr|^bindsym Mod1\+s fullscreen global$|), 'fg replaced');
|
||||
|
Loading…
Reference in New Issue
Block a user