aboutsummaryrefslogtreecommitdiff
path: root/share/home/mpv.nix
diff options
context:
space:
mode:
Diffstat (limited to 'share/home/mpv.nix')
-rw-r--r--share/home/mpv.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/share/home/mpv.nix b/share/home/mpv.nix
new file mode 100644
index 0000000..62c9188
--- /dev/null
+++ b/share/home/mpv.nix
@@ -0,0 +1,12 @@
+{ config, ... }: {
+ programs.mpv = {
+ enable = true;
+ config = {
+ screenshot-format = "avif";
+ # The format is '<Filename without extension> [<screenshot number>].avif'
+ # Read more about it at: https://mpv.io/manual/master/#screenshot
+ screenshot-template = "%F [%n]";
+ screenshot-directory = "${config.xdg.userDirs.pictures}/Screenshots/mpv";
+ };
+ };
+}