diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-12-20 09:17:19 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-12-20 09:17:19 +0100 |
commit | 8793475501377e27c922cecf2fbe0d04cb08cf9c (patch) | |
tree | 70095ca02eaa625d1c0fbeb576fe87fd880f432e /doc | |
parent | 9c6019d3d0dc8d6e127d41754c05bd42a2ec07e8 (diff) |
Fix and document resolving.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/themer.md | 61 |
1 files changed, 42 insertions, 19 deletions
diff --git a/doc/themer.md b/doc/themer.md index 220586c5..2f44ed25 100644 --- a/doc/themer.md +++ b/doc/themer.md @@ -32,25 +32,25 @@ Names are prefixed with a `#` List of names in **rofi**: - * #window - * #mainbox - * #mainbox.box: The main vertical @box - * #inputbar - * #inputbar.box: The horizontal @box packing the widgets. - * #inputbar.separator: The separator under/above the inputbar. - * #inputbar.case-indicator: The case/sort indicator @textbox - * #inputbar.prompt: The prompt @textbox - * #inputbar.entry: The main entry @textbox - * #listview - * #listview.scrollbar: The listview scrollbar - * #listview.element: The entries in the listview - * #sidebar - * #sidebar.box: The main horizontal @box packing the buttons. - * #sidebar.button: The buttons @textbox for each mode. - * #sidebar.separator: The separator under/above the sidebar. - * #message - * #message.textbox: The message textbox. - * #message.separator: The separator under/above the sidebar. + * `#window` + * `#mainbox` + * `#mainbox.box`: The main vertical @box + * `#inputbar` + * `#inputbar.box`: The horizontal @box packing the widgets. + * `#inputbar.separator`: The separator under/above the inputbar. + * `#inputbar.case-indicator`: The case/sort indicator @textbox + * `#inputbar.prompt`: The prompt @textbox + * `#inputbar.entry`: The main entry @textbox + * `#listview` + * `#listview.scrollbar`: The listview scrollbar + * `#listview.element`: The entries in the listview + * `#sidebar` + * `#sidebar.box`: The main horizontal @box packing the buttons. + * `#sidebar.button`: The buttons @textbox for each mode. + * `#sidebar.separator`: The separator under/above the sidebar. + * `#message` + * `#message.textbox`: The message textbox. + * `#message.separator`: The separator under/above the sidebar. ## State @@ -165,3 +165,26 @@ The following properties are currently supports: * scrollbar: boolean * scrollbar-width: integer * cycle: boolean + + +## Resolving properties + + +Current matching does: + + 1. Find exact name match, with exact state match. + + If found return + + 1. Find exact class match, with exact state match. + + If found return + + 1. Find fuzzy name match, with fuzzy state. + + If found is not root node, return + + 1. Find fuzzy class match, with fuzzy state. + + return + |