about summary refs log tree commit diff stats
path: root/hm/soispha/pkgs/scripts.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-02-07 20:54:29 +0100
committerSoispha <soispha@vhack.eu>2024-02-07 21:02:24 +0100
commit04e4fe4fe6329a279c220496d2c78ba5a9bc186d (patch)
treec81389a2a57815641f4a02cba669a496f37d5bf8 /hm/soispha/pkgs/scripts.nix
parentrefactor(hm/pkgs/scrs): Sort the declarations alphabetical (diff)
downloadnixos-config-04e4fe4fe6329a279c220496d2c78ba5a9bc186d.zip
feat(hm/pkgs/scrs): Add `mpc-fav` and `sort_song`
Diffstat (limited to 'hm/soispha/pkgs/scripts.nix')
-rw-r--r--hm/soispha/pkgs/scripts.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/hm/soispha/pkgs/scripts.nix b/hm/soispha/pkgs/scripts.nix
index a7b055fa..57aff326 100644
--- a/hm/soispha/pkgs/scripts.nix
+++ b/hm/soispha/pkgs/scripts.nix
@@ -151,6 +151,16 @@
     };
   };
 
+  mpc-fav-scr = write_shell {
+    name = "mpc-fav";
+    path = "wrappers";
+    dependencies = builtins.attrValues {
+      inherit
+        (pkgs)
+        mpc-cli
+        ;
+    };
+  };
 
   mpc-rm-scr = write_shell {
     name = "mpc-rm";
@@ -247,6 +257,11 @@
     dependencies = builtins.attrValues {inherit (pkgs) less locale;};
   };
 
+  sort_song-src = write_shell {
+    name = "sort_song";
+    path = "wrappers";
+    dependencies = builtins.attrValues {inherit (pkgs) mediainfo jq gawk;};
+  };
 
   spodi-scr = write_shell {
     name = "spodi";
@@ -281,12 +296,14 @@ in [
   ll-scr
   lock-scr
   lyrics-scr
+  mpc-fav-scr
   mpc-rm-scr
   nato-scr
   neorg-scr
   screenshot_persistent-scr
   screenshot_temporary-scr
   show-scr
+  sort_song-src
   spodi-scr
   update-sys-scr
   virsh-del-scr