Commit graph

683 commits

Author SHA1 Message Date
Dave Davenport
ad06fb9516 [Theme] Try to fix importing of theme.
- Fix the two place of resolving into one method.
- Do not accept file in CWD.
- Prefer file if it exists in same directory as parent file that
  imported it.

fixes: #1889
2023-08-15 19:12:14 +02:00
Nikita Zlobin
a383eb858e Fix mm type in description
Signed-off-by: Dave Davenport <qball@gmpclient.org>
2023-07-24 22:56:00 +02:00
Nikita Zlobin
81641d0f30 Better descriptions for sort options group
It's unobvious from documentation, that sort only works against filtered menu.

Signed-off-by: Dave Davenport <qball@gmpclient.org>
2023-07-23 18:44:15 +02:00
Nikita Zlobin
c980139b7e update man pages without scripts
Signed-off-by: Dave Davenport <qball@gmpclient.org>
2023-07-22 14:15:54 +02:00
Dave Davenport
7814da7ee4 [ROFI] -e '-' reads from stdin 2023-06-15 22:29:03 +02:00
Dave Davenport
96dabb4dd6 Merge remote-tracking branch 'github/next' into next 2023-06-12 19:08:03 +02:00
Dave Davenport
d27cee89fa Merging in the Recursive file browser.
Squashed commit of the following:

commit 92e730076d461622dc81e44e87ec456317514904
Author: Dave Davenport <qball@gmpclient.org>
Date:   Sun Jun 11 18:17:12 2023 +0200

    [Doc] Add regex filtering to recursivebrowser.

commit ee80c8487f9765b1e6e8ab8219a6baea089cf5af
Author: Dave Davenport <qball@gmpclient.org>
Date:   Sun Jun 11 17:49:29 2023 +0200

    [recursivebrowser] Update manpage.

commit a24b68f52362aaf1461935c2340e3bf5e31da59d
Author: Dave Davenport <qball@gmpclient.org>
Date:   Sun Jun 11 17:37:56 2023 +0200

    [Mode] Add some extra validating of the mode selected to complete.

commit cf497e8685e806521c0f61922827687adce268c9
Author: Dave Davenport <qball@gmpclient.org>
Date:   Sun Jun 4 15:12:31 2023 +0200

    [Recursive browser] Make completer selectable.

commit 722f07a803c28a406d8a610f31a24b3f7247b9ba
Author: Dave Davenport <qball@gmpclient.org>
Date:   Sun Jun 4 14:36:14 2023 +0200

    Add methods for completer to modes.

commit 7972420c30275514751802d1ed517a45bbd83da1
Author: Qball Cow <qball@blame.services>
Date:   Thu Jun 1 21:56:06 2023 +0200

    Prepare updates for new APIs.

commit dd3035a1a61f8196d394f6867701a0e1b3af30ac
Author: Dave Davenport <qball@gmpclient.org>
Date:   Wed May 10 19:24:48 2023 +0200

    [RB] Fix regex and cleanups

commit 4d2941caf32dfb946aee54c467c1319c7a89804a
Author: Dave Davenport <qball@blame.services>
Date:   Wed May 10 18:09:54 2023 +0200

    [RB] Add (unfinished regex test)

commit 848277001fc8cf9afc538067f2afa24a174f8c7f
Author: Dave Davenport <qball@blame.services>
Date:   Wed May 10 17:49:16 2023 +0200

    [RB] Pull the scanning into a separate thread.

commit f369a7f63f618bbcad10c18e73f7e2b117c515f1
Author: Dave Davenport <qball@gmpclient.org>
Date:   Wed May 3 18:35:15 2023 +0200

    [Recursive File Browser] First test version.
