fixed spotify polybar metadata
This commit is contained in:
		
							parent
							
								
									58d8e8fadd
								
							
						
					
					
						commit
						f1980d9437
					
				@ -1,7 +1,7 @@
 | 
			
		||||
#!/usr/bin/env sh
 | 
			
		||||
 | 
			
		||||
meta(){
 | 
			
		||||
	metadata=$(playerctl -f "{{title}} - {{artist}}" metadata 2>/dev/null ) && echo $metadata
 | 
			
		||||
	metadata=$(playerctl --player=spotify,%any -f "{{title}} - {{artist}}" metadata 2>/dev/null ) && echo $metadata
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
i=0
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user