{
  pkgs,
  sysLib,
  ...
}: let
  write_script = {
    name,
    path,
    dependencies,
  }:
    sysLib.makeShellScriptWithLibrary {
      inherit name;
      script = ./scripts/${path}/${name};
      dependencies = dependencies ++ [pkgs.dash];
    };
  aumo-scr = write_script {
    name = "aumo";
    path = "apps";
    dependencies = builtins.attrValues {inherit (pkgs) udisks gawk gnused gnugrep sudo;};
  };
  con2pdf-scr = write_script {
    name = "con2pdf";
    path = "apps";
    dependencies = builtins.attrValues {inherit (pkgs) sane-backends imagemagick;};
  };

  dldragon-scr = write_script {
    name = "dldragon";
    path = "small_functions";
    dependencies = builtins.attrValues {inherit (pkgs) curl xdragon;};
  };
  gtk-themes-scr = write_script {
    name = "gtk-themes";
    path = "small_functions";
    dependencies = builtins.attrValues {inherit (pkgs) glib;};
  };
  screen_shot-scr = write_script {
    name = "screen_shot";
    path = "small_functions";
    dependencies = builtins.attrValues {inherit (pkgs) grim slurp alacritty;}; # TODO add llp
  };
  mocs-scr = write_script {
    name = "mocs";
    path = "small_functions";
    dependencies = builtins.attrValues {inherit (pkgs) ncmpc procps;}; # TODO add mymocp
  };
  update-scr = write_script {
    name = "update";
    path = "small_functions";
    dependencies = builtins.attrValues {inherit (pkgs) git nixos-rebuild sudo openssh;};
  };

  backsnap-scr = write_script {
    name = "backsnap";
    path = "wrappers";
    dependencies = builtins.attrValues {}; # TODO add snap-sync
  };
  ll-scr = sysLib.makeShellScriptWithLibraryUnwrapped {
    name = "ll";
    script = ./scripts/wrappers/ll;
  };
  # TODO this need to be replaced with a wayland alternative
  #  llp-scr = write_script {
  #     name = "llp";
  #     path = "wrappers";
  #     dependencies = builtins.attrValues {inherit (pkgs) lf ueberzug;};
  #   };
  spodi-scr = write_script {
    name = "spodi";
    path = "wrappers";
    dependencies = builtins.attrValues {inherit (pkgs) gawk expect spotdl;};
  };
  virsh-del-scr = write_script {
    name = "virsh-del";
    path = "wrappers";
    dependencies = builtins.attrValues {inherit (pkgs) libvirt;};
  };
  yti-scr = write_script {
    name = "yti";
    path = "wrappers";
    dependencies = builtins.attrValues {inherit (pkgs) gawk expect yt-dlp;};
  };
in [
  aumo-scr
  con2pdf-scr
  dldragon-scr
  gtk-themes-scr
  screen_shot-scr
  mocs-scr
  update-scr
  backsnap-scr
  ll-scr
  # llp-scr # TODO see above
  spodi-scr
  virsh-del-scr
  yti-scr
]