From af294289b10ac4ae992f591be13ea4a1444e93e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torstein=20Huseb=C3=B8?= Date: Fri, 31 Jan 2020 12:35:40 +0100 Subject: [PATCH] treewide: fix typos --- contrib/grimshot | 2 +- include/sway/input/keyboard.h | 2 +- sway/commands/bar/gaps.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/grimshot b/contrib/grimshot index bbb35e33b..fcd2dbcaa 100755 --- a/contrib/grimshot +++ b/contrib/grimshot @@ -6,7 +6,7 @@ ## - `slurp`: to select an area ## - `swaymsg`: to read properties of current window ## - `wl-copy`: clipboard utility -## - `jq`: json uliity to parse swaymsg output +## - `jq`: json utility to parse swaymsg output ## - `notify-send`: to show notifications ## - `mktemp`: to create a temporary file ## Those are needed to be installed, if unsure, run `grimshot check` diff --git a/include/sway/input/keyboard.h b/include/sway/input/keyboard.h index 13fcafcc4..c9d2e5ce5 100644 --- a/include/sway/input/keyboard.h +++ b/include/sway/input/keyboard.h @@ -8,7 +8,7 @@ /** * Get modifier mask from modifier name. * - * Returns the modifer mask or 0 if the name isn't found. + * Returns the modifier mask or 0 if the name isn't found. */ uint32_t get_modifier_mask_by_name(const char *name); diff --git a/sway/commands/bar/gaps.c b/sway/commands/bar/gaps.c index f99966b40..9fa3e756a 100644 --- a/sway/commands/bar/gaps.c +++ b/sway/commands/bar/gaps.c @@ -21,7 +21,7 @@ struct cmd_results *bar_cmd_gaps(int argc, char **argv) { int amount = strtol(argv[i], &end, 10); if (strlen(end) && strcasecmp(end, "px") != 0) { return cmd_results_new(CMD_INVALID, - "Expected 'bar [] gaps | " + "Expected 'bar [] gaps | " " | '"); }