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
|
unbind t
|
||||||
|
|
||||||
"" Adding my own bindings
|
"" 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 gt hint -W torrent
|
||||||
bind gv current_url mpv
|
bind gv current_url mpv
|
||||||
bind ga hint -W aud
|
bind ga hint -W aud
|
||||||
|
|
|
@ -1068,7 +1068,7 @@ end
|
||||||
padding.y = 10;
|
padding.y = 10;
|
||||||
dynamic_padding = true;
|
dynamic_padding = true;
|
||||||
};
|
};
|
||||||
shell.program = "nu";
|
shell.program = "fish";
|
||||||
font = {
|
font = {
|
||||||
normal = {
|
normal = {
|
||||||
family = "VictorMono Nerd Font";
|
family = "VictorMono Nerd Font";
|
||||||
|
@ -1124,6 +1124,7 @@ end
|
||||||
enable = true;
|
enable = true;
|
||||||
enableNushellIntegration = true;
|
enableNushellIntegration = true;
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
|
enableFishIntegration = true;
|
||||||
settings = {
|
settings = {
|
||||||
format = ''
|
format = ''
|
||||||
[\[](fg:#78787e) $username$hostname$directory[\]](fg:#78787e) [$cmd_duration$time$status](italic fg:#78787e)
|
[\[](fg:#78787e) $username$hostname$directory[\]](fg:#78787e) [$cmd_duration$time$status](italic fg:#78787e)
|
||||||
|
|
|
@ -135,8 +135,8 @@ with lib;
|
||||||
# };
|
# };
|
||||||
# })
|
# })
|
||||||
kdenlive
|
kdenlive
|
||||||
olive-editor
|
# olive-editor
|
||||||
davinci-resolve
|
# davinci-resolve
|
||||||
natron
|
natron
|
||||||
glaxnimate
|
glaxnimate
|
||||||
mediainfo
|
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