Introduce synonyms: 'move to workspace' and 'move container to workspace' and 'move window to workspace'

This makes the new 'move workspace to output' command much more clear
This commit is contained in:
Michael Stapelberg
2012-01-09 18:57:04 +00:00
parent 9c11ef4b23
commit df9b338175
8 changed files with 98 additions and 57 deletions

View File

@ -316,10 +316,10 @@ sub convert_command {
if ($command =~ /^m[0-9]+/) {
my ($number) = ($command =~ /^m([0-9]+)/);
if (exists $workspace_names{$number}) {
print qq|$statement $key move workspace $workspace_names{$number}\n|;
print qq|$statement $key move container to workspace $workspace_names{$number}\n|;
return;
} else {
print qq|$statement $key move workspace $number\n|;
print qq|$statement $key move container to workspace $number\n|;
return;
}
}