Add USR2 signal to unlock hook, remove useless STOP and CONTINUE Update the bar in the same time. Signed-off-by: Stacy Harper <contact@stacyharper.net>
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			287 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			287 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/usr/bin/env sh
 | |
| 
 | |
| # This script is called prior to suspending
 | |
| 
 | |
| # include common definitions
 | |
| # shellcheck source=scripts/core/sxmo_common.sh
 | |
| . "$(which sxmo_common.sh)"
 | |
| 
 | |
| pkill clickclack
 | |
| pkill -f "$KEYBOARD"
 | |
| pkill mpv #if any audio/video is playing, kill it (it might stutter otherwise)
 |