#river #modifier #river-rs #river-wm

river-rs

Utilities for configuring River Window Manager

10 releases

0.3.3 Apr 8, 2025
0.3.1 Feb 8, 2025
0.2.6 Jan 31, 2025
0.1.7 Jan 28, 2025

#6 in #river

Download history 316/week @ 2025-01-25 260/week @ 2025-02-01 139/week @ 2025-02-08 36/week @ 2025-02-15 102/week @ 2025-04-05 15/week @ 2025-04-12

117 downloads per month

MIT license

20KB
387 lines

Library for writing RiverWM Configuration in Rust!

This is just a proof of concept and my attempt at better understanding Rust.

Currently Work In Progress.

Why?

Well, why not? After all, why not build something unique and fun.

On a more serious note, writing configuration for RiverWM in programming languages teaches a lot about language's basic operations, loops, typing, working with strings, creating compound objects and tooling. That's why I would recommend you too to try and build a simple library for configuring RiverWM in any language you want (C, Zig, Haskell, Java?, whatever!).

Current status

Right now you can describe and apply custom keybindings in a procedural way, when you apply keybinds one by one, depending on wether you want to change the modifier keys, and then apply config in the end.

TODO:

  • Write function to generate tag keybinds
  • Write autospawn function (You can use spawn function by now)
  • Fix setting xkb keyboard layout
  • Make writing custom rules work

No runtime deps