adding empv script to add mpv from firefox to empv in emacs
This commit is contained in:
parent
e727f4afa1
commit
73dd975c7e
4 changed files with 11 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env fish
|
||||
|
||||
emacsclient -e "(message (car server-eval-args-left))" $1
|
||||
set arg "(empv-enqueue-last \""$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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue