737 Commits

Author SHA1 Message Date
lbonn
5596ecaca4 Merge tag '1.7.9' into wayland 2025-05-18 20:03:28 +02:00
Qball
f0ccf4c186 [Widget] Add 2 workaround for error in corner radius drawing
* Disable AA (works on nvidia)
* Disable nvidia workaround.
2025-03-30 15:04:22 +02:00
J0hannes101
56fd08ed58 [scrollbar] Add theming for rounded corners (#2108)
* [scrollbar] Add theming for rounded corners

* rename "rounded-corners" to "handle-rounded-corners"
2025-03-08 18:34:39 +01:00
Qball
a993ceadf4 [DOC] Fix indenting of sub-bullets as mkdocs interpets them differently
issue: #2112
2025-03-06 11:26:18 +01:00
J0hannes101
e70e3906cc Add theming to hide text cursor if no text is put in (#2106)
* Add theming to hide text cursor if no text is put in

* rename "hide-empty-cursor" to "hide-cursor-on-empty"

* update docs
2025-02-25 18:50:25 +01:00
J0hannes101
a84f04a14b [DRUN] Add option to exclude categories from drun #2102 (#2104)
* Add option to exclude categories from drun

* Fix memory leak when both -drun-categories and -drun-exclude-categories are used

* update docs
2025-02-21 16:28:21 +01:00
lbonn
cebb0fd1a7 Merge remote-tracking branch 'upstream/next' into wayland 2025-02-13 09:35:15 +01:00
Emil
32a0374fb1 Fix broken Pango link (#2096) 2025-02-12 21:36:05 +01:00
Dave Davenport
88456b6adc [WIP] [View] Allow cycling through matching methods (#2091)
* [View] Allow cycling through matching methods

* [Doc] Fix documentation and test for keybindings

* [Helper] Allow selecting different matching modes for cycling at runtime.

* [View] Fix bool to gboolean

* [Doc] Small type fix, theme cleanup

* [Overlay] Make timeout configurable.

* [Helper] Reduce scope of variable.
2025-02-09 17:34:57 +01:00
phanium
0c3cbd0cfb feat: add smartcase support like vim (#2060) 2025-01-27 17:52:32 +01:00
Qball Cow
fb326c1b61 Revert "[Window] Allow active window to be sorted on top."
This reverts commit 8542b3ee7e.
2025-01-26 20:13:21 +01:00
Qball
613bc5814c Merge remote-tracking branch 'github/next' into next 2025-01-24 11:33:02 +01:00
giomatfois62
bc67d8a8a6 [WIP] Execute custom user commands or scripts on a variety of rofi events (#2053)
* Implemented custom user command execution on the following menu events: entry selected, entry accepted, menu canceled, menu error, mode changed, screenshot taken

* fixed different signedness comparison warning and compare unfiltered entry index in selection_changed_user_callback

* track previously selected line in RofiViewState

* added documentation about custom scripts to run on certain actions

---------

Co-authored-by: Matteo <giomatfois62@yahoo.it>
2025-01-24 11:19:48 +01:00
Qball
168b5d6381 Merge remote-tracking branch 'github/next' into next 2025-01-22 18:19:30 +01:00
Tiou Lims
5870040256 Add option to enable the kb-delete-entry in script mode (#2087)
* Add option to enable the `kb-delete-entry` in script mode

* Remove `use-delete` option
2025-01-22 18:12:27 +01:00
lbonn
42c384aec0 Merge tag '1.7.8' into wayland 2025-01-20 19:41:23 +01:00
Qball
8542b3ee7e [Window] Allow active window to be sorted on top.
fixes: #2048
2025-01-20 18:27:19 +01:00
Qball
5b95abce92 [Lexer] Allow for optional imports.
Adds the `?import` syntax.

fixes: #2078
2025-01-20 14:34:53 +01:00
Qball Cow
4287ff444a [DRun] Reduce DBus timeout to 1500ms add option to disable DBusActivatable.
Issue: #2077
2025-01-09 12:53:37 +01:00
lbonn
57c53bdc16 Merge tag '1.7.7' into wayland 2025-01-05 14:01:24 +01:00
Qball
de4e10a7de [Config] Remove character data type as it aliases with string.
Internal character option will now use the first ascii char from the
string type.
2025-01-03 13:12:05 +01:00
Qball
e8ecd86bc0 [Doc] Update theme documentation with import resolving update.
Resolve both .rasi and .rasinc and what order

Issue: #2069
2025-01-02 21:09:20 +01:00
Qball
8b9afa39c8 [Doc] More doxygen file updates for CI. 2024-12-23 13:51:24 +01:00
Qball
53a80627e7 [Doc] Update doxygen file to remove obsolete entries. 2024-12-23 13:45:43 +01:00
Dave Davenport
405f5231d8 [DOC] Add mouse button names to documentation. 2024-11-27 10:09:01 +01:00
lbonn
2baa809d8a Merge remote-tracking branch 'upstream/next' into wayland 2024-11-06 18:51:32 +01:00
Dave Davenport
08989ab4fc [Doc] Clarify documentation for User Script directory.
Fixes: #2043
2024-10-26 12:07:47 +02:00
Onur
142e78071c Update rofi-sensible-terminal to include foot 2024-10-06 13:23:32 +02:00
giomatfois62
75ae2a41f0 [WIP] xdg thumbnails fetching with fallback on mimetype icons (#1939)
* implemented xdg thumbnails fetching with fallback on mimetype icons for menu entries in filebrowser mode

* included original license text

* added md5 header and source file

* implemented xdg compatible thumbnail's creation

* added -preview-cmd string option to program settings

* support custom command to create images for entries with thumbnail:// prefix

* fix custom thumbnailer command crash caused by null uri when entry is not a valid filename

* check entry_name is not NULL or empty when generating thumbnails;
use snprintf to avoid static analyzer complains

* avoid using gstrvbuilder to build thumbnailer command args

* fixed static analyzer complain about always wrong condition

* use g_spawn_check_exit_status to avoid bump to glib 2.70

* removed md5-c dependency and use glib checksum implementation

* fixed meson build after md5-c library removal

* support thumbnail generation in recursivebrowser mode

* restored check rofi_icon_fetcher_file_is_image

* create thumbnail directories if not existing

* use g_malloc0, g_strdup and g_strdup_printf

* fixed formatting with clang-format

* don't wait for jobs in execution when finalizing the icon fetcher worker threadpool

* destroy and rebuild the icon fetcher worker threadpool when the current page is changed

* added query_started boolean member to IconFetcherEntry;
check if an icon fetcher query was started on an IconFetcherEntry and submit the query again otherwise

* force icon cache lookup even if the item has a valid icon_fetch_uid (the fetching job could have been discarded before starting)

* search binaries in PATH when executing thumbnailer command

* mark icon query as not started in threadpool item free_func

* added listview page_changed_callback; rebuild icon fetcher threadpool in page_changed_callback

* [listview] Add missing code documentation param

* Create rofi-thumbnails.5.markdown

* Updated documentation with apparmor issues and workaround

* [Doc] Ship rofi-thumbnails.5

With some formatting fixes

* use a more compact thumbnailer example

---------

Co-authored-by: giomatfois62 <giomatfois62@yahoo.it>
Co-authored-by: Dave Davenport <DaveDavenport@users.noreply.github.com>
Co-authored-by: lbonn <github@lbonnans.net>
2024-06-21 18:47:38 +02:00
Istvan Petres
5133f50f30 Add -transient-window mode (#1988)
* Add -transient-window mode

This will add a new mode for the rofi window so when you run it with
-transient-window

instead of
-normal-window

it will get the currently focused window and then use that as the parent window and set itself as transient of that window.  It is useful so that when you  use a keyboard shortcut to start rofi it will always popup on the window you are working on and so it doesn't make you refocus/move your head on large monitors :)

* Fixed other windows to be focusable in transient mode

and added print_help_msg for this new -transient-window option.

* Added -transient-window option to doc too
2024-06-09 18:57:29 +02:00
Qball Cow
dee97eb540 [Script] Fix keep-selection add keep-filter
Fixes: #1962
2024-05-12 21:35:26 +02:00
lbonn
51dec9d65b Merge remote-tracking branch 'upstream/next' into wayland 2024-05-04 12:29:49 +02:00
Dave Davenport
6c38a49d54 [Doc] Fix typo, thx to @Nickwiz 2024-03-16 11:53:12 +01:00
lbonn
433f9664e9 [Doc] Switch to pandoc and remove generated files (#1955)
* [Build] Add missing dist files from libnkutils

* [Doc] Switch to pandoc and remove generated files

* [Doc] Rewrite markdown for conversion to man

* convert existing markup to use definition list (a bit hacky...)
* rewrite title to pandoc man metadata
* reduce heading nesting to match most man pages
* inline code displayed as bold, also common man style

* [Doc] New installation with autoconf and meson

- autoconf:
  * generate in source directory if pandoc found
  * install from source directory

- meson:
  * generate and install with build directory if pandoc found
  * try to install from source directory if pandoc not found
  * bail otherwise

* [Doc] Make pandoc filter 2.9 compatible

Man pages look better with pandoc >= 2.17
2024-03-05 16:22:47 +01:00
lbonn
be7c088eea [Doc] Fix -global-kb docs
And revert erroneous change in historical docs
2024-03-01 18:40:17 +01:00
Dave Davenport
afc65ac125 [script|dmenu] Add option to make row permanent.
fixes: #1952
2024-02-28 20:47:18 +01:00
lbonn
ccb8385d93 Merge remote-tracking branch 'upstream/next' into wayland 2024-02-28 09:31:31 +01:00
lbonn
aa193c3be6 [Build] Bump minimal meson version to 0.59.0 (#1947)
To remove some deprecated invocations.

0.47.0 (2018-07-02) -> 0.59.0 (2021-07-18)
2024-02-27 20:42:50 +01:00
Qball Cow
118e3a4df4 Revert "[config] By default escape run command."
This reverts commit 83ecbfe127.
2024-02-22 08:51:04 +01:00
Qball Cow
83ecbfe127 [config] By default escape run command. 2024-02-22 08:45:04 +01:00
lbonn
070c830a92 Merge remote-tracking branch 'upstream/next' into wayland 2024-02-16 17:54:10 +01:00
Dave Davenport
e74c2dc253 [DOC] Add explanation to PATTERN of brackets
Fixes: #1933
2024-01-09 11:46:25 +01:00
Dave Davenport
1a5e9e9af6 [Doc] Update manpage to clarify meta property. 2024-01-04 11:26:07 +01:00
Dave Davenport
9aaa0a83ee [Script] Update theme property clarification a bit. 2023-11-10 14:45:26 +01:00
Dave Davenport
90edb60c4f [Script] Add clarification to theme property. 2023-11-10 14:41:48 +01:00
Dave Davenport
dbc1f8dcb4 [Dmenu][Script] Add 'display' row option to override whats displayed. 2023-11-06 20:02:48 +01:00
Dave Davenport
1481030947 [DRUN] Add {url} to drun-display-format.
Escape exec.

fixes: #1914
2023-10-31 11:28:45 +01:00
Dave Davenport
c78179dcc8 [lexer] Add dmenu as enabled option for media type.
fixes: #1903
2023-10-03 21:06:53 +02:00
lbonn
bb85634182 Merge remote-tracking branch 'upstream/next' into wayland 2023-09-14 17:37:40 +02:00
Gutyina Gergő
b41654f903 Fix typos in dmenu docs (#1891) 2023-08-23 22:19:07 +02:00