You are not logged in.

#1 2013-02-26 13:30:59

melek
Member
Registered: 2011-12-03
Posts: 7

[WIP] dmenu2, the fork of official dmenu with extended functionality.

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 smile

Last edited by melek (2013-02-26 13:31:52)

Offline

#2 2013-02-26 16:16:21

Šaran
Member
From: Bosnia
Registered: 2011-09-03
Posts: 407

Re: [WIP] dmenu2, the fork of official dmenu with extended functionality.

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

#3 2013-02-26 16:23:17

melek
Member
Registered: 2011-12-03
Posts: 7

Re: [WIP] dmenu2, the fork of official dmenu with extended functionality.

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

#4 2013-02-26 16:27:15

10PinkPanther
Member
From: Croatia
Registered: 2012-11-10
Posts: 333

Re: [WIP] dmenu2, the fork of official dmenu with extended functionality.

I might try it with i3.Thanks.

Offline

#5 2013-02-26 16:28:32

Šaran
Member
From: Bosnia
Registered: 2011-09-03
Posts: 407

Re: [WIP] dmenu2, the fork of official dmenu with extended functionality.

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

#6 2013-03-17 22:47:24

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 696
Website

Re: [WIP] dmenu2, the fork of official dmenu with extended functionality.

melek wrote:

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

#7 2013-03-19 01:37:55

miek
Member
Registered: 2012-09-03
Posts: 25
Website

Re: [WIP] dmenu2, the fork of official dmenu with extended functionality.

Nice thanks, will try it as soon as I get home!

Offline

#8 2013-09-30 20:43:56

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,860
Website

Re: [WIP] dmenu2, the fork of official dmenu with extended functionality.

*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

#9 2013-09-30 21:59:44

cris9288
Member
Registered: 2013-01-07
Posts: 347

Re: [WIP] dmenu2, the fork of official dmenu with extended functionality.

Rasi wrote:

*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

#10 2013-11-09 16:50:41

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,860
Website

Re: [WIP] dmenu2, the fork of official dmenu with extended functionality.

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

#11 2013-11-26 09:18:58

melek
Member
Registered: 2011-12-03
Posts: 7

Re: [WIP] dmenu2, the fork of official dmenu with extended functionality.

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! smile

Offline

#12 2013-11-26 10:22:49

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 696
Website

Re: [WIP] dmenu2, the fork of official dmenu with extended functionality.

melek wrote:

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! smile

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!
wink

Offline

#13 2013-12-08 23:06:31

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 696
Website

Re: [WIP] dmenu2, the fork of official dmenu with extended functionality.

melek wrote:

If anything goes wrong, give me feedback! smile

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

wink

Offline

#14 2014-01-23 21:12:12

AnSnarkista
Member
Registered: 2013-04-17
Posts: 14

Re: [WIP] dmenu2, the fork of official dmenu with extended functionality.

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

#15 2014-01-24 13:04:38

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,841

Re: [WIP] dmenu2, the fork of official dmenu with extended functionality.

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


"...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

#16 2014-01-27 22:11:08

AnSnarkista
Member
Registered: 2013-04-17
Posts: 14

Re: [WIP] dmenu2, the fork of official dmenu with extended functionality.

skanky wrote:
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

#17 2014-06-03 07:02:26

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [WIP] dmenu2, the fork of official dmenu with extended functionality.

@melek

Great additions that you add to dmenu2!

How about adding support for aliases?

You can take this code as an example:

https://aur.archlinux.org/packages/dmenu-aliases/

Offline

Board footer

Powered by FluxBB