mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-23 20:35:42 +02:00
REAMDE: installation
This commit is contained in:
parent
42f9165bd7
commit
74043d0e6d
1 changed files with 38 additions and 2 deletions
40
README.md
40
README.md
|
@ -49,9 +49,9 @@ must define a top-level dictionary named **bar**:
|
||||||
right:
|
right:
|
||||||
- clock:
|
- clock:
|
||||||
content:
|
content:
|
||||||
- string: {text: , font: *awesome}
|
- string: {text: , font: "Font Awesome 5 Free:style=solid:size=12"}
|
||||||
- string: {text: "{date}", right-margin: 5}
|
- string: {text: "{date}", right-margin: 5}
|
||||||
- string: {text: , font: *awesome}
|
- string: {text: , font: "Font Awesome 5 Free:style=solid:size=12"}
|
||||||
- string: {text: "{time}"}
|
- string: {text: "{time}"}
|
||||||
|
|
||||||
|
|
||||||
|
@ -73,3 +73,39 @@ Available modules:
|
||||||
* removables
|
* removables
|
||||||
* xkb (_XCB backend only_)
|
* xkb (_XCB backend only_)
|
||||||
* xwindow (_XCB backend only_)
|
* xwindow (_XCB backend only_)
|
||||||
|
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
If you have not installed [tllist](https://codeberg.org/dnkl/tllist)
|
||||||
|
and [fcft](https://codeberg.org/dnkl/fcft) as system libraries, clone
|
||||||
|
them into the `subprojects` directory:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
mkdir -p subprojects
|
||||||
|
pushd subprojects
|
||||||
|
git clone https://codeberg.org/dnkl/tllist.git
|
||||||
|
git clone https://codeberg.org/dnkl/fcft.git
|
||||||
|
popd
|
||||||
|
```
|
||||||
|
|
||||||
|
To build, first, create a build directory, and switch to it:
|
||||||
|
```sh
|
||||||
|
mkdir -p bld/release && cd bld/release
|
||||||
|
```
|
||||||
|
|
||||||
|
Second, configure the build (if you intend to install it globally, you
|
||||||
|
might also want `--prefix=/usr`):
|
||||||
|
```sh
|
||||||
|
meson --buildtype=release ../..
|
||||||
|
```
|
||||||
|
|
||||||
|
Three, build it:
|
||||||
|
```sh
|
||||||
|
ninja
|
||||||
|
```
|
||||||
|
|
||||||
|
Optionally, install it:
|
||||||
|
```sh
|
||||||
|
ninja install
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue