mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Simple hack to get node packages into eaf-browser
This commit is contained in:
parent
8b3fb0123c
commit
0f2d420e04
|
@ -32,7 +32,8 @@
|
|||
recursive = true;
|
||||
onChange = "
|
||||
pushd ~/.emacs.d/eaf/app/browser;
|
||||
npm install darkreader @mozilla/readability;
|
||||
rm package*.json;
|
||||
npm install darkreader @mozilla/readability && rm package*.json;
|
||||
popd;
|
||||
";
|
||||
};
|
||||
|
|
|
@ -17,6 +17,10 @@ let
|
|||
killall xmobar;
|
||||
xmonad --recompile && xmonad --restart;
|
||||
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
|
||||
elif [ "$1" = "update" ]; then
|
||||
pushd ''+myDotfilesDir+'';
|
||||
|
|
Loading…
Reference in a new issue