Update README.md

This commit is contained in:
scorpion-26 2023-01-28 15:12:17 +01:00 committed by GitHub
parent c27912c8a5
commit 785dc00c0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,11 +84,23 @@ Audio Flyin:
## Plugins
gBar utilizes a plugin system for custom widgets.
Plugins are native shared-libraries, which need to be placed inside ```~/.local/lib/gBar```, ```/usr/lib/gBar``` or ```/usr/local/lib/gBar```.
Inside example/ there is an example plugin setup. To build and run it, run the following commands:
Inside example/ there is an example plugin setup. To build and run it, run the following commands inside the example directory:
```meson setup build -Dprefix=~/.local``` for the local user or ```meson setup build``` for all users\
```ninja -C build install```\
```gBar gBarHelloWorld``` The second argument is the name of the shared library (without 'lib' and '.so').
```
meson setup build -Dprefix=~/.local
```
for the local user
OR
```
meson setup build
```
for all users
```
ninja -C build install
gBar gBarHelloWorld
```
The second argument is the name of the shared library (without 'lib' and '.so').
## FAQ