mirror of
https://github.com/lbonn/rofi
synced 2024-11-14 16:17:11 +00:00
Fix indenting in release notes, add examples.
This commit is contained in:
parent
352f086785
commit
e7497e62b0
1 changed files with 28 additions and 23 deletions
|
@ -12,33 +12,33 @@ What field rofi should match on the drun view has been a source of long discussi
|
|||
name, others want to include the field with the tooltip text. In this release you can now set what fields are used for
|
||||
matching for both the drun as window browser.
|
||||
|
||||
`-drun-match-fields` *field1*,*field2*,...
|
||||
`-drun-match-fields` *field1*,*field2*,...
|
||||
|
||||
When using drun, match only with the specified Desktop entry fields.
|
||||
The different fields are:
|
||||
When using drun, match only with the specified Desktop entry fields.
|
||||
The different fields are:
|
||||
|
||||
* **name**: the application's name
|
||||
* **generic**: the application's generic name
|
||||
* **exec**: the application's executable
|
||||
* **categories**: the application's categories
|
||||
* **comment**: the application comment
|
||||
* **all**: all of the above
|
||||
* **name**: the application's name
|
||||
* **generic**: the application's generic name
|
||||
* **exec**: the application's executable
|
||||
* **categories**: the application's categories
|
||||
* **comment**: the application comment
|
||||
* **all**: all of the above
|
||||
|
||||
Default: *name,generic,exec,categories*
|
||||
Default: *name,generic,exec,categories*
|
||||
|
||||
`-window-match-fields` *field1*,*field2*,...
|
||||
`-window-match-fields` *field1*,*field2*,...
|
||||
|
||||
When using window mode, match only with the specified fields.
|
||||
The different fields are:
|
||||
When using window mode, match only with the specified fields.
|
||||
The different fields are:
|
||||
|
||||
* **title**: window's title
|
||||
* **class**: window's class
|
||||
* **role**: window's role
|
||||
* **name**: window's name
|
||||
* **desktop**: window's current desktop
|
||||
* **all**: all of the above
|
||||
* **title**: window's title
|
||||
* **class**: window's class
|
||||
* **role**: window's role
|
||||
* **name**: window's name
|
||||
* **desktop**: window's current desktop
|
||||
* **all**: all of the above
|
||||
|
||||
Default: *all*
|
||||
Default: *all*
|
||||
|
||||
### Pass extra properties in script mode
|
||||
|
||||
|
@ -51,13 +51,13 @@ For example to set the prompt from a bash mode script:
|
|||
echo -en "\x00prompt\x1ftesting\n"
|
||||
```
|
||||
|
||||
or to mark the first 4 rows urgent and add message:
|
||||
Or to mark the first 4 rows urgent and add message:
|
||||
```bash
|
||||
echo -en "\x00urgent\x1f0-3\n"
|
||||
echo -en "\0message\x1fSpecial <b>bold</b> message\n"
|
||||
```
|
||||
|
||||
The `urgent` and `active` syntax is identical to the dmenu commandline argument.
|
||||
The `urgent` and `active` syntax is identical to the dmenu command-line argument.
|
||||
|
||||
### Negated matching
|
||||
|
||||
|
@ -73,6 +73,8 @@ fields that match `deconz` but do not contain `sh`.
|
|||
We have updated the theme format so that the '#' prefix before the element name is now optional.
|
||||
Beside being unneeded, it made the multi-selector look weird.
|
||||
|
||||
Example:
|
||||
|
||||
```css
|
||||
entry,prompt {
|
||||
background-color: DarkRed;
|
||||
|
@ -119,7 +121,7 @@ inputbar {
|
|||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: ":";
|
||||
margin: 0px 0.3000em 0.0000em 0.0000em ;
|
||||
margin: 0px 0.3em 0em 0em ;
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -128,6 +130,9 @@ textbox-prompt-colon {
|
|||
On frequent request, you can now tweak the size of the history each modi keeps. While not recommended to change as it
|
||||
can cause performance issues, this allows power users to tweak it to their liking.
|
||||
|
||||
```
|
||||
rofi.max-history-size: 500
|
||||
```
|
||||
|
||||
## Full Changelog
|
||||
|
||||
|
|
Loading…
Reference in a new issue