fix a bug as WMCLASS can be '"gl", "mpv"'
I took the WMCLASS linecode from the appmenu where we do not strip the full line Signed-off-by: Stacy Harper <contact@stacyharper.net> Signed-off-by: Anjandev Momi <anjan@momi.ca>
This commit is contained in:
		
							parent
							
								
									cafd100d28
								
							
						
					
					
						commit
						c81940a74e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -10,7 +10,7 @@ ACTION="$1"
 | 
			
		|||
. "$(dirname "$0")/sxmo_common.sh"
 | 
			
		||||
 | 
			
		||||
XPROPOUT="$(xprop -id "$(xdotool getactivewindow)")"
 | 
			
		||||
WMCLASS="$(echo "$XPROPOUT" | grep WM_CLASS | cut -d ' ' -f3- | cut -d ' ' -f1 | tr -d '\",')"
 | 
			
		||||
WMCLASS="$(echo "$XPROPOUT" | grep WM_CLASS | cut -d ' ' -f3-)"
 | 
			
		||||
 | 
			
		||||
HANDLE=1
 | 
			
		||||
if [ -x "$XDG_CONFIG_HOME"/sxmo/hooks/inputhandler ]; then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue