I want to use anyrun --plugins libstdin.so instead of dmenu (or wofi, rofi etc.).
But now, anyrun first uses max_entries in stdin.ron and then uses max_entries in config.ron. If input lines are more than max_entries, it will only keep max_entries items.
Example
I write a python script to print n number, each number in a line.
import sys
if len(sys.argv) != 2:
raise Error("Need one number n")
n = int(sys.argv[1])
for i in range(n):
print(i)
Expected
Using python test.py 50 | wofi --dmenu, the screenshot is
But using anyrun
I set max_entries to None in config.ron and max_entries to 100 in stdin.ron.
After python test.py 50 | anyrun --plugins libstdin.so, the result is
The list is out of the screen. When I move down, the cursor will move out of the screen and there is no slide bar.
I don't know why anyrun can't show a ListBox properly.
I want to use
anyrun --plugins libstdin.so
instead ofdmenu
(orwofi
,rofi
etc.).But now,
anyrun
first usesmax_entries
instdin.ron
and then usesmax_entries
inconfig.ron
. If input lines are more thanmax_entries
, it will only keepmax_entries
items.Example
I write a python script to print
n
number, each number in a line.Expected
Using![screenshot_20231109_183507](https://github.com/Kirottu/anyrun/assets/11555462/3da73c08-f669-4696-bf9a-d6f71c018ba2)
python test.py 50 | wofi --dmenu
, the screenshot isBut using
anyrun
I set![screenshot_20231109_183307](https://github.com/Kirottu/anyrun/assets/11555462/97626e93-bbf8-4125-a990-e527a0c972c4)
max_entries
toNone
inconfig.ron
andmax_entries
to100
instdin.ron
. Afterpython test.py 50 | anyrun --plugins libstdin.so
, the result isThe list is out of the screen. When I move down, the cursor will move out of the screen and there is no slide bar. I don't know why
anyrun
can't show aListBox
properly.