ytcc: Init
This commit is contained in:
parent
57de9427ea
commit
aa6458f4bf
|
@ -21,6 +21,7 @@
|
|||
./xcompose.nix
|
||||
./xdg.nix
|
||||
./youtube-dl.nix
|
||||
./ytcc.nix
|
||||
./zathura.nix
|
||||
./zsh.nix
|
||||
];
|
||||
|
|
|
@ -140,6 +140,9 @@ in
|
|||
|
||||
# sponsorblock: set segment boundaries
|
||||
"alt+g" = "script-binding sponsorblock/set_segment";
|
||||
|
||||
# Exits with error to not mark the video as watched in ytcc
|
||||
"Shift+q" = "quit-watch-later 1";
|
||||
};
|
||||
|
||||
profiles =
|
||||
|
|
21
users/simon/modules/ytcc.nix
Normal file
21
users/simon/modules/ytcc.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
xdg.configFile."ytcc/ytcc.conf".text = lib.generators.toINI { } {
|
||||
ytcc = {
|
||||
mpv_flags = lib.concatStringsSep " " [
|
||||
"--really-quiet"
|
||||
"--volume=90"
|
||||
"--profile=clear-speed"
|
||||
"--ytdl"
|
||||
"--ytdl-format=bestvideo[vcodec^=avc1][width<=1920][fps<=30]+bestaudio[acodec^=opus]/bestvideo+bestaudio/best"
|
||||
];
|
||||
};
|
||||
|
||||
theme = {
|
||||
table_alternate_background = 0;
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [ unstable.ytcc ];
|
||||
}
|
Loading…
Reference in a new issue