From e7497e62b0598523f37ef31e05aefd44e6da4741 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Tue, 2 Jan 2018 09:19:14 +0100 Subject: Fix indenting in release notes, add examples. --- releasenotes/1.5.0/release-1.5.0.markdown | 51 +++++++++++++++++-------------- 1 file changed, 28 insertions(+), 23 deletions(-) (limited to 'releasenotes') diff --git a/releasenotes/1.5.0/release-1.5.0.markdown b/releasenotes/1.5.0/release-1.5.0.markdown index 3cf0c5c7..467bfbbd 100644 --- a/releasenotes/1.5.0/release-1.5.0.markdown +++ b/releasenotes/1.5.0/release-1.5.0.markdown @@ -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 bold 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 -- cgit v1.2.3