From c9142c027ebd8af3c3b15827f629639d4495e2f5 Mon Sep 17 00:00:00 2001
From: Benedikt Peetz <benedikt.peetz@b-peetz.de>
Date: Wed, 21 Aug 2024 15:17:45 +0200
Subject: feat(home/yt): Init config files

---
 modules/home/conf/default.nix    | 1 +
 modules/home/conf/yt/default.nix | 4 ++++
 modules/home/conf/yt/input.conf  | 4 ++++
 modules/home/conf/yt/mpv.conf    | 3 +++
 4 files changed, 12 insertions(+)
 create mode 100644 modules/home/conf/yt/default.nix
 create mode 100644 modules/home/conf/yt/input.conf
 create mode 100644 modules/home/conf/yt/mpv.conf

(limited to 'modules/home/conf')

diff --git a/modules/home/conf/default.nix b/modules/home/conf/default.nix
index fcaab323..b6eddec4 100644
--- a/modules/home/conf/default.nix
+++ b/modules/home/conf/default.nix
@@ -41,6 +41,7 @@
     ./unison
     ./xdg
     ./yambar
+    ./yt
     ./ytcc
     ./zsh
   ];
diff --git a/modules/home/conf/yt/default.nix b/modules/home/conf/yt/default.nix
new file mode 100644
index 00000000..14710586
--- /dev/null
+++ b/modules/home/conf/yt/default.nix
@@ -0,0 +1,4 @@
+{...}: {
+  xdg.configFile."yt/mpv.conf".source = ./mpv.conf;
+  xdg.configFile."yt/mpv.input.conf".source = ./input.conf;
+}
diff --git a/modules/home/conf/yt/input.conf b/modules/home/conf/yt/input.conf
new file mode 100644
index 00000000..3f8e4523
--- /dev/null
+++ b/modules/home/conf/yt/input.conf
@@ -0,0 +1,4 @@
+Q script-message yt-mark-watch-later
+c script-message yt-comments-external
+C script-message yt-comments-local
+d script-message yt-description
diff --git a/modules/home/conf/yt/mpv.conf b/modules/home/conf/yt/mpv.conf
new file mode 100644
index 00000000..e73063c4
--- /dev/null
+++ b/modules/home/conf/yt/mpv.conf
@@ -0,0 +1,3 @@
+speed=2.7
+volume=75
+msg-level=osd/libass=fatal
-- 
cgit 1.4.1