You are not logged in.
An extremely simple dialogue interface with the original intention of being a launcher, but it could feasibly be used in other ways.
Offline
Glancing over it quickly, is it just me or is does this effectively work like a supercharged dmenu?
Looks good, except for issue 17. OTOH I don't actually need to input non-ascii characters but I do want to include non-ascii characters in the results list. Is that currently supported properly?
Edit: looks like it is -- providing, of course, that the font in question includes the specified glyph.
EDIT2: trying to do some basic multi-result stuff. The following modification to ~/.config/lighthouse/cmd does not work as expected and I don't understand why:
#!/usr/bin/env bash
while read L; do
echo "{░▒▓█ $L █▓▒░|$L}"
SUBBED=$(echo "$L" | sed s/f/z/g)
echo "{░▒▓ $SUBBED ▓▒░|$SUBBED}"
done
My understanding was that, for example, if I type 'fff', this should show two results, 'fff' and 'zzz' (if you ignore the unicode characters). However, one result is what is actually shown -- 'zzz'.
EDIT3: It seems that the correct way to do the above is with both results on the same line.
EDIT4: I found a bug relating to working directory of child process and have filed it (issue #20)
Last edited by likytau (2015-02-03 03:17:02)
Offline
the original intention was to replicate OS X's spotlight in a far more unix-y fashion. Ended up looking a lot like a more featureful dmenu
nice catch on behavior in different directories. I pushed a fix
Issue 17 has been causing me a lot of trouble. I am not sure the best way to handle keyboard state with xcb and there is little documentation.
Offline
Yeah, I'm afraid I don't have much experience with xcb interaction myself either.
Currently, I am hopeful that I'll be able to use this instead of dmenu for most things. Once it's more robust for large numbers of results (cf. issue #21 , and a related bug that I haven't figured out a simple reproduction recipe for yet), I will definitely do so -- the ability to use unicode characters and images is a great boost to usability.
Offline
This looks very nice! The cmd.py script which is provided with the package crashed for me, complaining about the lack of the "pygoogle" module. As I don't want my launcher to access Google anyway, I just deleted everything google-related from cmd.py. Now it works. (It fails to grab the window focus though, but that may be due to some bug in my WM configuration.)
One downside of the provided cmd.py script compared to dmenu for me: It doesn't seem to compare input to $PATH in order to check for invalid commands, which could be used to indicate typos.
Offline
looks really nice but how can I change the order of results?
If I type in mpv I get in this order
run 'mpv' in a shell
/path/to/.config/mpv
mpv
execute 'mpv'
I have to use the arrow keys to go down to the 3rd option when I would like it to be the first in the list
the same happens for other apps like, geany or firefox
so at the moment I am typing exec mpv
Is there a quicker way?
Last edited by chickenPie4tea (2015-03-14 16:11:52)
You can like linux without becoming a fanatic!
Offline
so at the moment I am typing exec mpv
Is there a quicker way?
Shouldn't 'e mpv' work? Or is there an 'e' in the name of your home directory so it picks that first?
On a different subject, I'm still experiencing the occasional segfault with lighthouse, always after deleting a character. This is on git 1fd7793. I've just upgraded to 8ec5af1 but from the look of the commit log, it's unlikely to change anything.
Just posting this in case anyone else has encountered it.
Offline
@likytau no 'e mpv' doesn't work so still using exec, Have tried putting a . in front was hoping there was a shorter way or that apps would just be first in the list by default instead of running it in a shell or the path to it's config, seems strange to me but maybe it's just working like that on my system?
You can like linux without becoming a fanatic!
Offline