Commit graph

633 commits

Author SHA1 Message Date
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
Dave Davenport
6178970499 [DRun] Only go to file completer if desktop file support url. 2021-06-08 19:35:51 +02:00
Dave Davenport
b86907ccab [Doc] Add font section to rofi-theme manpage. 2021-06-08 18:35:21 +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
TonCherAmi
c1244b066f
[FileBrowser] Allow setting startup directory (#1325) 2021-06-05 14:22:48 +02:00
Dave Davenport
2eefd9b191 [Run] Allow (Ctrl-L) to complete files using file-browser.
Merge old setup from #1116

issue: #1116  #659
2021-06-01 13:14:45 +02:00
Dave Davenport
3cd7170a8d [Doc] Small tweaks to manpage. 2021-06-01 10:32:58 +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
unisgn
c3e70d4e1a
add prefix matching method feature (#1237)
* add prefix matching method feature

* Update helper.c

* prefix matching regex memory leak fix

* prefix matching regex memory leak fix

Co-authored-by: francis <oxfrancis@outlook.com>
2021-05-29 13:39:31 +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
Dave Davenport
37044dc27e Remove -dump-xresources option update manpage. 2021-05-04 20:44:38 +02:00
Dave Davenport
67eda1a776 Remove -fullscreen option, deprecated by new theme format.
Use 'window {fullscreen: true;}' instead.
2021-05-02 20:15:58 +02:00
Dave Davenport
d539e6478a Remove -show-match option, deprecated.
Use 'element {highlight: none;}' in theme/configuration to reproduce it.
2021-05-02 20:01:03 +02:00
rahulaggarwal965
e304dbc883
Added -hover-select option that automatically selects the entry under the cursor (#1234) 2021-04-13 11:45:20 +02:00
Dave Davenport
318a6d40ca Add 'steal-focus' option instead of 'restore-focus' option.
Disable steal-focus by default.

Fixes: #1275
2021-04-13 11:35:34 +02:00
Dave Davenport
750dbad729 Add [no]focus restore option. 2021-03-27 16:28:27 +01:00
Dave Davenport
53533acb77 [Doc] update rofi-script to hint about coproc.
Thx to jose1711
2021-03-10 20:45:53 +01:00
Dave Davenport
91a71fd016 [Doc] Tweak rofi-script no-custom description. 2021-02-21 18:21:47 +01:00
Awal Garg
50c50d6d76
document -max-history-size in the manpage (#1268) 2021-02-01 21:34:49 +01:00
Dave Davenport
01935064d8 Add -rasi-validate option.
Issue: #1260
2021-01-26 17:27:32 +01:00
Dave Davenport
46031bbee1 [rofi-theme] Update manpage with textbox::markup option. 2020-12-28 22:54:20 +01:00
Dave Davenport
eea8897501 Fix some of the documentation 2020-10-12 21:39:36 +02:00
Dave Davenport
b4bbce4af5 [Helper] Add -normalize-match option.
Decomposes string and remove accent characters before matching.
This makes o match ö, é match e and more.
It is not a perfect implementation but works.
Currently disables the match highlighting.

Fixes: #1119
2020-09-30 21:56:37 +02:00
a1346054
96c7ab0fff
Fix spelling (#1202) 2020-09-26 22:47:52 +02:00
Dave Davenport
83610ff682 [Manpage] Addd dash remark to manpage. 2020-09-25 13:29:03 +02:00
Dave Davenport
b434e3e02e [Man] update-rofi-sensible-terminal.1 manpage
* Source from markdown
* Update list.

Fixes: #897 #850
2020-09-19 16:49:50 +02:00
Florian Bruhin
4862584ad2
Remove extra colons (#1199)
Rofi already adds a colon after the prompt given with -p, so the
"monkey:" example would actually lead to a "monkey::" prompt.
2020-09-18 12:50:35 +02:00
Dave Davenport
7c331b130b [Calc] Add min/max operator support to calc()
Fixes: #1172
2020-09-14 20:34:39 +02:00
Dave Davenport
798379551f [Theme] Change default theme icon height to 1 em, to match old behaviour better. 2020-09-14 20:05:29 +02:00
Dave Davenport
aef108e186 [Default Theme] Change ch to em. 2020-09-14 09:36:20 +02:00
Dave Davenport
011908e1ff
issue 1187: If error on launching application, show error message and return to list` (#1193)
* Show error message, then possibly pop back to main window.

Fix drun/run dialog to use this for command execution.

Issue #1187

* [Combi] When no line selected, handle using the first entry.

* [Window] Add execute on invalid input to window dialog.

* Update view.h doxygen docu

* Update manpage with running application changes.
2020-09-13 21:56:25 +02:00
Dave Davenport
3499e1dad0 [Theme] First attempt at more cleanups and nested media support.
First throw at nested media support.

Issue: #1189
2020-09-13 15:11:12 +02:00
Dave Davenport
6ba878e44a [Lexer] Fix media parser. 2020-09-11 18:10:49 +02:00
Dave Davenport
d3ae324290 [Theme] update manpage with fix 2020-09-11 17:55:09 +02:00
Dave Davenport
3b86326b74 [DRun] Update manpage to reflect change from #966
Issue: #1187
2020-09-11 08:36:07 +02:00
Dave Davenport
88ac249d36 [Window] Try to clarify help.
Issue: #1183
2020-09-08 14:42:17 +02:00
Dave Davenport
5d6876a516 [Theme] Add inherit highlight on default theme. 2020-09-06 12:07:57 +02:00