aboutsummaryrefslogtreecommitdiff
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-rw-r--r--src/command/close_view.zig17
-rw-r--r--src/command/exit_compositor.zig17
-rw-r--r--src/command/focus_output.zig20
-rw-r--r--src/command/focus_tags.zig17
-rw-r--r--src/command/focus_view.zig17
-rw-r--r--src/command/modify_master_count.zig20
-rw-r--r--src/command/modify_master_factor.zig20
-rw-r--r--src/command/send_to_output.zig20
-rw-r--r--src/command/set_view_tags.zig17
-rw-r--r--src/command/spawn.zig20
-rw-r--r--src/command/toggle_float.zig17
-rw-r--r--src/command/toggle_tags.zig17
-rw-r--r--src/command/toggle_view_tags.zig17
-rw-r--r--src/command/zoom.zig17
14 files changed, 248 insertions, 5 deletions
diff --git a/src/command/close_view.zig b/src/command/close_view.zig
index 774307a..1240d09 100644
--- a/src/command/close_view.zig
+++ b/src/command/close_view.zig
@@ -1,3 +1,20 @@
+// This file is part of river, a dynamic tiling wayland compositor.
+//
+// Copyright 2020 Isaac Freund
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
const c = @import("../c.zig");
const Arg = @import("../command.zig").Arg;
diff --git a/src/command/exit_compositor.zig b/src/command/exit_compositor.zig
index 215f17f..d6c77f8 100644
--- a/src/command/exit_compositor.zig
+++ b/src/command/exit_compositor.zig
@@ -1,3 +1,20 @@
+// This file is part of river, a dynamic tiling wayland compositor.
+//
+// Copyright 2020 Isaac Freund
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
const c = @import("../c.zig");
const Arg = @import("../command.zig").Arg;
diff --git a/src/command/focus_output.zig b/src/command/focus_output.zig
index 826eb29..188bd2d 100644
--- a/src/command/focus_output.zig
+++ b/src/command/focus_output.zig
@@ -1,6 +1,24 @@
-const c = @import("../c.zig");
+// This file is part of river, a dynamic tiling wayland compositor.
+//
+// Copyright 2020 Isaac Freund
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
const std = @import("std");
+const c = @import("../c.zig");
+
const Arg = @import("../command.zig").Arg;
const Output = @import("../output.zig");
const Seat = @import("../seat.zig");
diff --git a/src/command/focus_tags.zig b/src/command/focus_tags.zig
index be2ce74..7ccd0e8 100644
--- a/src/command/focus_tags.zig
+++ b/src/command/focus_tags.zig
@@ -1,3 +1,20 @@
+// This file is part of river, a dynamic tiling wayland compositor.
+//
+// Copyright 2020 Isaac Freund
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
const c = @import("../c.zig");
const Arg = @import("../command.zig").Arg;
diff --git a/src/command/focus_view.zig b/src/command/focus_view.zig
index 38fd531..85a2975 100644
--- a/src/command/focus_view.zig
+++ b/src/command/focus_view.zig
@@ -1,3 +1,20 @@
+// This file is part of river, a dynamic tiling wayland compositor.
+//
+// Copyright 2020 Isaac Freund
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
const c = @import("../c.zig");
const Arg = @import("../command.zig").Arg;
diff --git a/src/command/modify_master_count.zig b/src/command/modify_master_count.zig
index 70a8ea5..f03c075 100644
--- a/src/command/modify_master_count.zig
+++ b/src/command/modify_master_count.zig
@@ -1,6 +1,24 @@
-const c = @import("../c.zig");
+// This file is part of river, a dynamic tiling wayland compositor.
+//
+// Copyright 2020 Isaac Freund
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
const std = @import("std");
+const c = @import("../c.zig");
+
const Arg = @import("../command.zig").Arg;
const Seat = @import("../seat.zig");
diff --git a/src/command/modify_master_factor.zig b/src/command/modify_master_factor.zig
index 7c14fb8..e0ae8f4 100644
--- a/src/command/modify_master_factor.zig
+++ b/src/command/modify_master_factor.zig
@@ -1,6 +1,24 @@
-const c = @import("../c.zig");
+// This file is part of river, a dynamic tiling wayland compositor.
+//
+// Copyright 2020 Isaac Freund
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
const std = @import("std");
+const c = @import("../c.zig");
+
const Arg = @import("../command.zig").Arg;
const Seat = @import("../seat.zig");
diff --git a/src/command/send_to_output.zig b/src/command/send_to_output.zig
index 2cf0fea..bece494 100644
--- a/src/command/send_to_output.zig
+++ b/src/command/send_to_output.zig
@@ -1,6 +1,24 @@
-const c = @import("../c.zig");
+// This file is part of river, a dynamic tiling wayland compositor.
+//
+// Copyright 2020 Isaac Freund
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
const std = @import("std");
+const c = @import("../c.zig");
+
const Arg = @import("../command.zig").Arg;
const Output = @import("../output.zig");
const Seat = @import("../seat.zig");
diff --git a/src/command/set_view_tags.zig b/src/command/set_view_tags.zig
index 7c6c942..38ae677 100644
--- a/src/command/set_view_tags.zig
+++ b/src/command/set_view_tags.zig
@@ -1,3 +1,20 @@
+// This file is part of river, a dynamic tiling wayland compositor.
+//
+// Copyright 2020 Isaac Freund
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
const c = @import("../c.zig");
const Arg = @import("../command.zig").Arg;
diff --git a/src/command/spawn.zig b/src/command/spawn.zig
index e4cfdd6..b9b9c95 100644
--- a/src/command/spawn.zig
+++ b/src/command/spawn.zig
@@ -1,6 +1,24 @@
-const c = @import("../c.zig");
+// This file is part of river, a dynamic tiling wayland compositor.
+//
+// Copyright 2020 Isaac Freund
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
const std = @import("std");
+const c = @import("../c.zig");
+
const Arg = @import("../command.zig").Arg;
const Log = @import("../log.zig").Log;
const Seat = @import("../seat.zig");
diff --git a/src/command/toggle_float.zig b/src/command/toggle_float.zig
index 33a83fb..da16270 100644
--- a/src/command/toggle_float.zig
+++ b/src/command/toggle_float.zig
@@ -1,3 +1,20 @@
+// This file is part of river, a dynamic tiling wayland compositor.
+//
+// Copyright 2020 Isaac Freund
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
const c = @import("../c.zig");
const Arg = @import("../command.zig").Arg;
diff --git a/src/command/toggle_tags.zig b/src/command/toggle_tags.zig
index c64b323..53242f8 100644
--- a/src/command/toggle_tags.zig
+++ b/src/command/toggle_tags.zig
@@ -1,3 +1,20 @@
+// This file is part of river, a dynamic tiling wayland compositor.
+//
+// Copyright 2020 Isaac Freund
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
const c = @import("../c.zig");
const Arg = @import("../command.zig").Arg;
diff --git a/src/command/toggle_view_tags.zig b/src/command/toggle_view_tags.zig
index 0553152..5ae7874 100644
--- a/src/command/toggle_view_tags.zig
+++ b/src/command/toggle_view_tags.zig
@@ -1,3 +1,20 @@
+// This file is part of river, a dynamic tiling wayland compositor.
+//
+// Copyright 2020 Isaac Freund
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
const c = @import("../c.zig");
const Arg = @import("../command.zig").Arg;
diff --git a/src/command/zoom.zig b/src/command/zoom.zig
index d3f52c3..617e4bb 100644
--- a/src/command/zoom.zig
+++ b/src/command/zoom.zig
@@ -1,3 +1,20 @@
+// This file is part of river, a dynamic tiling wayland compositor.
+//
+// Copyright 2020 Isaac Freund
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
const c = @import("../c.zig");
const Arg = @import("../command.zig").Arg;