mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	sway.5: clarify that a marks are unqiue
This just clarifies that a mark can only be set for a single window since they are used as unique identifiers
This commit is contained in:
		
							parent
							
								
									21717d2ed2
								
							
						
					
					
						commit
						aa8ea2fa82
					
				
					 1 changed files with 5 additions and 10 deletions
				
			
		| 
						 | 
					@ -621,10 +621,11 @@ The default colors are:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
*mark* --add|--replace [--toggle] <identifier>
 | 
					*mark* --add|--replace [--toggle] <identifier>
 | 
				
			||||||
	Marks are arbitrary labels that can be used to identify certain windows and
 | 
						Marks are arbitrary labels that can be used to identify certain windows and
 | 
				
			||||||
	then jump to them at a later time. By default, *mark* sets _identifier_ as
 | 
						then jump to them at a later time. Each _identifier_ can only be set on a
 | 
				
			||||||
	the only mark on a window. _--add_ will instead add _identifier_ to the
 | 
						single window at a time since they act as a unique identifier. By default,
 | 
				
			||||||
	list of current marks. If _--toggle_ is specified mark will remove
 | 
						*mark* sets _identifier_ as the only mark on a window. _--add_ will instead
 | 
				
			||||||
	_identifier_ if it is already marked.
 | 
						add _identifier_ to the list of current marks for that window. If _--toggle_
 | 
				
			||||||
 | 
						is specified mark will remove _identifier_ if it is already marked.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
*mode* <mode>
 | 
					*mode* <mode>
 | 
				
			||||||
	Switches to the specified mode. The default mode _default_.
 | 
						Switches to the specified mode. The default mode _default_.
 | 
				
			||||||
| 
						 | 
					@ -786,12 +787,6 @@ Kill all windows with the title "Emacs":
 | 
				
			||||||
[class="Emacs"] kill
 | 
					[class="Emacs"] kill
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Mark all Firefox windows with "Browser":
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
[class="Firefox"] mark Browser
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
You may like to use swaymsg -t get_tree for finding the values of these
 | 
					You may like to use swaymsg -t get_tree for finding the values of these
 | 
				
			||||||
properties in practice for your applications.
 | 
					properties in practice for your applications.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue