Update README.md a bit.

This commit is contained in:
Dave Davenport 2016-12-07 18:20:05 +01:00
parent 3e3fb24ea5
commit a259738720
1 changed files with 27 additions and 16 deletions

View File

@ -20,11 +20,11 @@ This can either be, running an application, selecting a window or options provid
It main features are: It main features are:
* Full (configurable) keyboard navigation. * Fully configurable keyboard navigation.
* Type to filter * Type to filter
- Tokenized: Type any word in any order to filter. - Tokenized: Type any word in any order to filter.
- (toggable) Case insensitive. - (toggable) Case insensitive.
- Supports regex and glob matching. - Supports fuzzy, regex and glob matching.
* UTF-8 enabled. * UTF-8 enabled.
- UTF-8 aware string collating. - UTF-8 aware string collating.
- intl. keyboard support (`e -> è) - intl. keyboard support (`e -> è)
@ -55,19 +55,27 @@ Below the different modes are listed:
The window switcher shows the following informations in columns (can be customized): The window switcher shows the following informations in columns (can be customized):
1. Desktop number 1. Desktop name
2. Window class. 2. Window class.
3. Window title. 3. Window title.
Window mode features:
- Closing applications by hitting `Shift-Delete`.
- Custom command by `Shift-Return`
## Run mode ## Run mode
![run mode](https://davedavenport.github.io/rofi/images/rofi/run-dialog.png) ![run mode](https://davedavenport.github.io/rofi/images/rofi/run-dialog.png)
The run mode allows users to quickly search and launch a program. The run mode allows users to quickly search and launch a program.
Run mode features: Run mode features:
- Shift-Return to run the selected program in a terminal. - Shift-Return to run the selected program in a terminal.
- Favorites list, frequently used programs are sorted on top. - Favorites list, frequently used programs are sorted on top.
- Execute command to add custom entries, like aliases.
## DRun mode ## DRun mode
@ -103,7 +111,7 @@ Allowing to quickly switch to an application, either by switching to it when it
Example to combine Desktop run and the window switcher: Example to combine Desktop run and the window switcher:
``` ```
rofi -combi-modi window,drun -show combi rofi -combi-modi window,drun -show combi -modi combi
``` ```
## dmenu replacement ## dmenu replacement
@ -156,13 +164,14 @@ Type `Shift-/Left/Right` to switch between active modi.
|:----------------------------|:-------------------------------------------------------------------| |:----------------------------|:-------------------------------------------------------------------|
|`Ctrl-v, Insert` | Paste clipboard | |`Ctrl-v, Insert` | Paste clipboard |
|`Ctrl-Shift-v, Shift-Insert` | Paste primary selection | |`Ctrl-Shift-v, Shift-Insert` | Paste primary selection |
|`Ctrl-u` | Clear the line | |`Ctrl-w` | Clear the line |
|`Ctrl-a` | Beginning of line | |`Ctrl-u` | Delete till the start of line |
|`Ctrl-e` | End of line | |`Ctrl-a` | Move to beginning of line |
|`Ctrl-f, Right` | Forward one character | |`Ctrl-e` | Move to end of line |
|`Alt-f` | Forward one word | |`Ctrl-f, Right` | Move forward one character |
|`Ctrl-b, Left` | Back one character | |`Alt-f` | Move forward one word |
|`Alt-b` | Back one word | |`Ctrl-b, Left` | Move back one character |
|`Alt-b` | Move back one word |
|`Ctrl-d, Delete` | Delete character | |`Ctrl-d, Delete` | Delete character |
|`Ctrl-Alt-d` | Delete word | |`Ctrl-Alt-d` | Delete word |
|`Ctrl-h, Backspace` | Backspace (delete previous character) | |`Ctrl-h, Backspace` | Backspace (delete previous character) |
@ -198,6 +207,8 @@ There are currently three methods of setting configuration options:
[here](https://en.wikipedia.org/wiki/X_resources) for more information. [here](https://en.wikipedia.org/wiki/X_resources) for more information.
* Commandline options: Arguments passed to **Rofi**. * Commandline options: Arguments passed to **Rofi**.
A distribution can ship defaults in `/etc/rofi.conf`.
The Xresources options and the commandline options are aliased. To define option X set: The Xresources options and the commandline options are aliased. To define option X set:
rofi.X: value rofi.X: value