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

30 commits

Author SHA1 Message Date
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
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
a22c81c4a9 [DMenu] Strip off delimiter in sync mode.
Fixes: #1679
2022-08-18 10:17:24 +02:00
Dave Davenport
7c7fe729e6 [script] #1064 clear view on keep-selection/new-selection.
issue: #1064
2022-07-30 15:17:50 +02:00
Sainnhe Park
28ad6e34cf
[filebrowser] Fix st_atim undefined on macOS (#1662)
When compiling on macOS, an error message will pop up:

```
error: no member named 'st_atim' in 'struct stat'
```

This is because `st_atim`, `st_ctim` and `st_mtim` does not exist on
macOS, instead it uses `st_atimespec`, `st_ctimespec` and
`st_mtimespec`.

In this commit, 3 macros are defined to try to fix this problem.

Reference: https://github.com/hboetes/mg/issues/7
2022-07-28 18:19:39 +02:00
Dave Davenport
952aaae295 [DMenu] Fix completion with multi-select 2022-07-26 22:12:20 +02:00
Dave Davenport
f3064e0fee [Script] Add new-selection option.
Allow you to select an entry (based on view, so might not work in combi
mode).

fixes: #1248
2022-07-24 01:08:24 +02:00
Dave Davenport
d20926abab [window] Add an option to hide active window.
fixes: #1336
2022-07-24 00:52:13 +02:00
Dave Davenport
5a5d333fdf [dmenu] Fix missing - in find_arg 2022-07-23 23:25:37 +02:00
Dave Davenport
be6fe8ac61 [Textbox] Remove the dot indicator.
Weird hack from dmenu that dripped through rofi code-base for multi-select.
Change it so it is just a prefix to the string of ☐ and ☑.
2022-07-23 20:21:00 +02:00
Dave Davenport
0e90fb065f [Build] Fix some compile warnings. 2022-07-23 00:28:55 +02:00
Dave Davenport
daf3127d3a [Script] Add keep-selection flag that keeps the current selection.
Fixes: #1064
2022-07-09 14:12:28 +02:00
Dave Davenport
c6456d2c1b [DMenu] Fix 'loading' overlay. 2022-06-29 16:09:56 +02:00
Dave Davenport
670a2445f4 [Window] Small fix avoiding unneeded icon reloads. 2022-06-28 20:58:11 +02:00
Dave Davenport
ceb2b9d295 [Modes] Support icons off multiple icons. 2022-06-27 20:52:12 +02:00
Dave Davenport
7b234ff44e [Script] Fix stupid typo in memory allocation. 2022-06-13 13:27:07 +02:00
Dave Davenport
40ecfcd1f1 [Script] Print list of user scripts in -h 2022-06-12 17:49:04 +02:00
Dave Davenport
ffa1d11e3c [Script] Look into ~/.config/rofi/scripts/ for user scripts. 2022-06-12 15:22:56 +02:00
Dave Davenport
b676dfe8ad [DMenu|Script] Allow theme element updates from script. 2022-06-06 11:34:49 +02:00
Dave Davenport
3376db96bb [filebrowser] Bind kb-accept-custom-alt to dir up. 2022-05-27 17:24:35 +02:00
Dave Davenport
e9af427b4a [Dmenu] use ssize_t instead of size_t. 2022-05-17 23:37:02 +02:00
Dave Davenport
141bd3d197 [Doc][Config] Update documentation for new fallback icon
* Allow multiple config be combined.
2022-05-12 19:52:35 +02:00
Dave Davenport
9314e75af2 [dmenu] Fix small bug of passing right length. 2022-04-23 23:17:51 +02:00
Dave Davenport
e2a7cfdd52
[DMenu] Huge list speedups (#1621)
* Don´t refilter on each key-press.

* Make sure refiltering is not completely starved.

* Force refilter before accepting entry

* Go into 'timeout' refilter mode only after certain # elements.

* [DMenu] threading with getdelim to speed up reading.

* [View] Remove debug output.

* [dmenu] Fix pre-read.

* [DMenu] Make sure that async mode cannot block

* Remove mutex for IPC via pipes.

* [Dmenu] Small cleanup.

* [Scrollbar] Fix scrollbar overflowing on big lists.

* Fix stack overflow by creating to many filter jobs.

* [Doc] Add new option to manpage
2022-04-20 21:53:44 +02:00
Dave Davenport
9f0a8c9e36 [FileBrowser] Make accept-alt open folder if selected. 2022-04-16 16:25:47 +02:00
Dave Davenport
f088d75ee4 Cleanup some duplicate checks. 2022-03-15 01:00:56 +01:00
Dave Davenport
fe656d2d94 [Script] Fix memory leak. 2022-03-02 22:08:14 +01:00
Dave Davenport
497d18d108 [Script] Support a data option that get passed to next execution.
fixes: #1601
2022-03-02 22:06:04 +01:00
Dave Davenport
534aa6ad54 Rename Dialogs -> Modes
Try to fix some of old syntax.
2022-02-23 23:18:53 +01:00