Add basic st scroll gesture inputs
Signed-off-by: Stacy Harper <contact@stacyharper.net> Signed-off-by: Miles Alan <m@milesalan.com>
This commit is contained in:
		
							parent
							
								
									d4fd25e3e9
								
							
						
					
					
						commit
						25913ebaf1
					
				
					 1 changed files with 15 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -87,11 +87,11 @@ case "$WMCLASS" in
 | 
			
		|||
						type q
 | 
			
		||||
						exit 0
 | 
			
		||||
						;;
 | 
			
		||||
					"twodown")
 | 
			
		||||
					*"onedown")
 | 
			
		||||
						type u
 | 
			
		||||
						exit 0
 | 
			
		||||
						;;
 | 
			
		||||
					"twoup")
 | 
			
		||||
					*"oneup")
 | 
			
		||||
						type  d
 | 
			
		||||
						exit 0
 | 
			
		||||
						;;
 | 
			
		||||
| 
						 | 
				
			
			@ -116,11 +116,11 @@ case "$WMCLASS" in
 | 
			
		|||
						exit 0
 | 
			
		||||
						;;
 | 
			
		||||
					*"onedown")
 | 
			
		||||
						key d
 | 
			
		||||
						key u
 | 
			
		||||
						exit 0
 | 
			
		||||
						;;
 | 
			
		||||
					*"oneup")
 | 
			
		||||
						key u
 | 
			
		||||
						key d
 | 
			
		||||
						exit 0
 | 
			
		||||
						;;
 | 
			
		||||
					*"oneright")
 | 
			
		||||
| 
						 | 
				
			
			@ -142,6 +142,17 @@ case "$WMCLASS" in
 | 
			
		|||
				esac
 | 
			
		||||
				;;
 | 
			
		||||
		esac
 | 
			
		||||
		# Now we try generic st actions
 | 
			
		||||
		case "$ACTION" in
 | 
			
		||||
			*"onedown")
 | 
			
		||||
				key Ctrl+Shift+B
 | 
			
		||||
				exit 0
 | 
			
		||||
				;;
 | 
			
		||||
			*"oneup")
 | 
			
		||||
				key Ctrl+Shift+F
 | 
			
		||||
				exit 0
 | 
			
		||||
				;;
 | 
			
		||||
		esac
 | 
			
		||||
esac
 | 
			
		||||
 | 
			
		||||
#standard handling
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue