Commit graph

4065 commits

Author SHA1 Message Date
Aleksei Bavshin
61f96e4cca [Doc] Update Fedora package link.
rofi-wayland is available from the official Fedora repositories.
2022-11-27 02:02:49 +01:00
Aleksei Bavshin
42c6697a6b [WaylandWindow] Remove redundant icon fetcher query.
rofi_icon_fetcher is async, so we won't know which query succeeded on
the first try. All subsequent attempts use cached_icon_uid, and the
result of the first query will never be used.
Do the same as XCB window mode and request only lowercase app_id.
2022-11-27 02:02:49 +01:00
Aleksei Bavshin
2d6d3a2259 [WaylandWindow] Apply changes from b3c46d2:
Add format option to disable padding with space the "window-format" entries.
2022-11-27 02:02:49 +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
Dave Davenport
54aa148a5e [XIM] Fix an unitialized value problem. 2022-11-21 21:15:51 +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
ffe3289999 [Build] Fix test building in makefile. 2022-11-19 22:04:25 +01:00
Dave Davenport
bdeede53e4 [Doc] Add documentation for new functions. 2022-11-19 21:56:12 +01:00
Dave Davenport
d9935e594e [Doc] Fix some missing docu. 2022-11-19 21:50:34 +01:00
Dave Davenport
063195922f [DMenu] Add -ellipsize-mode option. 2022-11-19 21:03:22 +01:00
Dave Davenport
66d782e0e7 Move config.h
small updates

Tweak header a bit

[CI] Add lto build to sh ci.

[CI] Fix artifact upload

[CI] no wildcard for artifact
2022-11-19 20:35:52 +01:00
Dave Davenport
30d50e3bdc Move doxy-coverage to davatorium version 2022-11-18 17:02:42 +01:00
Dave Davenport
c6ba962673 [listview] Set ellipsize mode on creation of textbox
So if rows are added, they behave correctily.

Issue: #1746
2022-11-18 08:46:16 +01:00
Dave Davenport
96e81d1b56 Disable imdkit by default 2022-11-17 17:49:16 +01:00
cognitiond
0bbccc3137
Build documentation (#1744)
* explain how to pass options to meson

* fix typo in INSTALL.md
2022-11-17 15:36:13 +01:00
Dave Davenport
c9faa69a1b [Build] Use built-in lto option. 2022-11-17 12:13:14 +01:00
Dave Davenport
c82754307c [Window] Fix reloading windowcd from xserver request 2022-11-17 12:03:01 +01:00
Dave Davenport
fb80595725 [Build] Add option to build with lto to meson.
Fix error in test.

Issue: #1743
2022-11-17 11:25:45 +01:00
Dave Davenport
53391da45a [Build] Add option to disable imdkit at compile time.
Issue: #1742
2022-11-15 17:18:51 +01:00
Dave Davenport
690924c270 [Doc] Update support links.
Remove reddit.
2022-11-11 21:53:20 +01:00
duarm
6d02648d3a
input method (#1735)
* input method draft

* restoring relese event

* using unused macro, removing debug code, handling disconnection

* review fixes, new update_im_window_pos method

* initializing variables correctly

* initializing im pos queue correctly

* ime window positioning

* add widget_get_y_pos() position

* [Build] Update makefile with imdkit

* [CI] Add imdkit as dependency.

* [XCB] rofi_view_paste don't throw warning, print debug.

* [XCB] rofi_view_paste lower 'failed to convert selection'

* [Build] Add minimum version check to imdkit

* new macro XCB_IMDKIT_1_0_3_LOWER

* [Build] Try to support old version of imdkit in meson/makefile.

* [Build] Fix typo in meson.build

* [XIM] Don't set use compound/set use utf8 when on old version.

* [Build] Allow building without imdkit.

* [Doc] Add imdkit to dependency list.

Co-authored-by: Dave Davenport <qball@gmpclient.org>
2022-11-08 19:18:45 +01:00
Dave Davenport
579902deff [Window] Make sure their is a trailing 0 on the workspace strings.
Issue: #1739
2022-11-02 20:15:38 +01:00
Dave Davenport
804eb908bd [FileBrowser] Bind kb-delete-entry to toggle show-hidden. 2022-10-31 21:28:17 +01:00
Dave Davenport
62ebb863ed [Textbox] Add a 'get_cursor_x_pos' function. 2022-10-27 22:22:11 +02: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
cf2cf27336 [Build] Fix icon install path for makefile.
fixes: #1733
2022-10-24 19:20:03 +02:00
Dave Davenport
60fcbbb10e [Window] Small fixes to prefer-icon-theme option
Thanks to Kafva (https://github.com/Kafva) for the original patch.

Issue: #1702
2022-10-22 11:10:35 +02:00
Dave Davenport
96a69a54c3 [Window] Add -window-prefer-icon-theme option.
Fixes: #1702
2022-10-22 11:03:11 +02:00
waicool20
fd0ef6bc15 Fix for segfault after updating to KDE 5.26 2022-10-19 02:08:29 +02:00
Dave Davenport
baba41cbd2 [drun] Only pass path on launch, if one is set 2022-10-13 20:26:00 +02:00
aloispichler
19de3075e7
The mode is filebrowser (not file-browser) (#1723) 2022-10-11 22:13:07 +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
0ed09e6b5e gitmodules: fix submodule again. 2022-10-11 09:27:47 +02:00
Dave Davenport
524d804663 [Doc] Update rofi-keys manpage with unset section 2022-10-11 09:19:35 +02:00
lbonn
e861df39f2 Wayland: fix wayland-only build 2022-10-06 15:58:32 +02:00
lbonn
d44b81e778 Merge remote-tracking branch 'upstream/next' into wayland 2022-10-05 18:49:54 +02:00
lbonn
ce950c2ad8 Wayland: Fix incomplete merge/refactor of xcb display 2022-10-05 18:42:54 +02:00
lbonn
d19e8cfe10 Reformat xcb/display.c
To match xcb.c upstream (954fc728b2)
2022-10-05 18:18:35 +02:00
lbonn
98bae3b128 Set -dev version 2022-10-05 17:59:10 +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
Quentin Glidic
95fe682939
gitmodules: Update libnkutils
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2022-10-03 18:00:04 +02:00
Dave Davenport
35d066efe2 [Script] Split mode string only once on :, allowing : in right part.
Issue: #1718
2022-10-03 16:58:45 +02:00
Quentin Glidic
5a979b0afe
gitmodules: Update libnkutils
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2022-10-03 13:19:58 +02:00
Quentin Glidic
1f7be5ada5
submodules: Update libgwater
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2022-10-03 13:19:53 +02:00
lbonn
fee3c43751 [Build] Fix update-manpage in release tarballs 2022-09-28 11:56:24 +02:00
Dave Davenport
08bd2f2c69 Merge remote-tracking branch 'github/next' into next 2022-09-25 21:46:36 +02:00
Dave Davenport
5185895643 [window] Check bitmask, not full comparison 2022-09-25 21:45:51 +02:00
a1346054
362e3cd6ff
Use command -v instead of which (#1704)
`command -v` is the standardized version of `which`
2022-09-19 17:06:14 +02:00