about summary refs log tree commit diff stats
path: root/modules/home.legacy/conf/yt
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home.legacy/conf/yt')
-rw-r--r--modules/home.legacy/conf/yt/config.toml2
-rw-r--r--modules/home.legacy/conf/yt/default.nix5
-rw-r--r--modules/home.legacy/conf/yt/input.conf9
-rw-r--r--modules/home.legacy/conf/yt/mpv.conf2
4 files changed, 18 insertions, 0 deletions
diff --git a/modules/home.legacy/conf/yt/config.toml b/modules/home.legacy/conf/yt/config.toml
new file mode 100644
index 00000000..981481d9
--- /dev/null
+++ b/modules/home.legacy/conf/yt/config.toml
@@ -0,0 +1,2 @@
+[download]
+max_cache_size = "5 GiB"
diff --git a/modules/home.legacy/conf/yt/default.nix b/modules/home.legacy/conf/yt/default.nix
new file mode 100644
index 00000000..507a0db1
--- /dev/null
+++ b/modules/home.legacy/conf/yt/default.nix
@@ -0,0 +1,5 @@
+{...}: {
+  xdg.configFile."yt/mpv.conf".source = ./mpv.conf;
+  xdg.configFile."yt/mpv.input.conf".source = ./input.conf;
+  xdg.configFile."yt/config.toml".source = ./config.toml;
+}
diff --git a/modules/home.legacy/conf/yt/input.conf b/modules/home.legacy/conf/yt/input.conf
new file mode 100644
index 00000000..f374f062
--- /dev/null
+++ b/modules/home.legacy/conf/yt/input.conf
@@ -0,0 +1,9 @@
+Q script-message yt-mark-watch-later
+c script-message yt-comments-external
+C script-message yt-comments-local
+d script-message yt-description
+WHEEL_LEFT playlist-prev
+WHEEL_RIGHT playlist-next
+q script-message yt-mark-done-and-go-next
+r script-message yt-check-new-videos
+P quit
diff --git a/modules/home.legacy/conf/yt/mpv.conf b/modules/home.legacy/conf/yt/mpv.conf
new file mode 100644
index 00000000..b6d2501f
--- /dev/null
+++ b/modules/home.legacy/conf/yt/mpv.conf
@@ -0,0 +1,2 @@
+speed=2.7
+volume=75