mirror of
https://github.com/scorpion-26/gBar.git
synced 2024-11-22 03:02:49 +00:00
Update README.md
This commit is contained in:
parent
c27912c8a5
commit
785dc00c0f
1 changed files with 16 additions and 4 deletions
20
README.md
20
README.md
|
@ -84,11 +84,23 @@ Audio Flyin:
|
||||||
## Plugins
|
## Plugins
|
||||||
gBar utilizes a plugin system for custom widgets.
|
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```.
|
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```\
|
meson setup build -Dprefix=~/.local
|
||||||
```gBar gBarHelloWorld``` The second argument is the name of the shared library (without 'lib' and '.so').
|
```
|
||||||
|
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
|
## FAQ
|
||||||
|
|
Loading…
Reference in a new issue