2023-06-12 19:07:00 +02:00
Yuta Katayama
b341ed01d2
Add wezterm to rofi-sensible-terminal (#1838) 2023-05-04 18:45:33 +02:00
Dave Davenport
21ac2d1930 [DRun] Add option to scan desktop directory for desktop files.
Squashed commit of the following:

commit ac12b66d86b36aaf349c15a5c8dab00a553a641f
Merge: 5c393fb4 98c213a6
Author: Dave Davenport <qball@gmpclient.org>
Date:   Sat Apr 22 21:48:24 2023 +0200

    Merge remote-tracking branch 'origin/next' into scan-desktop

commit 5c393fb4120e842d609e6d4366b1e0b822f66d7f
Author: Dave Davenport <qball@gmpclient.org>
Date:   Sat Apr 8 21:14:20 2023 +0200

    [DRun] Add option to scan desktop for desktop files
2023-04-22 21:50:20 +02:00
Dave Davenport
0133697fd2 [Doc] Update theme manpage with remark-lint hints. 2023-03-27 18:45:44 +02:00
Dave Davenport
b23fc0fff4 [DOC] Update rofi-script update with remark-lint remarks. 2023-03-27 12:08:54 +02:00
Dave Davenport
3446e88cb8 Remove unneeded test and extra enforcement of 0 terminated buffer 2023-03-27 11:52:27 +02:00
Dave Davenport
ebae594c08 [Doc] Update rofi.1.markdown with markdown fixes. 2023-03-27 02:01:28 +02:00
Dave Davenport
40ecbe018e [Doc] Mention location of scripts in manpage. 2023-03-26 13:57:50 +02:00
Dave Davenport
38c102d63b [Doc] Re-generate manpage 2023-03-05 11:18:30 +01:00
Christian Friedow
f5aa8f27a2
docs: element children theming (#1818)
* docs: element children theming

* docs: move element custom children docs

* docs: use relative link instead of absolute
2023-03-05 11:17:57 +01:00
Dave Davenport
1b1aa37f20
#1802: Calc broken fix (#1803)
* [Theme] First move to double internal calculations.

* [Theme] Allow float numbers.

* [Theme] Fix unary - and tighten the grammar parser.

* [Theme] Rename % to modulo to fix compiler.

* [Theme] Dump right modulo syntax.

* [Test] add missing end_test

* [Grammar] Allow negative numbers as property value
2023-02-14 15:53:10 +01:00
Dave Davenport
fb7c8c71ef [Doc] theme, spelling fix and more textual tweaks. 2023-01-25 23:20:06 +01:00
Dave Davenport
bc776fd67c [Doc] More tweaks to get the formulation right. 2023-01-25 23:15:30 +01:00
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
6caece77d4
I785 (#1789)
* [Textbox] Add history to the entrybox.
* [Textbox] Add comments and move into sub functions.
* [doc] Add conflicting constraint section to manpage.
* [Script] Some small memory leak fixes.
* [Entry History] Add documentation.

fixes: #785
2023-01-22 17:25:17 +01:00
Dave Davenport
f70b0ed3fd [Doc] Add manpage documentation for pango font string. 2023-01-14 12:44:55 +01:00
Dave Davenport
82b2ce9435 [FileBrowser] Allow command to be overwritten 2023-01-11 00:21:53 +01:00
Dave Davenport
b02a9d552b [theme] Small theme tweak. 2023-01-10 13:52:13 +01:00
Dave Davenport
9fda280be1 [DMenu|Script] Add per row urgent/active option.
Instead of having a global list of entries to highlight urgent/active,
you can now to it per row.
2023-01-08 12:10:40 +01:00
Dave Davenport
5a29565fc8 [filebrowser] Add option to return 1 on cancel.
Fixes: #1732
2023-01-06 11:54:43 +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
Martin Weinelt
ee2ab5b7f9
[Doc] Add example run command with cgroup support (#1752)
Adds an example command to launch processes via systemd-run into a
dedicated systemd scope within the users slice, which allows using
systemd-oomd, that evaluates memory consumption on a per cgroup basis.

The systemd-run arguments are chosen in alignment with systemds
desktop environment integration recommendations¹.

[1] https://systemd.io/DESKTOP_ENVIRONMENTS/

Co-Authored-By: Dave Davenport <qball@blame.services>

Co-authored-by: Dave Davenport <qball@blame.services>
2022-11-21 17:20:11 +01:00
Dave Davenport
063195922f [DMenu] Add -ellipsize-mode option. 2022-11-19 21:03:22 +01:00
Dave Davenport
690924c270 [Doc] Update support links.
Remove reddit.
2022-11-11 21:53:20 +01:00
Dave Davenport
804eb908bd [FileBrowser] Bind kb-delete-entry to toggle show-hidden. 2022-10-31 21:28:17 +01:00
Dave Davenport
3d3af82b54 [man] re-gen manpage. 2022-10-25 19:14:54 +02:00
Fabian Winter
fba6aee46d
[DOC] Add parsing row options to dmenu manpage (#1734) 2022-10-25 19:14:25 +02:00
Dave Davenport
96a69a54c3 [Window] Add -window-prefer-icon-theme option.
Fixes: #1702
2022-10-22 11:03:11 +02:00
Dave Davenport
fedd6be715 [DOC] Rerun update-manpages. 2022-10-11 16:10:48 +02:00
Dimitris Triantafyllidis
c1a540c57e
[filebrowser] Add an option to show hidden files. (#1716)
Add an option to show hidden files by looking up the "show-hidden" filebrowser property and modifying the relevant logic in "filebrowser.c".

Co-authored-by: Dave Davenport <DaveDavenport@users.noreply.github.com>
2022-10-11 16:04:18 +02:00
Dave Davenport
524d804663 [Doc] Update rofi-keys manpage with unset section 2022-10-11 09:19:35 +02:00
David Kosorin
b3c46d2d5a
Add format option to disable padding with space the "window-format" entries (#1715) 2022-10-03 19:13:22 +02:00
Dave Davenport
5ae8fa5a3f [Keyb] Add a -list-keybindings command. 2022-09-18 20:28:38 +02:00
Dave Davenport
fce721a105 [Textbox] Add 'placeholder-markup' flag.
Fixes: #1690
2022-08-28 21:47:05 +02:00
Dave Davenport
fc07619ac6 [View|Xcb] Add support to copy current selected item to clipboard
Adds control-v binding that copies it to the clipboard.
THIS ONLY WORKS WITH CLIPBOARD MANAGER!!! once rofi is closes, the data is
gone!

This needs to be tested. Documentation on this is lacking so reversed
engineered from other applications.

TODO: how do we do the SAVE_TARGETS?

fixes: #378
2022-08-22 21:44:52 +02:00
Dave Davenport
f3c1dafec2 [View] Change refilter timeout limit to be in time units (ms)
Issue: #1683
2022-08-21 15:47:49 +02:00