summaryrefslogtreecommitdiff
path: root/hm/soft/mpv.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hm/soft/mpv.nix')
-rw-r--r--hm/soft/mpv.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/hm/soft/mpv.nix b/hm/soft/mpv.nix
index 4af4198..380d0d5 100644
--- a/hm/soft/mpv.nix
+++ b/hm/soft/mpv.nix
@@ -1,4 +1,9 @@
-{ config, lib, pkgs, ... }:
+{
+ config,
+ lib,
+ pkgs,
+ ...
+}:
let
cfg = config.hm.soft.mpv;
s = "~~/shaders/shim";
@@ -12,7 +17,8 @@ in
];
home.file = {
- ".config/mpv/shaders/shim".source = "${pkgs.mpv-shim-default-shaders}/share/mpv-shim-default-shaders/shaders";
+ ".config/mpv/shaders/shim".source =
+ "${pkgs.mpv-shim-default-shaders}/share/mpv-shim-default-shaders/shaders";
};
programs.mpv = {
@@ -69,7 +75,7 @@ in
screenshot-format = "png";
screenshot-sw = "no";
- screenshot-directory = "${toString config.hm.conf.xdg-dirs.mediaPath}/pics/ss";
+ screenshot-directory = "${toString config.hm.conf.xdg-dirs.storagePath}/pics/ss";
screenshot-template = "mpv-%f-%wH.%wM.%wS-#%#00n";
};