Commit graph

577 commits

Author SHA1 Message Date
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
Dave Davenport
bd332e7b7e [Doc] Add small (Extra) highlight section to rofi-theme 2020-09-06 11:59:41 +02:00
Dave Davenport
8c51b9ec3e [Doc] update rofi-theme(5) with mm size. 2020-06-09 22:57:02 +02:00
Dave Davenport
1342b733af [Script] Add 'info' row option, that gets passed to ROFI_INFO environment. 2020-05-24 19:10:49 +02:00
Dave Davenport
135ff94a79 Fix XDG_USER_CONFIG_DIR to XDG_CONFIG_HOME. 2020-05-23 15:27:15 +02:00
John Beard
0a33aadd8b
Man pages: document the bang feature (#1126) 2020-05-12 21:12:45 +02:00
John Beard
3df5a616cd
Manpage tweaks for rofi.1 (#1120)
* Man pages: Add version and dump-* options

* Man pages: Add -display and -markup to rofi.1

* Man pages: Use the metavariable in -async-pre-read

* Man pages: document the dmenu -w option

* Man pages/help: correct -only-match description

* Man pages/help: -normal-window does not only apply in dmenu mode

* Man page: modi are lowercase

Entering the modi as the man page had them would not work

* Man page: minor formatting/grammar tweaks

* modi and command names are `backticked`
* rofi is **bold**
* other man pages are **bold(1)**
* Pango is capitalised according to their own website.
* Option arguments are *like1*,*this2*

* Man pages: fix Pango markup link
2020-05-10 15:44:29 +02:00
Dave Davenport
86cdcae55b [Window] Update manpage and --help. 2020-04-29 12:59:49 +02:00
Dave Davenport
151547a99e
[Themes] add calc() support to distance in theme format. (#1105)
* Initial test to allow math in distances.

Support + and -
Needs spaces around + and -.

* [THEME] Fix printing theme with math in distance.

* [Theme] use calc() syntax.

* [Theme] Add * and /  to calc().

* [Theme] Fix the precedense ordering in parsing. Also avoid making copies.

* [Theme] Don't print unneeded ().

* [Theme] Add modulo to calc.
2020-04-24 19:54:08 +02:00
Dave Davenport
906b520daf [Script] Add no-custom mode. 2020-04-22 23:41:25 +02:00
Dave Davenport
b86109295d Update doc/readme to be markdown. 2020-04-20 11:28:33 +02:00
Dave Davenport
67b6c8bcc8 Update manpage and manpage build instructions 2020-04-20 11:27:06 +02:00
Dave Davenport
4689e6ee6d Clearify system configuration file loading process. 2020-04-19 12:10:14 +02:00
Dave Davenport
e7554da627 Parse XDG_CONFIG_DIRS for default configuration file. 2020-04-19 11:55:53 +02:00
Dave Davenport
3e64e4422d [DMenu] Implement -keep-right
Fixes: #1089
2020-04-16 23:31:43 +02:00
Dave Davenport
7587149950 [Script] Update example and doc. 2020-04-07 13:20:16 +02:00
Dave Davenport
bacecf3044 [Script] Add environment variable to indicate state.
* ROFI_RETV shows the state rofi was in before calling rofi.
2020-04-05 12:56:33 +02:00
Dave Davenport
c1ac4804c2 [Script] Small update manpage rofi-script. 2020-04-01 14:14:13 +02:00
Dave Davenport
fb290f9cde [Script] Update manpage with delim option. 2020-04-01 14:00:48 +02:00
Dave Davenport
aa07b8ef94 [Script] Add option to set deliminter and example script.
Issue: #1041
2020-04-01 13:58:01 +02:00
fogine
5b8aebad3e
add missing -eh (line height) option to man pages (#1080) 2020-03-31 18:07:43 +02:00
Dave Davenport
cca9fa3372 Update manpage -selected-row option. 2020-03-29 12:58:28 +02:00
Sebastiaan Lokhorst
1e4409c6b3
Remove gnome-terminal from rofi-sensible-terminal (#1074)
gnome-terminal is no longer compatible, as noted in #1003
2020-03-20 10:01:11 +01:00
Sidou
f8c3d694bb
man: Fix typo (#1068)
Removed a duplicate word "the" on rofi.1.markdown.
2020-03-14 17:00:10 +01:00
asymmetric
e8eecae4c4
man: update default matches for desktop files (#1061)
Taken from [`config.c`](d777d0ed4b/config/config.c (L120)).
2020-02-21 15:32:52 +01:00
Dave Davenport
eb12ff2375 Add missing compiled manpage. 2020-02-02 21:34:14 +01:00
Dave Davenport
bc2e1549fb Add rofi-script manpage, add meta option support to dmenu.
update ronn to go-md2man
2020-02-02 17:21:21 +01:00
Dave Davenport
a422b33e99 Update manpage with drun-cache. 2020-01-26 15:48:17 +01:00
Dave Davenport
a35a898816 [DRun] Add desktop cache
Add a desktop cache file. Usable for system with slow filesystems.

* -drun-use-desktop-cache
* -drun-reload-desktop-cache

Fixes: #1040
2020-01-26 12:47:04 +01:00
Dave Davenport
f8be880b45 Add total num + filtered num to default theme. 2020-01-16 19:12:03 +01:00
Dave Davenport
b44b5e8d16 Add -upgrade-config option.
* Print warning when old-style configuration is used.
* Add -upgrade-config option.
2020-01-02 12:00:44 +01:00
Dave Davenport
40c1476855 [Listview] Fix drawing issue 2019-12-29 20:33:34 +01:00
Dave Davenport
e6bed0e5d3 [Listview] Add support for showing the (keybindable) index.
fixes: #1050
2019-12-29 19:04:29 +01:00
Dave Davenport
afda9cbb13 [Doc] Update theme manpage with import. 2019-12-29 17:30:53 +01:00
Dave Davenport
0a4426af29 Add placeholder to default theme. 2019-12-26 14:39:51 +01:00
Dave Davenport
f3bb043df0 [Textbox] Add placeholder.
Fixes: #1020
2019-12-26 14:24:10 +01:00
Dave Davenport
2c56e5ca33 [DOC] Update theme documentation with @media. 2019-12-25 23:10:46 +01:00
Dave Davenport
e9dde8e2ac [Doc] Update rofi-theme documentation.
allow `content` as alias to `str` on textbox.
2019-12-14 10:59:10 +01:00
Dave Davenport
5a457022e9
Update rofi-theme.5.markdown 2019-11-18 20:38:38 +01:00
Dave Davenport
c1378e4c60 [View] Add two widgets num-rows/num-filtered-rows
Issue: #1026
2019-11-07 11:49:45 +01:00
Simon Legner
5f57519940 Fix typo "Csutom" (#1025) 2019-11-03 20:06:48 +01:00
Dave Davenport
aeecf34c27 [Window] Add thumbnail of windows as option. 2019-10-17 21:19:19 +02:00
Dave Davenport
3def8a6418 [CI] Fix tests. 2019-09-30 10:17:48 +02:00
Dave Davenport
f28cf0207e Update rofi-theme manpage with button and icon feature. 2019-09-20 15:01:34 +02:00
Dave Davenport
aa35ecc40a [DRun] Add keywords to match and printing. 2019-08-20 22:51:07 +02:00
Dave Davenport
85279323e6 Set window title based on mode name.
For dmenu allow customize with `-window-title`.

Fixes: #969
2019-08-10 12:02:49 +02:00
Dave Davenport
f896146217 [DRUN] Add option to only show desktop files in certain categories
closes: #817
2019-08-09 19:33:23 +02:00
Dave Davenport
a1362010c3 Fix default theme. 2019-08-08 23:35:42 +02:00
Dave Davenport
618d1396ee
Issue949 (#999)
* [Issue 949] Add initial split of listview row into widget tree.

Allowing better themeing.

* Remove unneeded code from textbox. allow dis. icons.

* Fix typo.

* Fix wrong widget offset in textbox.

* Fix mouse handling

* [ListView] Add 'fixed-columns' boolean option.

* [Listview] Fix inversion of option.

* [ListView] remove commented old code.

* [Textbox] Handle null pointer on desired width.

* [Listview] Fix crasher with fixed_columns and more max elements requested items.

* Add hack to get backwards compatibility for new listview structure.

* Fix the scrollbar test.

* Fix tests for theme update..
2019-08-08 20:02:20 +02:00
Kenneth Ho
be21fbae5d add pythonic rows selection to -a and -u (#985) 2019-07-02 21:27:46 +02:00
Dave Davenport
45811d99ca [Manpage] Fix example that uses external tools out2html and tty-pipe. 2019-06-16 19:47:04 +02:00
Dave Davenport
361ce7d6fc Add matching-negate-char character.
Fixes: #937
2019-05-19 19:15:54 +02:00
Dave Davenport
52c5592a6f [ListView|Textbox] Add user-settable ellipsize mode.
Fixes: #917
2019-05-04 11:04:54 +02:00
Dave Davenport
e7da00dbff [DMenu] Add format option to output string stripped from pango markup. 2019-05-04 10:24:59 +02:00
Dave Davenport
7acd7532da [Manpage] Add overlay as widget to manpage. 2019-04-16 12:56:28 +02:00
Dave Davenport
5b96be66ae [View] Move overlay into the theme system instead of weird addon.
It is now a child in the inputbar.

Fixes: #950
2019-04-16 12:52:53 +02:00
Dave Davenport
fadfae5433 [Window] Fix default value and help comment. 2019-03-29 11:24:10 +01:00