8b1de6df30 
								
							
								 
							
						 
						
							
							
								
								Fix incorrect #include on ipc-client.c  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								e0cb8284fb 
								
							
								 
							
						 
						
							
							
								
								Rearrange logging headers  
							
							... 
							
							
 
							
							Ref #270  
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								9b62a98f3e 
								
							
								 
							
						 
						
							
							
								
								Style fixes in swaybg  
							
							... 
							
							
 
							
							CONTRIBUTING.md's code example is sourced from this file, so I updated
it as well. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								392bfcbfb7 
								
							
								 
							
						 
						
							
							
								
								Remove "See Also" from swaygrab man page  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								0bb872ab70 
								
							
								 
							
						 
						
							
							
								
								Fix uninitialized variable warning in swaygrab  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								2ef7cf9e97 
								
							
								 
							
						 
						
							
							
								
								Add ffmpeg capture to swaygrab (with limitations)  
							
							... 
							
							
 
							
							This needs to be multithreaded to have any sort of realistic expectation
of performance, due to issues with syncronous I/O. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								89906f4ba1 
								
							
								 
							
						 
						
							
							
								
								Improve CONTRIBUTING.md  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								b7702eb34c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #266  from sce/sticky_floats_0  
							
							... 
							
							
 
							
							workspace: Learn sticky. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								2d0f78c0d6 
								
							
								 
							
						 
						
							
							
								
								workspace: Learn sticky.  
							
							... 
							
							
 
							
							A floating window that's sticky will move to the new active workspace
whenever the workspace on the same output changes. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								db642fc8c5 
								
							
								 
							
						 
						
							
							
								
								commands: code formatting: Sort list of commands by alphabet.  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								cbd7348704 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #265  from sce/better_logging  
							
							... 
							
							
 
							
							debug_log: Improve container_log so that debug lines are aligned. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								cad2694a3c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #264  from sce/fix_ws_next_name  
							
							... 
							
							
 
							
							workspace: Improve workspace_next_name. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								c1d88acf72 
								
							
								 
							
						 
						
							
							
								
								debug_log: Improve container_log so that debug lines are aligned.  
							
							... 
							
							
 
							
							Makes the log easier to read, and the developers more happy (this one at
least). 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								0a78af0acc 
								
							
								 
							
						 
						
							
							
								
								workspace: Improve workspace_next_name.  
							
							... 
							
							
 
							
							This function looks for bound commands that start with `workspace` (ie.
the commands that change to a static workspace) and fetches the
workspace name.
However, if it's actually a list of commands, then the parsing will pick
up the delimiter ("," or ";") and also fail to recognize keywords
("next" etc).
This patch fixes that by properly separating with delimiters. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								4c34674255 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #263  from sce/floating_enable_disable  
							
							... 
							
							
 
							
							cmd_floating: Support `enable` and `disable` commands too. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								d9770cc243 
								
							
								 
							
						 
						
							
							
								
								cmd_floating: Support `enable` and `disable` commands too.  
							
							... 
							
							
 
							
							This is especially relevant in combination with `for_window`, e.g.:
`for_window [title="Terminal"] floating enable`. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								04bd9386fe 
								
							
								 
							
						 
						
							
							
								
								Fix swaygrab memory leak  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								f05b6cd55c 
								
							
								 
							
						 
						
							
							
								
								Implement swaygrab for still images  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								062c74b7d0 
								
							
								 
							
						 
						
							
							
								
								Add command line to swaygrab  
							
							... 
							
							
 
							
							Also modifies IPC client so that we can work with persistent
