Great additions that you add to dmenu2!
How about adding support for aliases?
You can take this code as an example:
]]>AnSnarkista wrote:Is there any possibility to add like a "History" option, that keeps latest searches and select it? Something like the terminal or gmrun.
Thanks a lot!
There is a script that does that called dmenu_recent that could be adapted to use this version of dmenu.
See https://bbs.archlinux.org/viewtopic.php?id=80145
Thank you a lot! But I haven't found it in the thread. I have gooogle it, and in the main website of dmenu, you have another one which is called run-recent. I'll try it, and comment.
Another thing is that I don't know how to use it....I'll try
EDIT: https://bbs.archlinux.org/viewtopic.php?id=80145&p=3
Comment 57
EDIT 2: Y have adapted the "official" script to my needings, and it works perfectly! Y would like to make it works with dmenu_run, and I think this has to be editing dmenu_run, isn't it? I have no skills in scripting
EDIT 3: I have tried dmenu_recent of that thread, and It is what I was looking for.
]]>Is there any possibility to add like a "History" option, that keeps latest searches and select it? Something like the terminal or gmrun.
Thanks a lot!
There is a script that does that called dmenu_recent that could be adapted to use this version of dmenu.
See https://bbs.archlinux.org/viewtopic.php?id=80145
Thanks a lot!
]]>If anything goes wrong, give me feedback!
Using dmenu2 0.2-1 package from the AUR:
If -z and -i are both specified, doesn't seem to find anything. Would have thought that case insensitive fuzzy search is allowable?
PS: Using -mask and -noinput is great for a 'sudo --askpass' helper!
#!/bin/bash
dmenu -p "$1" -noinput -mask && echo
Package updated:
- Implemented masked input, ignoring stdin (for password input)
- Supported xdb resource for opacity
- Fixed compilation without xinerama support
- Added "fuzzy" matchingIf anything goes wrong, give me feedback!
Thank you for the update; keen to try out but it won't be for a few days as have other things on.
But dmenu2 is one of my favourite packages!
If anything goes wrong, give me feedback!
]]>*edit* solved
Please don't do this. It's incredibly helpful to leave your original post intact and just add an EDIT so that other people may benefit from your solution. Unless it's extremely trivial, but even then...
]]>If anybody is interested, I made a fork of dmenu.
Well worthwhile and very useful indeed!
Quick query: I have one system (with a GeForce4 MX440 AGP video card using the nvidia-96xxdriver, plus an old HP CRT monitor) which doesn't seem to respect the -y offset option, it always puts the menu at the top of the screen. However -x offsets work fine. I don't think I'm doing anything stupid, but maybe there's a valid reason for -y not to work on this old gear?