1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-07-02 11:11:04 +02:00

Merge pull request #64 from JakeStanger/feat/build-flags

feat: add feature flags
This commit is contained in:
Jake Stanger 2023-02-01 22:09:23 +00:00 committed by GitHub
commit 181561fe2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 249 additions and 62 deletions

View file

@ -28,9 +28,11 @@ yay -S ironbar-git
### Nix Flake
A flake is included with the repo which can be used with home-manager.
#### Example
Here is an example nix flake that uses ironbar, this is just a
proof of concept, please adapt it to your config
Here is an example nix flake that uses Ironbar.
```nix
{
@ -66,8 +68,9 @@ proof of concept, please adapt it to your config
```
#### Binary Caching
There is also a cachix cache at `https://app.cachix.org/cache/jakestanger`
incase you don't want to compile ironbar!
There is a Cachix cache available at `https://app.cachix.org/cache/jakestanger`
in case you don't want to compile Ironbar.
### Source
@ -79,6 +82,9 @@ cargo build --release
install target/release/ironbar ~/.local/bin/ironbar
```
By default, all features are enabled.
See [here](https://github.com/JakeStanger/ironbar/wiki/compiling) for controlling which features are included.
[repo](https://github.com/jakestanger/ironbar)
## Running