From 785dc00c0f298f4dec7f5bb97e7a7632f1d73bde Mon Sep 17 00:00:00 2001 From: scorpion-26 <58082714+scorpion-26@users.noreply.github.com> Date: Sat, 28 Jan 2023 15:12:17 +0100 Subject: [PATCH] Update README.md --- README.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 11f606e..fe5160a 100644 --- a/README.md +++ b/README.md @@ -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