Commit graph

97 commits

Author SHA1 Message Date
Dave Davenport
db16c63168 [Doc] themes manpage, small textual improvement. 2023-01-25 23:05:20 +01:00
Dave Davenport
b96b28ebde [Doc] Try to fix some markdown, themes.
seems fine in editor, not fine rendered in website.
2023-01-25 23:00:30 +01:00
Dave Davenport
7a1eb91329 [Doc] Try to clarify the children situation for the listview widget. 2023-01-25 22:55:04 +01:00
Dave Davenport
004f4ebd98 [doc] Add conflicting constraint section to manpage. 2023-01-22 12:54:45 +01:00
Dave Davenport
f70b0ed3fd [Doc] Add manpage documentation for pango font string. 2023-01-14 12:44:55 +01:00
Dave Davenport
3d62bb32c9
MKDoc website (#1772)
* Add initial documentation page using mkdocs

* Test action

* Add notes to mkdoc site.

* Add installation guide

* Add installation and config guide to mkdocs.

* Add installation manual

* Add image to main page

* [mkdocs] Add plugin guide.

* [mkdocs] Add plugin to main page and some small fixes.

* Add shipped themes page

* [actions] Also rebuild website on the next branch
2022-12-31 13:15:01 +01:00
Dave Davenport
d464822505 [Theme] support rasinc for theme include files. 2022-12-30 11:54:15 +01:00
Dave Davenport
3d73cf2554 [Textbox] Cursor goes over, not under. allow cursor outline. 2022-12-23 22:11:22 +01:00
Dave Davenport
0ff6ff21c3 [Textbox] Add text-outline to style 2022-12-23 13:38:09 +01:00
Dave Davenport
a1943bab1f [Doc] Clarify documentation on require-input further. 2022-12-20 21:21:14 +01:00
Dave Davenport
356e9a98bb [Doc] Clarify that require-input only hides it. 2022-12-20 16:35:47 +01:00
vE5li
23de9e9d2c
make cursor more customizable by adding cursor-width and cursor-color (#1753)
* make cursor more customizable by adding cursor-width and cursor-color to the theme

* fix placeholder color

* add doc entry

* more documentation
2022-11-25 10:28:34 +01:00
Dave Davenport
fce721a105 [Textbox] Add 'placeholder-markup' flag.
Fixes: #1690
2022-08-28 21:47:05 +02:00
Herbert Verdida
74b249cd99
Fix manual for centering text relative to icon (#1669)
Centering text relative to icon should apply `vertical-align` to `text-element` not on `text-icon`.
2022-08-07 09:21:32 +02:00
Dave Davenport
903def557b [Doc] Clarify capitalize bug in manpage. 2022-07-30 15:07:11 +02:00
Dave Davenport
9d001aaaf7 [Theme] Do a pango version check. 2022-07-30 15:05:28 +02:00
Dave Davenport
77af850200 [textbox] Implement text-transform add upper/lower/capitalize transform
fixes: #1010
2022-07-30 14:50:05 +02:00
Dave Davenport
5eafdc4b06 [Doc] Update releasenotes. 2022-07-21 21:48:53 +02:00
Dave Davenport
59e9b77a2e [Doc] Update releasenotes, move section in manpage. 2022-07-16 13:33:13 +02:00
Dave Davenport
386877dd22 [Theme] Add enabled property with env support. 2022-07-15 23:28:57 +02:00
Dave Davenport
9c18aaef22 [View] Add icon-current-entry widget. 2022-06-27 17:09:21 +02:00
Dave Davenport
8ee05a718e [View] Add textbox-current-entry widget. 2022-06-27 16:56:59 +02:00
Dave Davenport
bb1fd3afd7 [DOC] Small fixes to rofi-theme manpage. 2022-04-07 21:02:55 +02:00
Dave Davenport
2cc21909f5 [DOC] Update rofi-theme with a small getting started. 2022-04-06 20:23:07 +02:00
Dave Davenport
62ebde525f [doc] Update drawings in rofi-theme 2022-04-06 00:04:30 +02:00
Dave Davenport
88a1d1cbf7 [Doc] Tweak rofi-theme manpage. 2022-04-05 22:21:13 +02:00
Dave Davenport
47d785758a
[listview] Allow settings of flow direction of elements (#1605)
* [Listview] Initial implementation for left to right packing.
* [Listview] fix movement in pack-left-to-right.
* Add element-next/prev keybinding and remap tab.
* [Listview] Change option name to 'flow' and use rofi orientation type.
* [Listview] Make listview work with reverse property.
* Update test for 2 new keybindings.

fixes: #1058
2022-03-07 20:37:58 +01:00
Dave Davenport
079c1dcd85 [Doc] Clearify enable/disable. 2022-03-04 08:53:22 +01:00
Dave Davenport
85c6545a43
Merge List and Array type into one. (#1572)
* Merge list and array into one.

* [Lexer] Only use string without " in list

* Some cleanups

* Cleanups based on feedback.
2022-01-25 09:57:59 +01:00
Jakub Jirutka
6e3feee179
Add support for setting tabs stops on textboxes (#1571)
* Document new array of values type

* Move WIDGET_PADDING_INIT from widget.c to widget-internal.h

* Refactor WIDGET_PADDING_INIT macro

* Add support for setting tab stops on textbox

This allows to emulate a multi-column layout inside the text boxes.

The implementation is kinda hackish due to the limitations of the theme
parser. The only property type that can contain multiple distance values
is Padding, so I used that.

* Use new array syntax for tab-stops
2022-01-24 22:20:41 +01:00
Dave Davenport
8817b6a602 [Doc] Add floor,ceil,round to manpage.
Fixes: #1569
2022-01-19 18:56:45 +01:00
Dave Davenport
5f7563dae3 Update cmdline separator and add to manpage. 2021-12-17 19:04:02 +01:00
Dave Davenport
e3860c89e8 [FileBrowser] Reduce number of re-allocs. 2021-10-12 10:34:47 +02:00
Dave Davenport
abe4d2d85e [Doc] Fix layout image. 2021-09-20 06:56:34 +02:00
Dave Davenport
ff022f8940 [DOC] Add default theme loading to rofi-theme manpage. 2021-09-12 19:59:36 +02:00
Dave Davenport
68e79b66a9 [Grammar] Add support for env();
Add support for `env(ENV,default)`.

Fixes: #1411
2021-09-01 21:27:25 +02:00
Dave Davenport
c8aa445371 [Doc] Add note highlight is only available on element-text. 2021-08-22 12:46:50 +02:00
a1346054
c62137f8ab
Simple maintenance improvements (#1370)
* rofi moved to libera.chat

* unify some theme headers and whitespace

* consistently use the same hashbang for bash

* improve obsolete way of testing equality

see https://github.com/koalaman/shellcheck/wiki/SC2268 for explanation

* use consistent function definitions in bash scripts

* remove duplicated author and fix whitespace

* quote all variables in scripts

fixes many warnings identified through shellcheck

* fix whitespace in scripts

* fix whitespace in non-source files

* fix spelling in non-source files

* fix whitespace and indentation in source files

* fix spelling in source files
2021-08-14 13:03:16 +02:00
Danny Colin
3309d20ce0
Speficy that horizontal/vertical align is a number between 0 and 1. (#1357) 2021-07-29 20:46:09 +02:00
Dave Davenport
c4a156fb89 [Icon] Add a squared option. 2021-07-14 17:29:38 +02:00
Dave Davenport
6f28a171ac
[DOC] Update rofi-theme(5) for github highlighting 2021-07-02 18:17:25 +02:00
Dave Davenport
a230f193fb [Doc] Update element drawing. 2021-07-02 18:09:41 +02:00
Dave Davenport
f5aa88acfd [Doc] Update rofi theme manpage with some examples and fixes. 2021-07-02 18:01:46 +02:00
Dave Davenport
0c304524fb [Icon|Button] Make action available on icon and use keyb name.
You can now bind a key-binding on mouse click to icons and buttons by setting
"action" property.

For example:

```css
icon-paste {
    expand: false;
    filename: "gtk-paste";
    size: 24;
    vertical-align: 0.5;
    action: "kb-primary-paste";
}
```
2021-06-30 14:12:09 +02:00
Dave Davenport
824b21b4fb [doc] small textual tweak 2021-06-15 20:10:04 +02:00
Dave Davenport
4c1a74e15e [Widget] Add scaling option to background-image. 2021-06-15 17:18:34 +02:00
Dave Davenport
828aaa231a [Theme] Add angle support to linear-gradient. 2021-06-14 16:04:15 +02:00
Dave Davenport
5c5428bd11 [Theme] Add direction support to linear-gradient. 2021-06-14 15:14:41 +02:00
Dave Davenport
7cf0385681 [Theme] Support multiple stops in linear-gradient
* Fix anchor dumping
* Fix image dumping
2021-06-13 22:57:35 +02:00
Dave Davenport
2c325b3f09 [Widget] Add initial support for background-image.
* Supports url("path") and linear-gradient(start,stop).
2021-06-13 20:50:25 +02:00