Commit graph

672 commits

Author SHA1 Message Date
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
52f587a191 [IconFetcher] Add support for font rendering as icon.
Issue: #1132
2022-07-16 13:13:29 +02:00
Dave Davenport
386877dd22 [Theme] Add enabled property with env support. 2022-07-15 23:28:57 +02:00
Dave Davenport
daf3127d3a [Script] Add keep-selection flag that keeps the current selection.
Fixes: #1064
2022-07-09 14:12:28 +02:00
Dave Davenport
96027decd9 [Debug] Add a '-log' flag. 2022-07-08 22:53:07 +02:00
Dave Davenport
4d8f733033 [Doc] Add rofi-dmenu to see also in rofi 2022-07-04 08:29:39 +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
c638dc8e97 [Doc] Update rofi-script with ascii manpage as see also. 2022-06-18 14:15:39 +02:00
Dave Davenport
af5e7a4ca3 [DMenu|Script] Update manpage with new option. 2022-06-06 11:34:49 +02:00
Dave Davenport
4f3adefeda Remove unused file. 2022-05-26 21:12:03 +02:00
Dave Davenport
1af76c1f11 Remove some unused scripts and images. 2022-05-24 23:37:23 +02:00
Dave Davenport
141bd3d197 [Doc][Config] Update documentation for new fallback icon
* Allow multiple config be combined.
2022-05-12 19:52:35 +02:00
Mehdi Kabab
741db92786
[Doc] Fix typo (#1623) 2022-04-27 10:46:18 +02:00
Dave Davenport
e2a7cfdd52
[DMenu] Huge list speedups (#1621)
* Don´t refilter on each key-press.

* Make sure refiltering is not completely starved.

* Force refilter before accepting entry

* Go into 'timeout' refilter mode only after certain # elements.

* [DMenu] threading with getdelim to speed up reading.

* [View] Remove debug output.

* [dmenu] Fix pre-read.

* [DMenu] Make sure that async mode cannot block

* Remove mutex for IPC via pipes.

* [Dmenu] Small cleanup.

* [Scrollbar] Fix scrollbar overflowing on big lists.

* Fix stack overflow by creating to many filter jobs.

* [Doc] Add new option to manpage
2022-04-20 21:53:44 +02:00
Dave Davenport
54e272df29 [Doc] Update rofi.1 with an extra example. 2022-04-14 20:45:37 +02:00
Dave Davenport
2606907dc8 [doc] Update debugging manpage. 2022-04-11 11:24:36 +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
497d18d108 [Script] Support a data option that get passed to next execution.
fixes: #1601
2022-03-02 22:06:04 +01:00
Quentin Glidic
d2ef00dea0
AUTHORS,man: Update my name
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2022-02-26 16:02:26 +00:00
Dave Davenport
534aa6ad54 Rename Dialogs -> Modes
Try to fix some of old syntax.
2022-02-23 23:18:53 +01:00
Dave Davenport
32d33ade16 Remove two old test files. 2022-02-23 23:04:38 +01:00
Dave Davenport
4e06bff706 Change modi -> modes
issues: #1599
2022-02-23 22:42:56 +01:00
Dave Davenport
fb1eefb298 Update manpage. 2022-02-13 12:22:25 +01:00
Dave Davenport
61aa11ba12 [DMenu] Document the -display-columns and -display-column-separator option. 2022-01-31 12:56:18 +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
Jakub Jirutka
50b85ba954
Add -combi-display-format (#1570)
Implement a new option -combi-display-format (analogous to
-drun-display-format) that allows to change position appearance of
the mode name in the combi entries.
2022-01-22 22:03:10 +01:00
Dave Davenport
64062b2a94 [Doc] Add F.A.Q about icon lookup. 2022-01-22 14:20:16 +01:00
Dave Davenport
8817b6a602 [Doc] Add floor,ceil,round to manpage.
Fixes: #1569
2022-01-19 18:56:45 +01:00
Dave Davenport
a278b5811a [DOC] Fix typo in manpage (-terminal-emulator) 2021-12-30 14:08:39 +01:00
Dave Davenport
e563cd3ad0 Add -replace option
Issue: #568
2021-12-22 21:03:54 +01:00
Dave Davenport
5f7563dae3 Update cmdline separator and add to manpage. 2021-12-17 19:04:02 +01:00
Dave Davenport
fbfb9b0247 [DOC] Add rofi-dmenu(5) manpage. 2021-12-17 11:13:29 +01:00
Dave Davenport
7b1008b38f [Doc] Add a manpage with all the bindings. 2021-12-15 21:31:44 +01:00
Dave Davenport
555f9be1f7 [Doc] Update manpage with clarification. 2021-12-14 20:42:21 +01:00
Dave Davenport
ec7aa09f0a [DOC] Fix key names in theme location name. 2021-10-12 22:47:40 +02:00
Dave Davenport
e3860c89e8 [FileBrowser] Reduce number of re-allocs. 2021-10-12 10:34:47 +02: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
68e79b66a9 [Grammar] Add support for env();
Add support for `env(ENV,default)`.

Fixes: #1411
2021-09-01 21:27:25 +02:00
Dave Davenport
c562058de8 [DOC] Remove the mention of -lines in old example. 2021-08-30 16:11:36 +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
jtagcat
75647b78d7
doc: rofi.1.markdown: fix link, languagetoolify (#1380) 2021-08-26 22:42:39 +02:00
Dave Davenport
c56cc6a129 [Doc] Remove 'fun' from doc. 2021-08-24 23:48:00 +02:00
Dave Davenport
acb1979f10 [Theme] Undo part of default theme changes, always pick build-in 2021-08-24 18:19:25 +02:00
Dave Davenport
dec5c103dc [Theme] Ship default theme separately. 2021-08-24 17:17:00 +02:00
Dave Davenport
45561359de [Doc] Small updates to make transparency doc more inline current rofi. 2021-08-23 22:36:24 +02:00
Dave Davenport
9015e5cac6 [Doc] Add documentation about transparency. 2021-08-23 22:31:42 +02:00
Dave Davenport
9c7f9b71c3 [Doc] Add documentation with example about position. 2021-08-23 22:19:30 +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
3e0175d2b6 [Doc][Meson] use go-md2man for update-manpage target 2021-08-22 12:30:14 +02:00
Dave Davenport
1a1dc7282f [Doc] Fix typo 2021-08-17 18:23:35 +02:00
Dave Davenport
8720409ad3 [Window] Allow rofi to stay active on closing a window
```css
configuration {
  window {
      close-on-delete: false;
  }
}
```

fixes: #1071
2021-08-17 18:16:25 +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
Ian C
69c6004681
fix typo (#1355) 2021-07-29 20:46:23 +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
87c60e75de Add file-browser to default config. 2021-07-11 16:37:04 +02:00
TonCherAmi
c1ff6baecd
[FileBrowser] Add option to group directories ahead of files. (#1352) 2021-07-10 23:58:27 +02:00
Dave Davenport
9f71c4f78d [Config] Load default config file in at startup
* load via resources doc/default_configuration.rasi
* print the configuration options on dump-config
2021-07-10 00:25:20 +02:00
Dave Davenport
dc101975aa [Doc] Clarify and update run/drun alt/custom binding. 2021-07-05 16:47:24 +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
TonCherAmi
0ff0866be7
[FileBrowser] Add sorting-method. (#1340)
* [FileBrowser] Add sorting-method.

* [FileBrowser] Convert -file-browser-directory to new config format.
2021-06-27 09:28:21 +02:00
Dave Davenport
330402aa13 [FileBrowser] rename file-browser to filebrowser
In preperation to a overhaul of config system.
2021-06-24 19:11:56 +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
f72bae02bb [DRun] Add advanced parse-user and parse-system config option. 2021-06-15 16:19:57 +02:00
Markus Gräb
4fd4fb89af
New keybinding Ctrl-Shift-Enter (#874)
This function combines accept-custom with the functionality to start
the command in terminal

Co-authored-by: Markus Gräb <m_graeb11@cs.uni-kl.de>
Co-authored-by: Dave Davenport <DaveDavenport@users.noreply.github.com>
2021-06-15 14:43:30 +02:00
Dave Davenport
3307d62c55 [Doc] Add new -display-{mode} method to manpage. 2021-06-15 14:04: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
nickofolas
e7701f6f33
Fix minor typos in theming notice (#1332) 2021-06-09 22:21:39 +02:00
Dave Davenport
0726ed9f33 [Config] Remove fake-transparency/background option.
* fake-transparency
* fake-background
2021-06-08 23:07:52 +02:00
Dave Davenport
d4a73278f2 [Doc] Small textual tweak. 2021-06-08 23:02:14 +02:00
Dave Davenport
c2601e08e1 [Doc] Update manpage with extra notice about passing theme options on cmd 2021-06-08 22:58:27 +02:00
Dave Davenport
1a9dac80a9 Remove some deprecated options.
* lines
 * columns
 * width
2021-06-08 22:33:23 +02:00
Dave Davenport
b478de3d7d Remove deprecated option, fix typo in manpage. 2021-06-08 22:02:29 +02:00
TonCherAmi
62ec84b5e6
[Doc] Document -drun-url-launcher. (#1328) 2021-06-08 20:25:05 +02:00
Dave Davenport
06b80fcba4 [Doc] Update manpage. 2021-06-08 20:23:14 +02:00