mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 16:01:27 +00:00
treewide: fix typos
This commit is contained in:
parent
ec7d3f181d
commit
af294289b1
|
@ -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`
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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>'");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue