about summary refs log tree commit diff stats
path: root/modules/home/conf
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-21 15:17:45 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-21 15:25:24 +0200
commitc9142c027ebd8af3c3b15827f629639d4495e2f5 (patch)
tree7383279241345e79c062eeeae66c33777d88f350 /modules/home/conf
parentbuild(treewide): Update (diff)
downloadnixos-config-c9142c027ebd8af3c3b15827f629639d4495e2f5.tar.gz
nixos-config-c9142c027ebd8af3c3b15827f629639d4495e2f5.zip
feat(home/yt): Init config files
Diffstat (limited to '')
-rw-r--r--modules/home/conf/default.nix1
-rw-r--r--modules/home/conf/yt/default.nix4
-rw-r--r--modules/home/conf/yt/input.conf4
-rw-r--r--modules/home/conf/yt/mpv.conf3
4 files changed, 12 insertions, 0 deletions
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