blob: 104825ff9a01c799a32ef9df31f09b2acc49fcb0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
{
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) moc procps;}; # TODO add mymocp
};
backsnap-scr = write_script {
name = "backsnap";
path = "wrappers";
dependencies = builtins.attrValues {}; # TODO add snap-sync
};
ll-scr = write_script {
name = "ll";
path = "wrappers";
dependencies = builtins.attrValues {inherit (pkgs) lf;};
};
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
backsnap-scr
ll-scr
llp-scr
spodi-scr
virsh-del-scr
yti-scr
]
|