Commit graph

3832 commits

Author SHA1 Message Date
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
waicool20
fd0ef6bc15 Fix for segfault after updating to KDE 5.26 2022-10-19 02:08:29 +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
Dave Davenport
5ae8fa5a3f [Keyb] Add a -list-keybindings command. 2022-09-18 20:28:38 +02:00
nomoo
0b72ff2a74
Fix sed binary call with variable (#1707)
* Use variable instead of binary name

* Use variable for sed
2022-09-13 22:41:41 +02:00
Dave Davenport
858d6c030c [listview] Add extra checks before resolving pointer.
Issue: #1703
2022-09-10 17:42:49 +02:00
Aleksei Bavshin
8995b575df [Window] window-match-fields support for Wayland window mode
The only supported fields are 'title' and 'app-id' ('class') due to a
Wayland protocol limitations.
2022-09-08 09:16:24 +02:00
Aleksei Bavshin
348df95435 Enable Window mode by default on wayland. 2022-09-08 09:16:24 +02:00
Aleksei Bavshin
f8c97bab98 [Window] Formatting support for Wayland window mode
Use `window-format` to configure lines in the Wayland Window view.
Note that only `{t}` (title) and `{c}` (class) are supported on Wayland.
It is suggested to change the format string to `{c}    {t}`.
2022-09-08 09:16:24 +02:00
Aleksei Bavshin
1e4ef36611 [Window] Initial support for wayland window switcher
The code still lacks a lot of features of XCB Window mode, but at least
following should work:
 - Activate and Delete (close) actions
 - matching by window title
 - live update
 - icon lookup by app_id
2022-09-08 09:16:24 +02:00
Dave Davenport
fce721a105 [Textbox] Add 'placeholder-markup' flag.
Fixes: #1690
2022-08-28 21:47:05 +02:00
Dave Davenport
cb6afae71f [Test][Theme] Update test for downgrade error 2022-08-26 14:12:51 +02:00
Dave Davenport
594c7f2b31 [Theme] If no theme loaded, load default. Downgrade missing theme file to warning.
Issue: #1689
2022-08-26 14:05:16 +02:00
Dave Davenport
0f097f2998 [DMenu] reset variable correctly so keep-selection is initially off.
fixes: #1686
2022-08-24 15:10:58 +02:00
lbonn
9ec86220d5 Fix wayland-only build 2022-08-24 00:45:36 +02:00
lbonn
7adf0be146 Fix CI 2022-08-24 00:36:27 +02:00
lbonn
f792680b48 Merge tag '1.7.5' into wayland 2022-08-24 00:14:11 +02:00
lbonn
4e833a4ec4 Merge tag '1.7.4' into wayland 2022-08-24 00:05:02 +02:00
lbonn
f2e08e7425 wayland: fix some compiler warnings 2022-08-24 00:03:58 +02:00
Dave Davenport
d4b77207dd Update test for # keybindings. 2022-08-22 21:57:29 +02:00
Dave Davenport
09b9e32fd1 Merge remote-tracking branch 'github/next' into next 2022-08-22 21:53:30 +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
Jasper Lievisse Adriaanse
c896cbbca4
Include sys/stat.h for S_IWUSR (#1685) 2022-08-21 20:51:03 +02:00
Dave Davenport
d1e275314e Few more updates to issue template. 2022-08-21 17:27:55 +02:00
Dave Davenport
925fbdf12f Update issue template, split theme/configuration in two fields. 2022-08-21 17:18:56 +02:00
Dave Davenport
f36977dee7 [View] Tweak error message and instant/delayed switching. 2022-08-21 15:52:39 +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
Dave Davenport
d5cd4ca32d [Combi] Fix possible memory leak. 2022-08-21 02:57:16 +02:00
Dave Davenport
bd60a68d1c [combi] Fix selecting entry with only bang as input.
Check for a space or eos.
2022-08-21 02:50:08 +02:00
Dave Davenport
2ea30861d3 [View] Increase default refilter-timeout-limit.
It was tuned for very low-end machine.

Issue: #1683
2022-08-20 14:47:37 +02:00
Dave Davenport
505282c465 Update to dev version. 2022-08-19 22:43:47 +02:00
Dave Davenport
9963df114b 1.7.5 release. 2022-08-19 22:37:43 +02:00
Dave Davenport
5673cf36a4 Update releasenotes 2022-08-19 21:40:16 +02:00
Dave Davenport
89e00ebb32
[Dmenu] Add a minimum update rate for dmenu reading. (#1681)
This avoid slow loading for some weird slow spaced out input stream.
(one input every 250ms).
Not sure what use-case this fixes.
This fix does cause a noticable slow-down on very large lists.

Issue: #1680
2022-08-19 21:35:23 +02:00
Dave Davenport
78d596dc53 Initial releasenotes for 1.7.5 bug-fix release. 2022-08-18 15:13:46 +02:00
Dave Davenport
a22c81c4a9 [DMenu] Strip off delimiter in sync mode.
Fixes: #1679
2022-08-18 10:17:24 +02:00