Add present-md package

This commit is contained in:
Benjamin Bädorf 2023-03-05 17:38:39 +01:00
parent 8bd7474651
commit 71e2398333
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
2 changed files with 6 additions and 0 deletions

View file

@ -8,6 +8,7 @@ with final; {
mailto-mutt = writeShellScriptBin "mailto-mutt" (import ./mailto-mutt.nix final);
mopidy-jellyfin = import ./mopidy-jellyfin.nix final;
mu = writeShellScriptBin "mu" (import ./mu.nix final);
present-md = writeShellScriptBin "present-md" (import ./present-md.nix final);
psos = writeShellScriptBin "psos" (import ./psos.nix final);
psos-docs = import ./psos-docs.nix final;
s = writeShellScriptBin "s" (import ./s.nix final);

5
pkgs/present-md.nix Normal file
View file

@ -0,0 +1,5 @@
self:
with self; ''
WORKING_DIR=$(pwd)
exec alacritty --option font.size=28 --option window.padding.y=20 --working-directory "$WORKING_DIR" --command $SHELL -c "${slides}/bin/slides $@"
''