set volume in percentages and update wjt
This commit is contained in:
		
							parent
							
								
									bb3bf1460c
								
							
						
					
					
						commit
						30253c598a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1,5 +1,5 @@ | |||
| #!/bin/sh | ||||
| current="$(amixer get Master | sed -n '/%/s/.*\[\(.*\)%\].*/\1/p' | head -1)" | ||||
| wjt -t -x "$current" | while read next; do | ||||
|     amixer -q set Master "$next" | ||||
| wjt -x "$current" | while read next; do | ||||
|     amixer -q set Master "$next%" | ||||
| done | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Felix Van der Jeugt
						Felix Van der Jeugt