1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 18:21:07 +01:00

feat(i3): configure klem

This commit is contained in:
Kierán Meinhardt
2020-06-10 16:36:52 +02:00
parent 8e636461bd
commit 01c6dccc9c
2 changed files with 40 additions and 4 deletions

View File

@@ -18,14 +18,14 @@ let
shorten = ''${pkgs.curl}/bin/curl -fSs -F "shorten=$(${pkgs.coreutils}/bin/cat)" https://0x0.st'';
"replace p.r" = "${pkgs.gnused}/bin/sed 's/\\<r\\>/krebsco.de/'";
};
type = lib.types.attrsOf lib.types.str;
type = lib.types.attrs;
};
};
} ];
};
scriptCase = option: script: ''
'${option}') ${script} ;;
'${option}') ${toString script} ;;
'';
in
pkgs.writers.writeDashBin "klem" ''