Rofi version 1.0.0-devel
( well not sure about version because I installed it from AUR :aur/rofi-git 0.15.12.r259.gb13bff6-1 [installed: 0.15.12.r264.gabe4447-1)
When running with rofi -show combi -modi "combi" any command with arguments doesn't start. But using standard run mode rofi -show run -modi "run" arguments are transmited correctly to program.
Note : running a command with arguments in show -run with history enabled, makes that record work in combi after that. Example :
rofi -show run -modi "run" and type a command with argument "google-chrome-stable google.com"rofi -show combi -modi "combi" and I select recorded command "google-chrome-stable google.com" command from history, it works.[Side note: AUR versionning for -git packages is roughly git describe --tags --always with a sed. We now use that (without the sed) in master, so the AUR rofi-git version is as valuable as rofi -v.]
Could you test with current master and if it doesn鈥檛 work, with wip/sn-launcher branch?
This is no bug.
How should 'combi' mode know what mode can handle the request if nothing is selected?
Try doing: "!r firefox http://rofiisthebest.com/" in combi mode, this tells it to use run.
Hi Dave, what do you been by "nothing is selected ? I always select an entry before typing arguments (or I select an entry generated by history)
I mean that nothing is selected.
moment you hit enter, nothing is select. that something was before is irrelevant.
hum ok I think I understand now, in run mode if a type a command and then a space and some argument, the last match disapears but rofi know to use the run mode on that command, but in combi mode, without history, it doesn't remember I selected a command from run mode when typing a space and an argument, is that the point ?
As well the tip with !r doesn't change anything in combi because as you said, as soon as a start the arguments, the completed command disapears.
Then couldn't this be a feature to remember the last completed command before typing an argument ?
The !r tells combi to launch it with run.. This works for me with V1.0-RC1
yes it works if we type command entirely, but when I autocomplete the command (what I do 99% of the time) the !r is removed.
hmm interresting.. could look at fixing that. Good idea.
Make auto-complete insert the !
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.
Most helpful comment
This is no bug.
How should 'combi' mode know what mode can handle the request if nothing is selected?
Try doing: "!r firefox http://rofiisthebest.com/" in combi mode, this tells it to use run.