Skip to content

Commit

Permalink
fix help text
Browse files Browse the repository at this point in the history
  • Loading branch information
cornerman committed Mar 18, 2019
1 parent 2fac022 commit fffb468
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ Usage: i3-easyfocus <options>
- <num> using the workspaces' numbers
-f --font <font-name> set font name, see `xlsfonts` for available fonts
-k --keys <mode> set the labeling keys to use, avy or alpha
- "avy" (default) prefers home row
- "alpha" orders alphabetically
- <avy> prefers home row (default)
- <alpha> orders alphabetically
--color-urgent-bg <rgb> set label background color of urgent windows, e.g., FF00FF
--color-focused-bg <rgb> set label background color of focused windows, e.g., FF00FF
--color-container-bg <rgb> set label background color of unfocused windows, e.g., FF00FF
--color-unfocused-bg <rgb> set label background color of unfocused windows, e.g., FF00FF
--color-urgent-fg <rgb> set label foreground color of urgent windows, e.g., FF00FF
--color-focused-fg <rgb> set label foreground color of focused windows, e.g., FF00FF
--color-container-fg <rgb> set label foreground color of unfocused windows, e.g., FF00FF
--color-unfocused-fg <rgb> set label foreground color of unfocused windows, e.g., FF00FF
```

You can change the keybindings and the font in ```src/config.h```.
Expand Down
8 changes: 4 additions & 4 deletions src/i3-easyfocus.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ static void print_help(void)
fprintf(stderr, " - <num> using the workspaces' numbers\n");
fprintf(stderr, " -f --font <font-name> set font name, see `xlsfonts` for available fonts\n");
fprintf(stderr, " -k --keys <mode> set the labeling keys to use, avy or alpha\n");
fprintf(stderr, " - \"avy\" (default) prefers home row\n");
fprintf(stderr, " - \"alpha\" orders alphabetically\n");
fprintf(stderr, " - <avy> prefers home row (default)\n");
fprintf(stderr, " - <alpha> orders alphabetically\n");
fprintf(stderr, " --color-urgent-bg <rgb> set label background color of urgent windows, e.g., FF00FF\n");
fprintf(stderr, " --color-focused-bg <rgb> set label background color of focused windows, e.g., FF00FF\n");
fprintf(stderr, " --color-container-bg <rgb> set label background color of unfocused windows, e.g., FF00FF\n");
fprintf(stderr, " --color-unfocused-bg <rgb> set label background color of unfocused windows, e.g., FF00FF\n");
fprintf(stderr, " --color-urgent-fg <rgb> set label foreground color of urgent windows, e.g., FF00FF\n");
fprintf(stderr, " --color-focused-fg <rgb> set label foreground color of focused windows, e.g., FF00FF\n");
fprintf(stderr, " --color-container-fg <rgb> set label foreground color of unfocused windows, e.g., FF00FF\n");
fprintf(stderr, " --color-unfocused-fg <rgb> set label foreground color of unfocused windows, e.g., FF00FF\n");
}

static void parse_args(int argc, char *argv[])
Expand Down

0 comments on commit fffb468

Please sign in to comment.