1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00
Commit graph

13 commits

Author SHA1 Message Date
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
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
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
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
8274b1cc76 [Doc] Add a rofi-debugging manpage. 2022-04-11 11:19:34 +02: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
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
Quentin Glidic
08a80b4448
meson: Drop unnecessary "install: false" arg from configure_file()
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-03-26 12:25:28 +01:00
Dave Davenport
74106921f4 Install rofi-theme-selector manpage. 2017-11-05 15:28:17 +01:00
Quentin Glidic
d7d239d808
meson: Fix update-manpage target
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-07-17 10:13:48 +02:00
Quentin Glidic
7fd8ce4c0a
Add Meson build system support
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 21:50:07 +02:00