aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/by-name/yt/yt/module.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/modules/by-name/yt/yt/module.nix b/modules/by-name/yt/yt/module.nix
index a0360c51..cfcaa4e6 100644
--- a/modules/by-name/yt/yt/module.nix
+++ b/modules/by-name/yt/yt/module.nix
@@ -46,8 +46,8 @@
max_cache_size = "5 GiB";
};
- show = {
- image_show_command = lib.getExe (pkgs.writeShellApplication {
+ commands = {
+ image_show = lib.getExe (pkgs.writeShellApplication {
name = "show_thumbnail";
text = ''
imv -w "floating please" "$1"
@@ -58,9 +58,8 @@
inheritPath = false;
});
- };
- watch = {
- external_command_spawn_script = lib.getExe (pkgs.writeShellApplication {
+
+ external_spawn = lib.getExe (pkgs.writeShellApplication {
name = "start_external_command";
text = builtins.readFile ./external_commands_script.sh;
runtimeInputs = [