treewide: fix typos

This commit is contained in:
Torstein Husebø 2020-01-31 12:35:40 +01:00 committed by Drew DeVault
parent ec7d3f181d
commit af294289b1
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
## - `slurp`: to select an area ## - `slurp`: to select an area
## - `swaymsg`: to read properties of current window ## - `swaymsg`: to read properties of current window
## - `wl-copy`: clipboard utility ## - `wl-copy`: clipboard utility
## - `jq`: json uliity to parse swaymsg output ## - `jq`: json utility to parse swaymsg output
## - `notify-send`: to show notifications ## - `notify-send`: to show notifications
## - `mktemp`: to create a temporary file ## - `mktemp`: to create a temporary file
## Those are needed to be installed, if unsure, run `grimshot check` ## Those are needed to be installed, if unsure, run `grimshot check`

View File

@ -8,7 +8,7 @@
/** /**
* Get modifier mask from modifier name. * 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); uint32_t get_modifier_mask_by_name(const char *name);

View File

@ -21,7 +21,7 @@ struct cmd_results *bar_cmd_gaps(int argc, char **argv) {
int amount = strtol(argv[i], &end, 10); int amount = strtol(argv[i], &end, 10);
if (strlen(end) && strcasecmp(end, "px") != 0) { if (strlen(end) && strcasecmp(end, "px") != 0) {
return cmd_results_new(CMD_INVALID, 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>'"); "<vertical> | <top> <right> <bottom> <left>'");
} }