diff --git a/modules/hm/desktop/mpv.nix b/modules/hm/desktop/mpv.nix new file mode 100644 index 0000000..dd199e2 --- /dev/null +++ b/modules/hm/desktop/mpv.nix @@ -0,0 +1,24 @@ +{ + flake.modules.homeManager.desktop = + { pkgs, ... }: + { + programs.mpv = { + enable = true; + + scripts = ( + with pkgs.mpvScripts; + [ + modernz + thumbfast + mpris + mpv-image-viewer.image-positioning + ] + ); + + config = { + osc = "no"; + border = "no"; + }; + }; + }; +}