commit e3c3a1efe53ca7bde4c21a2763bd03eeaac71cc2
parent 756aba6844b16a86053ae33537b65fdc9e787405
Author: Andrea Feletto <andrea@andreafeletto.com>
Date: Sun, 30 Jan 2022 20:30:08 +0100
add instructions for river init
Diffstat:
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
@@ -16,8 +16,10 @@ zig build -Drelease-safe --prefix ~/.local install
## Usage
+Add the following toward the end of `$XDG_CONFIG_HOME/river/init`:
+
```
-levee
+riverctl spawn levee
```
## Dependencies
diff --git a/build.zig b/build.zig
@@ -24,7 +24,7 @@ pub fn build(b: *std.build.Builder) void {
const fcft = Pkg{
.name = "fcft",
.path = .{ .path = "deps/zig-fcft/fcft.zig" },
- .dependencies = &[_]Pkg{ pixman },
+ .dependencies = &[_]Pkg{pixman},
};
const udev = Pkg{
.name = "udev",
diff --git a/src/modules.zig b/src/modules.zig
@@ -52,7 +52,7 @@ pub const Battery = struct {
return Battery{
.state = state,
- .context= context,
+ .context = context,
.devices = devices,
};
}