config/users/pbsds/home/profiles/mpv.nix

12 lines
397 B
Nix
Raw Normal View History

2023-03-04 00:09:57 +01:00
{ pkgs, ... }:
{
2023-03-09 07:03:15 +01:00
#home.packages = with pkgs; [ mpv ];
2023-03-04 00:09:57 +01:00
programs.mpv.enable = true;
programs.mpv.bindings."n" = "sub-seek 1";
programs.mpv.bindings."SHIFT+n" = "sub-seek -1";
2023-03-08 22:48:40 +01:00
programs.mpv.bindings."b" = ''cycle-values audio-channels 2 "auto"'';
2023-03-11 15:59:56 +01:00
programs.mpv.config.osc = "no"; # likely a thumbnail requirement
2023-03-04 00:09:57 +01:00
programs.mpv.scripts = with pkgs.mpvScripts; [ thumbnail ];
}