mirror of
				https://git.davidovski.xyz/dot.git
				synced 2024-08-15 00:43:28 +00:00 
			
		
		
		
	change mpc picker to list titles and albums
This commit is contained in:
		
							parent
							
								
									7b3aa701e2
								
							
						
					
					
						commit
						ab3309062e
					
				
					 3 changed files with 7 additions and 5 deletions
				
			
		|  | @ -138,7 +138,7 @@ label-muted               = "%{T3} %{T-}--%" | |||
| 
 | ||||
| [module/microphone] | ||||
| type = custom/script | ||||
| exec = amixer get Capture | tail -2 | grep -q off && && echo "" || echo "" | ||||
| exec = amixer get Capture | tail -2 | grep -q off && echo "" || echo "" | ||||
| interval = 1 | ||||
| click-left = $HOME/.scripts/toggle-mute.sh | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,4 +1,6 @@ | |||
| #!/bin/sh | ||||
| chosen=$(mpc listall | dmenu -i -p mpd) | ||||
| [ "$chosen" != "" ] || exit | ||||
| mpc insert "$chosen" | ||||
| selected=$(mpc -f "%title%[\t\t%artist%][\t\t%album%]\t\t%file%" listall | dmenu -i -p mpd) | ||||
| [ "$selected" == "" ] && exit | ||||
| file=$(printf "%s\n" "$selected" | rev | cut -f1 -d'	' | rev) | ||||
| echo "$file" | ||||
| mpc insert "$file" | ||||
|  |  | |||
|  | @ -34,7 +34,7 @@ mp4-gif () { | |||
| alias zth="zathura" | ||||
| alias nb="nb --blog-dir $BLOG_DIR" | ||||
| alias looking-glass-client="looking-glass-client -G input:rawMouse=yes input:escapekey=119 input:autocapture=yes -k -j" | ||||
| alias show-keymap="vim qmk_firmware/keyboards/ergo42/keymaps/iksvo/keymap.c" | ||||
| alias show-keymap="vim ~/docs/proj/qmk_firmware/keyboards/biacco42/ergo42/keymaps/iksvo/keymap.c" | ||||
| 
 | ||||
| 
 | ||||
| configure () { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue