diff --git a/pkgs/default.nix b/pkgs/default.nix index a4bd94d..0125119 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -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); diff --git a/pkgs/present-md.nix b/pkgs/present-md.nix new file mode 100644 index 0000000..da528cd --- /dev/null +++ b/pkgs/present-md.nix @@ -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 $@" +''