mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	commands: fix documentation formatting mistakes for move command
This commit is contained in:
		
							parent
							
								
									7717c2231a
								
							
						
					
					
						commit
						453646b887
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -22,7 +22,7 @@
 | 
			
		|||
static const char *expected_syntax =
 | 
			
		||||
	"Expected 'move <left|right|up|down> <[px] px>' or "
 | 
			
		||||
	"'move [--no-auto-back-and-forth] <container|window> [to] workspace <name>' or "
 | 
			
		||||
	"'move [--no-auto-back-and-forth] <container|window|workspace> [to] output <name|direction>' or "
 | 
			
		||||
	"'move <container|window|workspace> [to] output <name|direction>' or "
 | 
			
		||||
	"'move <container|window> [to] mark <mark>'";
 | 
			
		||||
 | 
			
		||||
static struct sway_container *output_in_direction(const char *direction,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -132,7 +132,7 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1).
 | 
			
		|||
	If unspecified, the default is 10 pixels. Pixels are ignored when moving
 | 
			
		||||
	tiled containers.
 | 
			
		||||
 | 
			
		||||
*move* [absolute] position <pos_x> [px] <pos_y> [px]
 | 
			
		||||
*move* [absolute] position <pos\_x> [px] <pos\_y> [px]
 | 
			
		||||
	Moves the focused container to the specified position.
 | 
			
		||||
 | 
			
		||||
*move* [absolute] position center|mouse
 | 
			
		||||
| 
						 | 
				
			
			@ -154,7 +154,7 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1).
 | 
			
		|||
	Moves the focused container to the previous or next workspace on this
 | 
			
		||||
	output, wrapping around if already at the first or last workspace.
 | 
			
		||||
 | 
			
		||||
*move* container|window [to] workspace back_and_forth
 | 
			
		||||
*move* container|window [to] workspace back\_and\_forth
 | 
			
		||||
	Moves the focused container to previously focused workspace.
 | 
			
		||||
 | 
			
		||||
*move* container|window|workspace [to] output <name>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue