mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
add gnome-extensions script
This commit is contained in:
parent
f248221fb3
commit
45bce4a081
1 changed files with 5 additions and 0 deletions
|
@ -44,6 +44,11 @@
|
|||
jupy = python3.withPackages (p: with p; [ jupyterlab ipython ]);
|
||||
in
|
||||
{
|
||||
gnome-extensions = writeShellScriptBin "gnome-extensions" ''
|
||||
cat ${path}/pkgs/desktops/gnome/extensions/extensions.json |
|
||||
${jq}/bin/jq -c '.[]|{name,ver:(.shell_version_map|keys)}'
|
||||
'';
|
||||
|
||||
jupyterlab = writeShellScriptBin "jupyterlab" ''
|
||||
exec ${jupy}/bin/python -m jupyterlab "$@"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue