forked from pub-solar/os
Benjamin Bädorf
fd50ecf445
This commit shuffles around some sway keybindings and improves the screen recording experience by adding a small wrapper around `slurp` and `wf-recorder` conveniently called `record-screen`. * `$mod+F5` now reload the sway configuration, * `$mod+Ctrl+r` starts a screen recording (to stop it, go to workspace 7 and kill the process), * `record-screen` and the firefox sharing indicator are both on workspace 7 now, making it the "trash" workspace, * `$mod+F1` and `$mod+Shift+h` now open Firefox with the docs of our repository availabe under `help.local`. * To not infuriate `qMasterPassword` users, that is now available under `$mod+Shift+m` instead of `$mod+F1`.
27 lines
431 B
Nix
27 lines
431 B
Nix
self: with self;
|
|
stdenv.mkDerivation rec {
|
|
pname = "psos-docs";
|
|
version = "0.0.1";
|
|
buildInputs = [
|
|
mdbook
|
|
mdbook-pdf
|
|
];
|
|
|
|
src = ../docs/..; # wut
|
|
|
|
phases = [ "buildPhase" "installPhase" ];
|
|
|
|
buildPhase = ''
|
|
cp -r $src/doc ./doc
|
|
cp $src/README.md ./README.md
|
|
chmod ug+w -R .
|
|
ls -la .
|
|
mdbook build doc
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/lib/
|
|
cp -r doc/book $out/lib/html
|
|
'';
|
|
}
|