diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2011-08-09 09:46:02 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2011-08-09 09:46:02 +0200 |
commit | 98cc37e223c53d40648536c61b52de10c45a2967 (patch) | |
tree | ef80f49388b75b8551f93c015bdd24ee75552a1b /i3-migrate-config-to-v4 | |
parent | 3316d8b8badd1d94dff88fae1649e2f83674c02e (diff) | |
download | i3-98cc37e223c53d40648536c61b52de10c45a2967.tar.gz i3-98cc37e223c53d40648536c61b52de10c45a2967.zip |
swap up/down, also modify the testcase
Diffstat (limited to 'i3-migrate-config-to-v4')
-rwxr-xr-x | i3-migrate-config-to-v4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i3-migrate-config-to-v4 b/i3-migrate-config-to-v4 index 65d6bdce..0a8db2de 100755 --- a/i3-migrate-config-to-v4 +++ b/i3-migrate-config-to-v4 @@ -290,9 +290,9 @@ sub convert_command { my $cmd = 'resize '; $cmd .= ($sign eq '+' ? 'grow' : 'shrink') . ' '; if ($direction eq 'top') { - $direction = 'down'; - } elsif ($direction eq 'bottom') { $direction = 'up'; + } elsif ($direction eq 'bottom') { + $direction = 'down'; } $cmd .= "$direction "; $cmd .= "$px px"; |