No description
Find a file
Ben Buhse 43e3d268c9
Implement initial config loading
Config goes in $XDG_CONFIG_HOME/beansprout/config.kdl or
$HOME/.config/beansprout/config.kdl

Config is in the kdl format. Right now, the supported options are

```zig
/// Width of window borders in pixels
border_width: u8 = 2,
/// Color of focused window's border in 0xRRGGBBAA or 0xRRGGBB form
border_color_focused: RiverColor = utils.parseRgbaComptime("0x89b4fa"),
/// Color of uffocused windows' borders in 0xRRGGBBAA or 0xRRGGBB form
border_color_unfocused: RiverColor = utils.parseRgbaComptime("0x1e1e2e"),

/// Where a new window should attach, top or bottom of the stack
attach_mode: AttachMode = .top,
/// Should focus change when the cursor moves onto a new window
focus_follows_pointer: bool = true,
/// Should the pointer warp to the center of newly-focused windows
pointer_warp_on_focus_change: bool = true,
```

I plan to add Keybinds shortly. If parsing the configuration fails,
the default config will be used and the WM will continue loading.
2026-01-27 14:54:27 -06:00
examples Update example/init slightly 2026-01-19 14:32:36 -06:00
LICENSES Display a single window! 2025-08-03 09:31:27 -05:00
protocol Add river-xkb-bindings and implement Alt+T to open foot 2026-01-19 14:32:46 -06:00
src Implement initial config loading 2026-01-27 14:54:27 -06:00
.gitignore initial commit 2025-05-03 21:07:26 -05:00
build.zig Implement initial config loading 2026-01-27 14:54:27 -06:00
build.zig.zon Implement initial config loading 2026-01-27 14:54:27 -06:00
README.md Get tags working with actual tag-switching support 2026-01-26 17:44:34 -06:00

beansprout wm

TODOs

[ ] Support multiple outputs [ ] Support multiple seats [ ] Support floating windows [ ] Support wallpapers [ ] Support a bar