7 lines
		
	
	
	
		
			201 B
		
	
	
	
		
			Fish
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			201 B
		
	
	
	
		
			Fish
		
	
	
		
			Executable file
		
	
	
	
	
#!/usr/bin/env fish
 | 
						|
 | 
						|
set arg "(empv-enqueue \""$argv[1]"\")"
 | 
						|
echo $arg
 | 
						|
set title (yt-dlp --get-title $argv[1])
 | 
						|
echo $title added
 | 
						|
emacsclient -e $arg && notify-send $title" has been added to the queue"
 |