feat: watch youtube/twitch with mpv
This commit is contained in:
parent
6176d81fae
commit
656a8d7a5f
|
@ -5,8 +5,8 @@
|
|||
betterfox = pkgs.fetchFromGitHub {
|
||||
owner = "yokoffing";
|
||||
repo = "Betterfox";
|
||||
rev = "116.1";
|
||||
hash = "sha256-Ai8Szbrk/4FhGhS4r5gA2DqjALFRfQKo2a/TwWCIA6g=";
|
||||
rev = "128.0";
|
||||
hash = "sha256-Xbe9gHO8Kf9C+QnWhZr21kl42rXUQzqSDIn99thO1kE=";
|
||||
};
|
||||
in
|
||||
{
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
# for electron signal app state
|
||||
".config/Signal"
|
||||
".config/streamlink-twitch-gui"
|
||||
".config/discord"
|
||||
".config/WebCord"
|
||||
".local/share/TelegramDesktop"
|
||||
|
|
|
@ -24,22 +24,29 @@
|
|||
timer
|
||||
orca-slicer
|
||||
|
||||
ocaml
|
||||
dune_3
|
||||
ocamlformat # formatter
|
||||
ocamlPackages.ocaml-lsp
|
||||
ocamlPackages.utop
|
||||
ocamlPackages.mparser
|
||||
ocamlPackages.ounit2
|
||||
ocamlPackages.qcheck
|
||||
|
||||
via
|
||||
|
||||
streamlink
|
||||
streamlink-twitch-gui-bin
|
||||
|
||||
yt-dlp
|
||||
|
||||
figlet
|
||||
cowsay
|
||||
cmatrix
|
||||
];
|
||||
};
|
||||
xdg.configFile."streamlink/config".text = ''
|
||||
player=mpv
|
||||
'';
|
||||
xdg.configFile."mpv/mpv.conf".text = ''
|
||||
vo=gpu-next
|
||||
hwdec=auto-safe
|
||||
'';
|
||||
xdg.configFile."mpv/input.conf".text = ''
|
||||
UP add volume 2
|
||||
DOWN add volume -2
|
||||
'';
|
||||
# Make sure the keygrips exist, otherwise we'd need to run `gpg --card-status`
|
||||
# before being able to use the yubikey.
|
||||
home.activation.installKeygrips = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
|
|
Loading…
Reference in a new issue