treewide: fix typos

This commit is contained in:
Diego Viola
2026-03-10 01:38:53 -03:00
committed by A Frederick Christensen
parent 0f2cd0555a
commit e1ad73d51c
22 changed files with 40 additions and 40 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ Most of this patch is stored in river-control.h, It contains a list of functions
This patch's main intended use case is to have a startup script that calls dwlctl a bunch to add all the binds/rules you want, without the need of restarting dwl if you make any changes to the list of binds/rules.
This patch also adds keybind modes which allow switching between a diffrent sets of keybinds on the fly.
This patch also adds keybind modes which allow switching between a different sets of keybinds on the fly.
Also you can set a keybind mode as oneshot (meaning as soon as a keybind is activated the mode is switched) by using...
`dwlctl oneshot-mode _layout_you_want_to_make_oneshot_here_ _layout_you_want_to_switch_to_after_keybind_pressed_`
Just make sure to set a mode as oneshot after creating a bind under it otherwise it won't work.
+3 -3
View File
@@ -120,7 +120,7 @@ index 95c2afa..ccc3edb 100644
-static const Key keys[] = {
+/* note keys gets cleared with riverctl clear-binds but the keys_always are excluded from being cleared
+ * this is to have a list of fallback keybinds if your riverctl script fails
+ * if you won't like to have keys[] declared commented out the KEYS_USED macro bellow to disable the functionality*/
+ * if you won't like to have keys[] declared commented out the KEYS_USED macro below to disable the functionality*/
+#define KEYS_USED
+static Key keys[] = {
/* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */
@@ -1267,7 +1267,7 @@ index 0000000..599cffe
+ .add_argument = zriver_control_add_argument,
+ .destroy = zriver_control_destroy,
+};
+static void zriver_control_handle_destory(struct wl_resource *resource) {
+static void zriver_control_handle_destroy(struct wl_resource *resource) {
+ struct zriver_arg_list_resource *zriver_arg_list_resource = wl_resource_get_user_data(resource);
+ free(zriver_arg_list_resource);
+ printf("handle destroy\n");
@@ -1281,7 +1281,7 @@ index 0000000..599cffe
+
+
+ wl_resource_set_implementation(resource, &zriver_control_interface,
+ zriver_arg_list_resource, zriver_control_handle_destory);
+ zriver_arg_list_resource, zriver_control_handle_destroy);
+}
--
2.51.0