river-layout: create and implement protocol
Replace the current layout mechanism based on passing args to a child process and parsing it's stdout with a new wayland protocol. This much more robust and allows for more featureful layout generators. Co-authored-by: Isaac Freund <ifreund@ifreund.xyz>
This commit is contained in:
committed by
Isaac Freund
parent
df3e993013
commit
f72656b72e
@ -56,14 +56,10 @@ const str_to_impl_fn = [_]struct {
|
||||
.{ .name = "focus-output", .impl = @import("command/focus_output.zig").focusOutput },
|
||||
.{ .name = "focus-follows-cursor", .impl = @import("command/focus_follows_cursor.zig").focusFollowsCursor },
|
||||
.{ .name = "focus-view", .impl = @import("command/focus_view.zig").focusView },
|
||||
.{ .name = "layout", .impl = @import("command/layout.zig").layout },
|
||||
.{ .name = "map", .impl = @import("command/map.zig").map },
|
||||
.{ .name = "map-pointer", .impl = @import("command/map.zig").mapPointer },
|
||||
.{ .name = "mod-main-count", .impl = @import("command/mod_main_count.zig").modMainCount },
|
||||
.{ .name = "mod-main-factor", .impl = @import("command/mod_main_factor.zig").modMainFactor },
|
||||
.{ .name = "move", .impl = @import("command/move.zig").move },
|
||||
.{ .name = "opacity", .impl = @import("command/opacity.zig").opacity },
|
||||
.{ .name = "outer-padding", .impl = @import("command/config.zig").outerPadding },
|
||||
.{ .name = "resize", .impl = @import("command/move.zig").resize },
|
||||
.{ .name = "send-to-output", .impl = @import("command/send_to_output.zig").sendToOutput },
|
||||
.{ .name = "set-focused-tags", .impl = @import("command/tags.zig").setFocusedTags },
|
||||
@ -79,7 +75,6 @@ const str_to_impl_fn = [_]struct {
|
||||
.{ .name = "toggle-view-tags", .impl = @import("command/tags.zig").toggleViewTags },
|
||||
.{ .name = "unmap", .impl = @import("command/map.zig").unmap },
|
||||
.{ .name = "unmap-pointer", .impl = @import("command/map.zig").unmapPointer },
|
||||
.{ .name = "view-padding", .impl = @import("command/config.zig").viewPadding },
|
||||
.{ .name = "xcursor-theme", .impl = @import("command/xcursor_theme.zig").xcursorTheme },
|
||||
.{ .name = "zoom", .impl = @import("command/zoom.zig").zoom },
|
||||
};
|
||||
|
Reference in New Issue
Block a user