diff --git a/build.zig b/build.zig index a9b05c5..5b86ce5 100644 --- a/build.zig +++ b/build.zig @@ -20,7 +20,7 @@ pub fn build(b: *std.build.Builder) !void { const scan_protocols = ScanProtocolsStep.create(b); { - const river = b.addExecutable("river", "src/river.zig"); + const river = b.addExecutable("river", "river/main.zig"); river.setTarget(target); river.setBuildMode(mode); river.addBuildOption(bool, "xwayland", xwayland); @@ -38,7 +38,7 @@ pub fn build(b: *std.build.Builder) !void { } { - const riverctl = b.addExecutable("riverctl", "src/riverctl.zig"); + const riverctl = b.addExecutable("riverctl", "riverctl/main.zig"); riverctl.setTarget(target); riverctl.setBuildMode(mode); @@ -52,7 +52,7 @@ pub fn build(b: *std.build.Builder) !void { } { - const river_test = b.addTest("src/test_main.zig"); + const river_test = b.addTest("river/test_main.zig"); river_test.setTarget(target); river_test.setBuildMode(mode); river_test.addBuildOption(bool, "xwayland", xwayland); diff --git a/src/Box.zig b/river/Box.zig similarity index 100% rename from src/Box.zig rename to river/Box.zig diff --git a/src/Config.zig b/river/Config.zig similarity index 100% rename from src/Config.zig rename to river/Config.zig diff --git a/src/Control.zig b/river/Control.zig similarity index 100% rename from src/Control.zig rename to river/Control.zig diff --git a/src/Cursor.zig b/river/Cursor.zig similarity index 100% rename from src/Cursor.zig rename to river/Cursor.zig diff --git a/src/Decoration.zig b/river/Decoration.zig similarity index 100% rename from src/Decoration.zig rename to river/Decoration.zig diff --git a/src/DecorationManager.zig b/river/DecorationManager.zig similarity index 100% rename from src/DecorationManager.zig rename to river/DecorationManager.zig diff --git a/src/InputManager.zig b/river/InputManager.zig similarity index 100% rename from src/InputManager.zig rename to river/InputManager.zig diff --git a/src/Keyboard.zig b/river/Keyboard.zig similarity index 100% rename from src/Keyboard.zig rename to river/Keyboard.zig diff --git a/src/LayerSurface.zig b/river/LayerSurface.zig similarity index 100% rename from src/LayerSurface.zig rename to river/LayerSurface.zig diff --git a/src/Mapping.zig b/river/Mapping.zig similarity index 100% rename from src/Mapping.zig rename to river/Mapping.zig diff --git a/src/Output.zig b/river/Output.zig similarity index 100% rename from src/Output.zig rename to river/Output.zig diff --git a/src/Root.zig b/river/Root.zig similarity index 100% rename from src/Root.zig rename to river/Root.zig diff --git a/src/Seat.zig b/river/Seat.zig similarity index 100% rename from src/Seat.zig rename to river/Seat.zig diff --git a/src/Server.zig b/river/Server.zig similarity index 100% rename from src/Server.zig rename to river/Server.zig diff --git a/src/View.zig b/river/View.zig similarity index 100% rename from src/View.zig rename to river/View.zig diff --git a/src/VoidView.zig b/river/VoidView.zig similarity index 100% rename from src/VoidView.zig rename to river/VoidView.zig diff --git a/src/XdgPopup.zig b/river/XdgPopup.zig similarity index 100% rename from src/XdgPopup.zig rename to river/XdgPopup.zig diff --git a/src/XdgToplevel.zig b/river/XdgToplevel.zig similarity index 100% rename from src/XdgToplevel.zig rename to river/XdgToplevel.zig diff --git a/src/XwaylandUnmanaged.zig b/river/XwaylandUnmanaged.zig similarity index 100% rename from src/XwaylandUnmanaged.zig rename to river/XwaylandUnmanaged.zig diff --git a/src/XwaylandView.zig b/river/XwaylandView.zig similarity index 100% rename from src/XwaylandView.zig rename to river/XwaylandView.zig diff --git a/src/c.zig b/river/c.zig similarity index 100% rename from src/c.zig rename to river/c.zig diff --git a/src/command.zig b/river/command.zig similarity index 100% rename from src/command.zig rename to river/command.zig diff --git a/src/command/close.zig b/river/command/close.zig similarity index 100% rename from src/command/close.zig rename to river/command/close.zig diff --git a/src/command/declare_mode.zig b/river/command/declare_mode.zig similarity index 100% rename from src/command/declare_mode.zig rename to river/command/declare_mode.zig diff --git a/src/command/enter_mode.zig b/river/command/enter_mode.zig similarity index 100% rename from src/command/enter_mode.zig rename to river/command/enter_mode.zig diff --git a/src/command/exit.zig b/river/command/exit.zig similarity index 100% rename from src/command/exit.zig rename to river/command/exit.zig diff --git a/src/command/focus.zig b/river/command/focus.zig similarity index 100% rename from src/command/focus.zig rename to river/command/focus.zig diff --git a/src/command/focus_all_tags.zig b/river/command/focus_all_tags.zig similarity index 100% rename from src/command/focus_all_tags.zig rename to river/command/focus_all_tags.zig diff --git a/src/command/focus_output.zig b/river/command/focus_output.zig similarity index 100% rename from src/command/focus_output.zig rename to river/command/focus_output.zig diff --git a/src/command/focus_tag.zig b/river/command/focus_tag.zig similarity index 100% rename from src/command/focus_tag.zig rename to river/command/focus_tag.zig diff --git a/src/command/layout.zig b/river/command/layout.zig similarity index 100% rename from src/command/layout.zig rename to river/command/layout.zig diff --git a/src/command/map.zig b/river/command/map.zig similarity index 100% rename from src/command/map.zig rename to river/command/map.zig diff --git a/src/command/mod_master_count.zig b/river/command/mod_master_count.zig similarity index 100% rename from src/command/mod_master_count.zig rename to river/command/mod_master_count.zig diff --git a/src/command/mod_master_factor.zig b/river/command/mod_master_factor.zig similarity index 100% rename from src/command/mod_master_factor.zig rename to river/command/mod_master_factor.zig diff --git a/src/command/send_to_output.zig b/river/command/send_to_output.zig similarity index 100% rename from src/command/send_to_output.zig rename to river/command/send_to_output.zig diff --git a/src/command/spawn.zig b/river/command/spawn.zig similarity index 100% rename from src/command/spawn.zig rename to river/command/spawn.zig diff --git a/src/command/tag_view.zig b/river/command/tag_view.zig similarity index 100% rename from src/command/tag_view.zig rename to river/command/tag_view.zig diff --git a/src/command/tag_view_all_tags.zig b/river/command/tag_view_all_tags.zig similarity index 100% rename from src/command/tag_view_all_tags.zig rename to river/command/tag_view_all_tags.zig diff --git a/src/command/toggle_float.zig b/river/command/toggle_float.zig similarity index 100% rename from src/command/toggle_float.zig rename to river/command/toggle_float.zig diff --git a/src/command/toggle_tag_focus.zig b/river/command/toggle_tag_focus.zig similarity index 100% rename from src/command/toggle_tag_focus.zig rename to river/command/toggle_tag_focus.zig diff --git a/src/command/toggle_view_tag.zig b/river/command/toggle_view_tag.zig similarity index 100% rename from src/command/toggle_view_tag.zig rename to river/command/toggle_view_tag.zig diff --git a/src/command/zoom.zig b/river/command/zoom.zig similarity index 100% rename from src/command/zoom.zig rename to river/command/zoom.zig diff --git a/src/log.zig b/river/log.zig similarity index 100% rename from src/log.zig rename to river/log.zig diff --git a/src/river.zig b/river/main.zig similarity index 100% rename from src/river.zig rename to river/main.zig diff --git a/src/render.zig b/river/render.zig similarity index 100% rename from src/render.zig rename to river/render.zig diff --git a/src/test_main.zig b/river/test_main.zig similarity index 100% rename from src/test_main.zig rename to river/test_main.zig diff --git a/src/view_stack.zig b/river/view_stack.zig similarity index 100% rename from src/view_stack.zig rename to river/view_stack.zig diff --git a/src/riverctl.zig b/riverctl/main.zig similarity index 100% rename from src/riverctl.zig rename to riverctl/main.zig