From 02527e328c9a809e412538c175cff6511e6ff802 Mon Sep 17 00:00:00 2001 From: dish Date: Sat, 20 Sep 2025 13:13:24 -0400 Subject: [PATCH] [h.p.desktop] add mpv scripts --- modules/home/profiles/desktop/default.nix | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/modules/home/profiles/desktop/default.nix b/modules/home/profiles/desktop/default.nix index f4bbf911..5e910726 100644 --- a/modules/home/profiles/desktop/default.nix +++ b/modules/home/profiles/desktop/default.nix @@ -17,7 +17,26 @@ in gui.enable = mkDefault true; development.enable = mkDefault true; }; - programs.mpv.enable = mkDefault true; + programs.mpv = { + enable = mkDefault true; + scripts = with pkgs.mpvScripts; [ + videoclip + mpris + modernz + thumbfast + ]; + config = { + osc = false; + keep-open = true; + }; + scriptOpts = { + modernz.greenandgrumpy = true; + videoclip.preset = "medium"; + videoclip.video_folder_path = "~/Videos/mpv-clips/"; + videoclip.video_width = 1920; + videoclip.video_height = 1080; + }; + }; home.packages = with pkgs; [ archipelago brightnessctl -- 2.51.2