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
 | 
					## Break time
 | 
				
			||||||
# Toggle the sound
 | 
					# Toggle the sound
 | 
				
			||||||
amixer -q set Master toggle
 | 
					pulsemixer --toggle-mute
 | 
				
			||||||
 | 
					
 | 
				
			||||||
BREAK_MSG="Pause"
 | 
					BREAK_MSG="Pause"
 | 
				
			||||||
BREAK_TIME="${SHORT_BREAK_TIME}"
 | 
					BREAK_TIME="${SHORT_BREAK_TIME}"
 | 
				
			||||||
| 
						 | 
					@ -74,7 +74,7 @@ while [ "${BREAK_TIME}" -gt 0 ]; do
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Toggle the sound
 | 
					# Toggle the sound
 | 
				
			||||||
amixer -q set Master toggle
 | 
					pulsemixer --toggle-mute
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Delete the task file
 | 
					# Delete the task file
 | 
				
			||||||
rm -f "${TASK_PATH}"
 | 
					rm -f "${TASK_PATH}"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue