You are not logged in.
If anybody is interested, I made a fork of dmenu.
Its in AUR https://aur.archlinux.org/packages/dmenu2/
It contains i guess all possible paches (x,y, width,height, xft, etc.) and have some extended finctionality.
Now you can:
- select screen on which dmenu appears while in the multi-screen configuration
- change dmenu opacity
- change dmenu window class and name
- dim screen by selected opacity and color, when running dmenu
Work still in progress
Last edited by melek (2013-02-26 13:31:52)
Offline
I don't think calling it dmenu2 is a good idea. It sounds like it's a new version from suckless.
Something like dmenu-extended or similar seems much more appropriate.
Offline
Iif you say so...
I thought of it like the same idea as mplayer and mplayer2.
Maybe I shouldn't call it like that, but still I don't see too many cons.
Last edited by melek (2013-02-26 16:36:31)
Offline
I might try it with i3.Thanks.
Offline
It's your fork, you can name it anything you like (as long dmenu's licence allows it), but IMHO if it gains in popularity, people might get confused.
On the other hand, mplayer2 example makes perfect sense.
Offline
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?
Offline
Nice thanks, will try it as soon as I get home!
Offline
*edit* solved
Last edited by Rasi (2013-09-30 20:44:25)
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
*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...
Offline
would you add the fuzzy patch from here:
http://lists.suckless.org/dev/1209/12505.html
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Package updated:
- Implemented masked input, ignoring stdin (for password input)
- Supported xdb resource for opacity
- Fixed compilation without xinerama support
- Added "fuzzy" matching
If anything goes wrong, give me feedback!
Offline
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!
Offline
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
Offline
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!
Offline
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
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
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.
Last edited by AnSnarkista (2014-01-28 00:21:41)
Offline
@melek
Great additions that you add to dmenu2!
How about adding support for aliases?
You can take this code as an example:
Offline