{ config, ... }: { programs.mpv = { enable = true; config = { screenshot-format = "avif"; # The format is ' [].avif' # Read more about it at: https://mpv.io/manual/master/#screenshot screenshot-template = "%F [%n]"; screenshot-directory = "${config.xdg.userDirs.pictures}/Screenshots/mpv"; }; }; }