1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat: scripts from luke smith

This commit is contained in:
Kierán Meinhardt
2020-04-15 20:39:37 +02:00
parent e3f1557099
commit 104c173549
2 changed files with 23 additions and 3 deletions

View File

@@ -4,6 +4,12 @@ let
PATH=${lib.makeBinPath (packages ++ [pkgs.coreutils pkgs.findutils])}
${script} "$@"
'';
voidrice = pkgs.fetchFromGitHub {
owner = "LukeSmithxyz";
repo = "voidrice";
rev = "dff66cd1efb36afd54dd6dcf2fdaa9475d5646c1";
sha256 = "19f33ins2kzgiw72d62j8zz9ai3j8m4qqfqmagxkg9yhxqkdqry7";
};
in
{
# https://github.com/LukeSmithxyz/voidrice/blob/9fe6802122f6e0392c7fe20eefd30437771d7f8e/.local/bin/dmenuunicode
@@ -103,6 +109,18 @@ in
name = "nix-git";
};
linkhandler = wrapScript {
packages = [ pkgs.utillinux pkgs.mpv pkgs.curl pkgs.gnused pkgs.sxiv pkgs.ts ];
script = "${voidrice}/.local/bin/linkhandler";
name = "linkhandler";
};
mansplain = wrapScript {
packages = [ pkgs.man pkgs.zathura pkgs.dmenu pkgs.gnused ];
script = ./mansplain.sh;
name = "mansplain";
};
notetags = wrapScript {
script = ./notetags.sh;
name = "notetags";