Simple hack to get node packages into eaf-browser

This commit is contained in:
Emmet 2023-05-19 20:51:12 -05:00
parent 8b3fb0123c
commit 0f2d420e04
2 changed files with 6 additions and 1 deletions

View file

@ -32,7 +32,8 @@
recursive = true; recursive = true;
onChange = " onChange = "
pushd ~/.emacs.d/eaf/app/browser; pushd ~/.emacs.d/eaf/app/browser;
npm install darkreader @mozilla/readability; rm package*.json;
npm install darkreader @mozilla/readability && rm package*.json;
popd; popd;
"; ";
}; };

View file

@ -17,6 +17,10 @@ let
killall xmobar; killall xmobar;
xmonad --recompile && xmonad --restart; xmonad --recompile && xmonad --restart;
emacsclient --no-wait --eval "(load-theme 'doom-stylix t nil)"; emacsclient --no-wait --eval "(load-theme 'doom-stylix t nil)";
pushd ~/.emacs.d/eaf/app/browser;
rm package*.json;
npm install darkreader @mozilla/readability && rm package*.json;
popd;
fi fi
elif [ "$1" = "update" ]; then elif [ "$1" = "update" ]; then
pushd ''+myDotfilesDir+''; pushd ''+myDotfilesDir+'';