Commit graph

115 commits

Author SHA1 Message Date
Dave Davenport
5eafdc4b06 [Doc] Update releasenotes. 2022-07-21 21:48:53 +02:00
Dave Davenport
af976c3779 [XCB] Add a flag to enable work around for #611.
In issue #611 there is a workaround implemented for an issue within
xserver: https://bugs.freedesktop.org/show_bug.cgi?id=104323#c1,
https://gitlab.freedesktop.org/xorg/xserver/-/issues/300.
With a latest update in xkeyboard-config this workaround breaks rofi,
see #1642 and
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/341.

This commits disabled this work-around (can be re-enabled with
-xserver-i300-workaround flag).

Hopefully this restores correct rofi functionality.

issue: #611 #1642
2022-07-19 15:50:42 +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
54e272df29 [Doc] Update rofi.1 with an extra example. 2022-04-14 20:45:37 +02:00
Dave Davenport
8274b1cc76 [Doc] Add a rofi-debugging manpage. 2022-04-11 11:19:34 +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
a97fa4a199 [Doc] Highlight to use -dump-config as starting point in manpage.
issue: #1609
2022-03-31 17:24:50 +02:00
Dave Davenport
d623e18fbb [DOC] Regenerate manpages with newer go-md2man to fix escaping 2022-03-12 12:22:58 +01: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
fb1eefb298 Update manpage. 2022-02-13 12:22:25 +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
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
555f9be1f7 [Doc] Update manpage with clarification. 2021-12-14 20:42:21 +01:00
Dave Davenport
13d9971d39 [Doc] Update link to pango markup.
Issue: #1496
2021-10-08 20:14:14 +02:00
Dave Davenport
1520a4a5cd [DOC] Fix typo 2021-10-01 15:43:48 +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
4b3f6f6767
[I1405] Allow action to be taken on input change. (#1420)
Fixes: #1405
2021-09-02 09:55:31 +02:00
Dave Davenport
182c897ad5 [Doc] Update manpage on keybindings. 2021-08-27 15:34:59 +02:00
Dave Davenport
0d1f1e7a97 [Doc] Update manpage 2021-08-26 22:43:11 +02:00
Dave Davenport
c8aa445371 [Doc] Add note highlight is only available on element-text. 2021-08-22 12:46:50 +02:00
Dave Davenport
0352e99dea Update manpage 2021-08-14 13:04:42 +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
Dave Davenport
c4a156fb89 [Icon] Add a squared option. 2021-07-14 17:29:38 +02:00
Dave Davenport
dc101975aa [Doc] Clarify and update run/drun alt/custom binding. 2021-07-05 16:47:24 +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
Dave Davenport
ab07156b75 [Doc] Small textual fix. 2021-06-10 21:59:56 +02:00
Dave Davenport
06b80fcba4 [Doc] Update manpage. 2021-06-08 20:23:14 +02:00
Dave Davenport
0db6412ae2 [Doc,Config] Remove line-margin|padding and fix doc mistake.
*Deprecated* option.
2021-06-08 12:17:59 +02:00
Dave Davenport
5eaa5572ef [Manpage] Update rofi.1 2021-06-07 23:13:21 +02:00
Dave Davenport
d857122251 [Script] Don't enable custom keybindings by default, script needs to enable this.
Having it on by default broke the default rofi workflow. Make it an
option now.

Fixes: #1286,#1226
2021-05-31 14:21:09 +02:00
Dave Davenport
2e9835892b [Doc] Remove small-caps from doc as it does not work. 2021-05-29 13:33:09 +02:00
Dave Davenport
2b86ece655 Update links to irc.libera.chat 2021-05-23 00:24:06 +02:00
TonCherAmi
dc28a97437
Add cursor property (#1313)
* Change mouse cursor on widget hover

Currently only listview element and editbox are supported.

* Add cursor property
2021-05-23 00:17:27 +02:00