From f787702935b9ee8ae050f9e34bdc3b2853485806 Mon Sep 17 00:00:00 2001
From: Benedikt Peetz <benedikt.peetz@b-peetz.de>
Date: Thu, 8 Aug 2024 10:08:58 +0200
Subject: fix(home/beets): Split the replay gain post-import hook

The `&&` does not work, thus split the hook into two separate list
entries.
---
 modules/home/conf/beets/default.nix | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'modules/home/conf/beets')

diff --git a/modules/home/conf/beets/default.nix b/modules/home/conf/beets/default.nix
index 5f3a141c..4348257d 100644
--- a/modules/home/conf/beets/default.nix
+++ b/modules/home/conf/beets/default.nix
@@ -46,7 +46,12 @@
           {
             # Called, when `beet import` finishes
             event = "import";
-            command = "echo 'Import finished. Starting to calculate replay gain..' && beet replaygain";
+            command = "echo 'Import finished. Starting to calculate replay gain..'";
+          }
+          {
+            # Called, when `beet import` finishes
+            event = "import";
+            command = "beet replaygain";
           }
         ];
       };
-- 
cgit 1.4.1