aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorstein Husebø <torstein@huseboe.net>2020-01-31 12:35:40 +0100
committerDrew DeVault <sir@cmpwn.com>2020-02-18 21:53:57 +0100
commitaf294289b10ac4ae992f591be13ea4a1444e93e9 (patch)
treeb1498179974f87008fe4b188c37cc3bfed51e79c
parentec7d3f181d9e188adc5ce0288885a8b120f6c34a (diff)
treewide: fix typos
-rwxr-xr-xcontrib/grimshot2
-rw-r--r--include/sway/input/keyboard.h2
-rw-r--r--sway/commands/bar/gaps.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/grimshot b/contrib/grimshot
index bbb35e33..fcd2dbca 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 13fcafcc..c9d2e5ce 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 f99966b4..9fa3e756 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 [<bar-id>] gaps <all> | <horizonal> "
+ "Expected 'bar [<bar-id>] gaps <all> | <horizontal> "
"<vertical> | <top> <right> <bottom> <left>'");
}