aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Torstein Husebø <torstein@huseboe.net>2020-01-31 12:35:40 +0100
committerLibravatar Drew DeVault <sir@cmpwn.com>2020-02-18 21:53:57 +0100
commitaf294289b10ac4ae992f591be13ea4a1444e93e9 (patch)
treeb1498179974f87008fe4b188c37cc3bfed51e79c
parentinput_cmd_events: add support for input types (diff)
downloadsway-af294289b10ac4ae992f591be13ea4a1444e93e9.tar.gz
sway-af294289b10ac4ae992f591be13ea4a1444e93e9.tar.zst
sway-af294289b10ac4ae992f591be13ea4a1444e93e9.zip
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 @@
6## - `slurp`: to select an area 6## - `slurp`: to select an area
7## - `swaymsg`: to read properties of current window 7## - `swaymsg`: to read properties of current window
8## - `wl-copy`: clipboard utility 8## - `wl-copy`: clipboard utility
9## - `jq`: json uliity to parse swaymsg output 9## - `jq`: json utility to parse swaymsg output
10## - `notify-send`: to show notifications 10## - `notify-send`: to show notifications
11## - `mktemp`: to create a temporary file 11## - `mktemp`: to create a temporary file
12## Those are needed to be installed, if unsure, run `grimshot check` 12## 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 @@
8/** 8/**
9 * Get modifier mask from modifier name. 9 * Get modifier mask from modifier name.
10 * 10 *
11 * Returns the modifer mask or 0 if the name isn't found. 11 * Returns the modifier mask or 0 if the name isn't found.
12 */ 12 */
13uint32_t get_modifier_mask_by_name(const char *name); 13uint32_t get_modifier_mask_by_name(const char *name);
14 14
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) {
21 int amount = strtol(argv[i], &end, 10); 21 int amount = strtol(argv[i], &end, 10);
22 if (strlen(end) && strcasecmp(end, "px") != 0) { 22 if (strlen(end) && strcasecmp(end, "px") != 0) {
23 return cmd_results_new(CMD_INVALID, 23 return cmd_results_new(CMD_INVALID,
24 "Expected 'bar [<bar-id>] gaps <all> | <horizonal> " 24 "Expected 'bar [<bar-id>] gaps <all> | <horizontal> "
25 "<vertical> | <top> <right> <bottom> <left>'"); 25 "<vertical> | <top> <right> <bottom> <left>'");
26 } 26 }
27 27