Closed 8carlosf closed 7 years ago
the problem mostly is that the width of an entry is variable, and therefor the number of elements that are visible. This makes scrolling/paginating more complex and less predictable for the user.
Given that I find the horizontal view unpleasant (partially because of above reasons) I never made a proper implementation. Patch is welcome though.
I understand that, but the thing is, I like dmenu using just a line on the top, on top of my i3bar (or lemonbar, or other bar) and not more than that.. it isn't a problem for me, because I use dmenu/rofi only to launch new apps, and I almost don't look at it. anyway, if I was to do a patch, you have implemented almost everything that is needed, we have columns, and '...' when the command is to long, we just need to use it all in one line.. We divide the row in X columns, add a new -inline N arg, N being how many columns of the X are used for the command and not to show the options.. and thats it.. can you help me look into that? I mean, I'm not familiar with the code base, this may be harder than I think..
all is there except for the input area not being in the same line...
rofi -lines 1 -show run -columns 20 -width 100% -location 2 -disable-history
:+1: for this feature, I really miss truly one-liner rofi
I agree, I also wish this feature.
Consider this another vote for it. In fact, i'd assumed that's what the dmenu mode did.
You know what they say about the parental relation of assumptions.
Agreed with suggestion, would also love to have this!
Some work on this has been done:
It will probably be part of the 1.5 release.
That looks fantastic! Thank you!
Aw, that's the only thing that's preventing me to drop dmenu for the time being. The closest I got was to run it with rofi -show run -location 1 -width 100 -lines 1 -columns 20
, though it still takes two lines and I can't use arrow keys to scroll the results which I was used to from dmenu.
Unless I'm missing something looking forward to implement it for the same reason stated above! (using it in pace of the title menu on i3)!
A first rough implementation in git branch barview
Using the following theme: https://filebin.pw/qHc8/
really happy that my suggestion is looking so good :) great work! I have simpler ones to make, when I get the time..
This is now merged to master.
Description on how to use will be posted later.
@DaveDavenport any chance you could point me to that description?
There is an example theme shipped with rofi: https://github.com/DaveDavenport/rofi/blob/next/themes/dmenu.rasi
if you set layout: horizontal; on the listview, it goes into barview mode.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Is it possible to use rofi as dmenu with 0 lines.. having
run:
in the same line as the options. If not, can we make it happen? I can try to code it if someone points me in the right direction..Thanks