fix open-in-mpv extension

This commit is contained in:
Colin 2023-12-14 07:26:50 +00:00
parent 32fb79d43d
commit 58105e9b62
2 changed files with 19 additions and 0 deletions

View File

@ -57,6 +57,7 @@
./ntfy-sh.nix
./obsidian.nix
./offlineimap.nix
./open-in-mpv.nix
./playerctl.nix
./rhythmbox.nix
./ripgrep.nix

View File

@ -0,0 +1,18 @@
{ ... }:
{
sane.programs.open-in-mpv = {
# taken from <https://github.com/Baldomo/open-in-mpv>
fs.".config/open-in-mpv/config.yml".symlink.text = ''
players:
mpv:
name: mpv
executable: mpv
fullscreen: "--fs"
pip: "--ontop --no-border --autofit=384x216 --geometry=98\\%:98\\%"
enqueue: ""
new_window: ""
needs_ipc: true
flag_overrides: {}
'';
};
}