adding empv script to add mpv from firefox to empv in emacs
This commit is contained in:
parent
e727f4afa1
commit
73dd975c7e
|
@ -74,7 +74,7 @@ command aud js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_
|
|||
unbind t
|
||||
|
||||
"" Adding my own bindings
|
||||
bind v composite hint -pipe a href | js -p tri.excmds.shellescape(JS_ARG) | exclaim_quiet mpl
|
||||
bind v composite hint -pipe a href | js -p tri.excmds.shellescape(JS_ARG) | exclaim_quiet empv
|
||||
bind gt hint -W torrent
|
||||
bind gv current_url mpv
|
||||
bind ga hint -W aud
|
||||
|
|
|
@ -1068,7 +1068,7 @@ end
|
|||
padding.y = 10;
|
||||
dynamic_padding = true;
|
||||
};
|
||||
shell.program = "nu";
|
||||
shell.program = "fish";
|
||||
font = {
|
||||
normal = {
|
||||
family = "VictorMono Nerd Font";
|
||||
|
@ -1124,6 +1124,7 @@ end
|
|||
enable = true;
|
||||
enableNushellIntegration = true;
|
||||
enableBashIntegration = true;
|
||||
enableFishIntegration = true;
|
||||
settings = {
|
||||
format = ''
|
||||
[\[](fg:#78787e) $username$hostname$directory[\]](fg:#78787e) [$cmd_duration$time$status](italic fg:#78787e)
|
||||
|
|
|
@ -135,8 +135,8 @@ with lib;
|
|||
# };
|
||||
# })
|
||||
kdenlive
|
||||
olive-editor
|
||||
davinci-resolve
|
||||
# olive-editor
|
||||
# davinci-resolve
|
||||
natron
|
||||
glaxnimate
|
||||
mediainfo
|
||||
|
|
|
@ -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…
Reference in a new issue