Replace amixer with pulsemixer
This commit is contained in:
		
							parent
							
								
									60f5788fce
								
							
						
					
					
						commit
						9288ca4228
					
				| 
						 | 
				
			
			@ -60,7 +60,7 @@ printf '%b' "${TASK_NAME} stopped.\n"
 | 
			
		|||
 | 
			
		||||
## Break time
 | 
			
		||||
# Toggle the sound
 | 
			
		||||
amixer -q set Master toggle
 | 
			
		||||
pulsemixer --toggle-mute
 | 
			
		||||
 | 
			
		||||
BREAK_MSG="Pause"
 | 
			
		||||
BREAK_TIME="${SHORT_BREAK_TIME}"
 | 
			
		||||
| 
						 | 
				
			
			@ -74,7 +74,7 @@ while [ "${BREAK_TIME}" -gt 0 ]; do
 | 
			
		|||
done
 | 
			
		||||
 | 
			
		||||
# Toggle the sound
 | 
			
		||||
amixer -q set Master toggle
 | 
			
		||||
pulsemixer --toggle-mute
 | 
			
		||||
 | 
			
		||||
# Delete the task file
 | 
			
		||||
rm -f "${TASK_PATH}"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue