Implement changeable primary count

There are new increment_primary_count and decrement_primary_count config options
This commit is contained in:
Ben Buhse 2026-02-03 20:56:54 -06:00
commit 5ff05ab09e
No known key found for this signature in database
GPG key ID: 7916ACFCD38FD0B4
5 changed files with 85 additions and 39 deletions

View file

@ -334,6 +334,8 @@ fn loadKeybindsChildBlock(config: *Config, parser: *kdl.Parser) !void {
.reload_config,
.toggle_fullscreen,
.close_window,
.increment_primary_count,
.decrement_primary_count,
=> |cmd| {
// None of these have arguments, just create the union and give it back
break :sw @unionInit(XkbBindings.Command, @tagName(cmd), {});