connections. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								59e97c2788 
								
							
								 
							
						 
						
							
							
								
								Add swaygrab(1) man page  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								7c04cd4fc8 
								
							
								 
							
						 
						
							
							
								
								Add swaygrab subproject  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								27f03c705d 
								
							
								 
							
						 
						
							
							
								
								Move IPC client into common, refactor IPC  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								5ae359279b 
								
							
								 
							
						 
						
							
							
								
								Fix build warnings  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								d95447fdd9 
								
							
								 
							
						 
						
							
							
								
								Fix mistake in CONTRIBUTING.md  
							
							... 
							
							
 
							
							3 commits should do it, right? 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								87e3778125 
								
							
								 
							
						 
						
							
							
								
								Update CONTRIBUTING.md  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								1e753e3a74 
								
							
								 
							
						 
						
							
							
								
								Write down style guidelines  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								d1012c497b 
								
							
								 
							
						 
						
							
							
								
								Style enforcement  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								f8f0bcd4d3 
								
							
								 
							
						 
						
							
							
								
								Don't use the _t postfix on non-typedef structures  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								53d353e6b4 
								
							
								 
							
						 
						
							
							
								
								Add "variant": "sway" to IPC version response  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								4e7dccf631 
								
							
								 
							
						 
						
							
							
								
								Add swaymsg(1) man page  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								a1018f3280 
								
							
								 
							
						 
						
							
							
								
								Implement swaymsg IPC behavior  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								9a15371ba3 
								
							
								 
							
						 
						
							
							
								
								Parse command line args for swaymsg  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								d69cbeabc0 
								
							
								 
							
						 
						
							
							
								
								Add swaymsg subproject  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								206606b32c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #261  from christophgysin/exec  
							
							... 
							
							
 
							
							Call swaybg without invoking a shell 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								a713686daa 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #260  from christophgysin/scale  
							
							... 
							
							
 
							
							implement background scaling 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								e362f871d9 
								
							
								 
							
						 
						
							
							
								
								Call swaybg without invoking a shell  
							
							... 
							
							
 
							
							This makes escaping the arguments obsolete.
Also avoid dynamic memory allocation for the output id. It only supported ids up
to 99. Now we support up to 999, and take 4 bytes off the stack instead. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								be3fae148b 
								
							
								 
							
						 
						
							
							
								
								swaybg: implement scaling mode "fit"  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								8630bc3752 
								
							
								 
							
						 
						
							
							
								
								swaybg: implement scaling mode "tile"  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								621062f18d 
								
							
								 
							
						 
						
							
							
								
								swaybg: implement scaling mode "center"  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								81a87ec7a7 
								
							
								 
							
						 
						
							
							
								
								swaybg: implement scaling mode "fill"  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								904983c375 
								
							
								 
							
						 
						
							
							
								
								swaybg: implement scaling mode "stretch"  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								504ac84cbc 
								
							
								 
							
						 
						
							
							
								
								swaybg: check for exact number of arguments  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								78c2e29328 
								
							
								 
							
						 
						
							
							
								
								swaybg: make argv const  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								9fb020d04c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #251  from sce/criteria_1  
							
							... 
							
							
 
							
							criteria: Add. Learn for_window command. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								964b4d2ddb 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #259  from christophgysin/lineno  
							
							... 
							
							
 
							
							config: print line number 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								5483fe1883 
								
							
								 
							
						 
						
							
							
								
								criteria: Code formatting.  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								0976bf7f68 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #258  from christophgysin/whitespace  
							
							... 
							
							
 
							
							config: remove trailing whitespace 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								eeb7f5c036 
								
							
								 
							
						 
						
							
							
								
								config: print line number  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								71f28fae57 
								
							
								 
							
						 
						
							
							
								
								config: remove trailing whitespace  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								a06cb7cd01 
								
							
								 
							
						 
						
							
							
								
								criteria: Add. Learn for_window command.  
							
							... 
							
							
 
							
							A criteria is a string in the form of `[class="regex.*" title="str"]`.
It is stored in a struct with a list of *tokens* which is a
attribute/value pair (stored as a `crit_token` struct). Most tokens will
also have a precompiled regex stored that will be used during criteria
matching.
for_window command: When a new view is created its metadata is tested
against all stored criteria, and if a match is found the associated
command list is executed.
Unfortunately some metadata is not available in sway at the moment
(specifically `instance`, `window_role` and `urgent`). Any criteria
string that tries to match an unsupported attribute will fail.
(Note that while the criteria code can be used to parse any criteria
string it is currently only used by the `for_window` command.) 
							
						 
						
							10 years ago