summaryrefslogtreecommitdiff
path: root/features/user/gui/apps/mpv.nix
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2025-09-02 10:48:21 -0400
committertriethyl <triethylammonium@pm.me>2025-09-02 10:48:21 -0400
commit31c316d19cd974bb81a5d6de62142ff24db1c78e (patch)
treecb941422c76cb8953830a8d58c8e14dca1a10319 /features/user/gui/apps/mpv.nix
parent1c21018347aa277caba74e554cb8d1b1e7fc6bed (diff)
reorganized directory structure
Diffstat (limited to 'features/user/gui/apps/mpv.nix')
-rw-r--r--features/user/gui/apps/mpv.nix28
1 files changed, 0 insertions, 28 deletions
diff --git a/features/user/gui/apps/mpv.nix b/features/user/gui/apps/mpv.nix
deleted file mode 100644
index 562d151..0000000
--- a/features/user/gui/apps/mpv.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{ config, pkgs, lib, ... }: let
- cfg = config.features.gui.apps.mpv;
-in {
- options.features.gui.apps.mpv.enable = lib.mkEnableOption "mpv";
- config = lib.mkIf cfg.enable {
- programs.mpv = {
- enable = true;
- config = {
- # Change youtube downloader to yt-dlp for faster downloads.
- script-opts = "ytdl_hook-ytdl_path=${lib.getExe pkgs.yt-dlp}";
- # Download videos at 720p or lower.
- ytdl-format = "bestvideo[height<=720]+bestaudio/best[height<=720]";
-
- save-position-on-quit = false; # makes mpv audio only when true?
-
- osd-bar = false;
- };
- bindings = {
- "tab" = "script-binding uosc/toggle-ui";
- };
- scripts = with pkgs.mpvScripts; [
- uosc
- thumbfast
- sponsorblock
- ];
- };
- };
-}