From 939beef168ff0bb34fa7cec99ca075e3eb3975b1 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Mon, 1 Jun 2020 15:56:50 +0200 Subject: [PATCH] Split river and riverctl directories --- build.zig | 6 +++--- {src => river}/Box.zig | 0 {src => river}/Config.zig | 0 {src => river}/Control.zig | 0 {src => river}/Cursor.zig | 0 {src => river}/Decoration.zig | 0 {src => river}/DecorationManager.zig | 0 {src => river}/InputManager.zig | 0 {src => river}/Keyboard.zig | 0 {src => river}/LayerSurface.zig | 0 {src => river}/Mapping.zig | 0 {src => river}/Output.zig | 0 {src => river}/Root.zig | 0 {src => river}/Seat.zig | 0 {src => river}/Server.zig | 0 {src => river}/View.zig | 0 {src => river}/VoidView.zig | 0 {src => river}/XdgPopup.zig | 0 {src => river}/XdgToplevel.zig | 0 {src => river}/XwaylandUnmanaged.zig | 0 {src => river}/XwaylandView.zig | 0 {src => river}/c.zig | 0 {src => river}/command.zig | 0 {src => river}/command/close.zig | 0 {src => river}/command/declare_mode.zig | 0 {src => river}/command/enter_mode.zig | 0 {src => river}/command/exit.zig | 0 {src => river}/command/focus.zig | 0 {src => river}/command/focus_all_tags.zig | 0 {src => river}/command/focus_output.zig | 0 {src => river}/command/focus_tag.zig | 0 {src => river}/command/layout.zig | 0 {src => river}/command/map.zig | 0 {src => river}/command/mod_master_count.zig | 0 {src => river}/command/mod_master_factor.zig | 0 {src => river}/command/send_to_output.zig | 0 {src => river}/command/spawn.zig | 0 {src => river}/command/tag_view.zig | 0 {src => river}/command/tag_view_all_tags.zig | 0 {src => river}/command/toggle_float.zig | 0 {src => river}/command/toggle_tag_focus.zig | 0 {src => river}/command/toggle_view_tag.zig | 0 {src => river}/command/zoom.zig | 0 {src => river}/log.zig | 0 src/river.zig => river/main.zig | 0 {src => river}/render.zig | 0 {src => river}/test_main.zig | 0 {src => river}/view_stack.zig | 0 src/riverctl.zig => riverctl/main.zig | 0 49 files changed, 3 insertions(+), 3 deletions(-) rename {src => river}/Box.zig (100%) rename {src => river}/Config.zig (100%) rename {src => river}/Control.zig (100%) rename {src => river}/Cursor.zig (100%) rename {src => river}/Decoration.zig (100%) rename {src => river}/DecorationManager.zig (100%) rename {src => river}/InputManager.zig (100%) rename {src => river}/Keyboard.zig (100%) rename {src => river}/LayerSurface.zig (100%) rename {src => river}/Mapping.zig (100%) rename {src => river}/Output.zig (100%) rename {src => river}/Root.zig (100%) rename {src => river}/Seat.zig (100%) rename {src => river}/Server.zig (100%) rename {src => river}/View.zig (100%) rename {src => river}/VoidView.zig (100%) rename {src => river}/XdgPopup.zig (100%) rename {src => river}/XdgToplevel.zig (100%) rename {src => river}/XwaylandUnmanaged.zig (100%) rename {src => river}/XwaylandView.zig (100%) rename {src => river}/c.zig (100%) rename {src => river}/command.zig (100%) rename {src => river}/command/close.zig (100%) rename {src => river}/command/declare_mode.zig (100%) rename {src => river}/command/enter_mode.zig (100%) rename {src => river}/command/exit.zig (100%) rename {src => river}/command/focus.zig (100%) rename {src => river}/command/focus_all_tags.zig (100%) rename {src => river}/command/focus_output.zig (100%) rename {src => river}/command/focus_tag.zig (100%) rename {src => river}/command/layout.zig (100%) rename {src => river}/command/map.zig (100%) rename {src => river}/command/mod_master_count.zig (100%) rename {src => river}/command/mod_master_factor.zig (100%) rename {src => river}/command/send_to_output.zig (100%) rename {src => river}/command/spawn.zig (100%) rename {src => river}/command/tag_view.zig (100%) rename {src => river}/command/tag_view_all_tags.zig (100%) rename {src => river}/command/toggle_float.zig (100%) rename {src => river}/command/toggle_tag_focus.zig (100%) rename {src => river}/command/toggle_view_tag.zig (100%) rename {src => river}/command/zoom.zig (100%) rename {src => river}/log.zig (100%) rename src/river.zig => river/main.zig (100%) rename {src => river}/render.zig (100%) rename {src => river}/test_main.zig (100%) rename {src => river}/view_stack.zig (100%) rename src/riverctl.zig => riverctl/main.zig (100%) 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