Skip to content

Commit

Permalink
Gitignore zip and oxt (#12)
Browse files Browse the repository at this point in the history
* Gitignore zip and oxt

* Update README
  • Loading branch information
Jupi007 authored Aug 12, 2020
1 parent ed89b73 commit f75d0c2
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
images_yaru.zip
yaru-theme.oxt
oxt/iconsets/images_yaru.zip
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,25 @@ If you want to contribute, please look at [CONTRIBUTING.md](./CONTRIBUTING.md).

### From extension

Since Libreoffice 6.0, you can install an icon pack with an extension. To do that, simply download the extension from the following link (or use the one generated by the build script at the root of the project):
Since Libreoffice 6.0, you can install an icon pack with an extension. To do that, simply clone the repository and generate the extension with the build script at the root of the project:

https://github.com/Jupiter007-43/libreoffice-style-yaru-fullcolor/raw/master/yaru-theme.oxt
```bash
git clone https://github.com/Jupiter007-43/libreoffice-style-yaru-fullcolor.git
cd libreoffice-style-yaru-fullcolor
./generate-oxt.sh
```

Then open it with Libreoffice or, open __Tools____Extension Manager__ (or __Ctrl__ + __Alt__ + __E__) then click on __Add__ and browse for local directory where the extension placed.
This will generate a `yaru-theme.oxt` file.
Open it with Libreoffice or, open __Tools____Extension Manager__ (or __Ctrl__ + __Alt__ + __E__) then click on __Add__ and browse for local directory where the extension placed.

### From script

Because it is faster, install from script will be useful if you want to modify the icons and reinstall the pack many times for testing:

```bash
$ git clone https://github.com/Jupiter007-43/libreoffice-style-yaru-fullcolor.git
$ cd libreoffice-style-yaru-fullcolor
$ ./install.sh
git clone https://github.com/Jupiter007-43/libreoffice-style-yaru-fullcolor.git
cd libreoffice-style-yaru-fullcolor
./install.sh
```

⚠ Installing from script and extension will duplicate the icon pack into the options, so you should remove one before using the other way.
Expand All @@ -45,7 +50,7 @@ To remove the extension, open __Tools__ → __Extension Manager__ (or __Ctrl__ +
If you want to remove an installation made with the script just execute the remove script at the root of the project:

```bash
$ ./remove.sh
./remove.sh
```

## Copying or Reusing
Expand Down
Binary file removed images_yaru.zip
Binary file not shown.
Binary file removed oxt/iconsets/images_yaru.zip
Binary file not shown.
Binary file removed yaru-theme.oxt
Binary file not shown.

0 comments on commit f75d0c2

Please sign in to comment.