Skip to content
This repository was archived by the owner on Mar 27, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ To build the latest version, you'll need to install `npm` (the node.js package m
3. you can install the extension to a symlink in ~/.local/share/gnome-shell/extensions using:

tools/gup dev-install

Alternatively, to install the extension system-wide (available for all users), run:

tools/gup install

To compile stuff (after changing some source code), run `tools/gup compile`. You can add e.g `-j3` to compile stuff in parallel.

Expand Down
8 changes: 8 additions & 0 deletions install.gup
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!bash -eu
here="$(pwd)"
gup --always

dest="$PREFIX/usr/share/gnome-shell/extensions/shellshape@gfxmonk.net"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will fail if PREFIX isn't set, since I use -u in the shebang line. "${PREFIX:-}/usr/..." should work

echo "Installing to $dest"
mkdir -p "$(dirname "$dest")"
cp -R "$here/shellshape" "$dest"