Browse Source
			
			
			Merge pull request #16 from ntrp/patch-1
			
				Simplify the volume query
			
			
				main
			
			
		 
		
			
				
					
						
						Joe Standring
					
					4 years ago
					
						
							committed by
							
								
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
				  
				  No known key found for this signature in database
				  
				  	
						GPG Key ID: 4AEE18F83AFDEB23
				  	
				  
				
			
		
		
		
	
		
			  1 changed files with 
1 additions and 
1 deletions
			
		 
		
			
				- 
					
					
					 
					bar-functions/dwm_pulse.sh
				
 
			
		
		
			
				
					
					
						
							
								
									
										
											
												
													
														
															
																| 
																	
																	
																		
																			
																		
																	
																	
																 | 
																@ -7,7 +7,7 @@ | 
															
														
														
													
														
															
																 | 
																 | 
																# Dependencies: pamixer | 
																 | 
																 | 
																# Dependencies: pamixer | 
															
														
														
													
														
															
																 | 
																 | 
																
 | 
																 | 
																 | 
																
 | 
															
														
														
													
														
															
																 | 
																 | 
																dwm_pulse () { | 
																 | 
																 | 
																dwm_pulse () { | 
															
														
														
													
														
															
																 | 
																 | 
																    VOL=$(pamixer --get-volume-human | tr -d '%') | 
																 | 
																 | 
																 | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																    VOL=$(pamixer --get-volume) | 
															
														
														
													
														
															
																 | 
																 | 
																     | 
																 | 
																 | 
																     | 
															
														
														
													
														
															
																 | 
																 | 
																    printf "%s" "$SEP1" | 
																 | 
																 | 
																    printf "%s" "$SEP1" | 
															
														
														
													
														
															
																 | 
																 | 
																    if [ "$IDENTIFIER" = "unicode" ]; then | 
																 | 
																 | 
																    if [ "$IDENTIFIER" = "unicode" ]; then | 
															
														
														
													
												
													
														
															
																| 
																	
																		
																			
																		
																	
																	
																	
																 | 
																
  |