fixed vesktop and added mpv config

This commit is contained in:
chloe 2025-07-14 13:37:14 +02:00
parent 5ff67cdcff
commit b80fb6a674
2 changed files with 26 additions and 0 deletions

View file

@ -594,6 +594,7 @@ workspace "chat"
window-rule {
match at-startup=true app-id=r#"^discord$"#
match at-startup=true app-id=r#"^vesktop$"#
match at-startup=true app-id=r#"^Beeper$"#
open-on-workspace "chat"
}

View file

@ -266,6 +266,31 @@
home.shell.enableZshIntegration = true;
programs.mpv = {
enable = true;
package = (
pkgs.mpv-unwrapped.wrapper {
scripts = with pkgs.mpvScripts; [
uosc
sponsorblock
mpv-notify-send
mpv-discord
youtube-upnext
];
mpv = pkgs.mpv-unwrapped.override {
waylandSupport = true;
ffmpeg = pkgs.ffmpeg-full;
};
}
);
config = {
profile = "high-quality";
ytdl-format = "bestvideo+bestaudio";
cache-default = 4000000;
};
};
programs.zsh = {
enable = true;
enableCompletion = true;