Re: [dev] How about sta.li ?

2010-08-06 Thread Anselm R Garbe
On 2 August 2010 19:04, pancake wrote: > Dunno about gold. Url? But well... Being c++ i farly prefer to use radare > apis. Which are saner and C. http://google-opensource.blogspot.com/2008/04/gold-google-releases-new-and-improved.html It's part of binutils nowadays: http://sourceware.org/cgi-b

[dev] [patch] add Control-G and Control-D to dmenu

2010-08-06 Thread Daniel Clemente
This adds C-d (delete next char) and C-g (abort) to dmenu. These keys are also used in programs like bash or Emacs. I think this completes the C-something keyboard shortcuts set. -- Daniel diff -r 8e019362118b dmenu.c --- a/dmenu.c Thu Aug 05 15:41:56 2010 +0100 +++ b/dmenu.c Fri Aug 06 11

Re: [dev] [dwm] number of tag limited?

2010-08-06 Thread Donald Allen
On Thu, Aug 5, 2010 at 7:27 PM, TJ Robotham wrote: > On Thu, Aug 05, 2010 at 10:50:13PM +0200, thuban wrote: >> However, I'm surprised that this is not the default use of dwm. It is >> supposed to be suckless, and on my own, I think having "opened tags" >> that are useless (meaning with no window

Re: [dev] [dwm] number of tag limited?

2010-08-06 Thread Donald Allen
On Fri, Aug 6, 2010 at 1:27 AM, thuban wrote: >> >> I just changed the colour scheme in drawbar() so that unoccupied tags >> are invisible (by making the text colour the same as the background). >> This was enough for me, as I was mostly concerned with the visual >> noise of all the unoccupied tag

Re: [dev] [dwm] number of tag limited?

2010-08-06 Thread Connor Lane Smith
Hey, On 6 August 2010 06:27, thuban wrote: > But what do you think to create the tag justs when you move in? I'm > just thinking to the same comportement of wmii. Especially, I would > like to be able to rename tags, and create them as I want (and > automatically remove them when they are no more

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-06 Thread Connor Lane Smith
Hey, On 06/08/2010, Daniel Clemente wrote: > This adds C-d (delete next char) and C-g (abort) to dmenu. These keys are > also used in programs like bash or Emacs. I've added C-d but not C-g, since it seems like an emacsism. Thanks, cls

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-06 Thread Antoni Grzymala
Daniel Clemente dixit (2010-08-06, 03:08): > This adds C-d (delete next char) and C-g (abort) to dmenu. These > keys are also used in programs like bash or Emacs. AFAIR C-g just emits BEL by default in bash (as it used in most old terminals), but yeah, it's probably good to have it, thx. -- [a]

[dev] wrap: minimalist archiving tool

2010-08-06 Thread Connor Lane Smith
Hey all, I've written a tiny archiver, which I've called "wrap" for lack of a better name. It is 120 lines of C, and yields far smaller archives than tar while overcoming the various crippling limitations of ar. It does, however, only store files - subdirectories are implicit. Interestingly during

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-06 Thread Connor Lane Smith
On 06/08/2010, Antoni Grzymala wrote: > AFAIR C-g just emits BEL by default in bash (as it used in most old > terminals), but yeah, it's probably good to have it, thx. dmenu already has C-c to abort, btw. cls

Re: [dev] [dwm] number of tag limited?

2010-08-06 Thread Evan Gates
thuban wrote: > > But what do you think to create the tag justs when you move in? I'm > just thinking to the same comportement of wmii. Especially, I would > like to be able to rename tags, and create them as I want (and > automatically remove them when they are no more used ). > Sure, it must be

Re: [dev] [dwm] number of tag limited?

2010-08-06 Thread Anselm R Garbe
On 5 August 2010 17:43, thuban wrote: > I was wondering too, if sometimes we can need 5 tags, another time, we > could only need 1 tag (if you just want to check your e-mails as > example). So, the other tags aren't useful at this moment. > My question is, could you create tags only if they are ne

Re: [dev] [dwm] number of tag limited?

2010-08-06 Thread thuban
Thanks to everyone for your answers. I think I will try to solve my "problem", more as an exercise than an real goal. The first thing will be to be able to add a tag while running dwm, without restarting. Because, we can define some tag we use the most of the time, but we can't minimize clients if

Re: [dev] [dwm] number of tag limited?

2010-08-06 Thread TJ Robotham
On Fri, Aug 06, 2010 at 08:35:32AM -0400, Donald Allen wrote: > I think you are putting the cart before the horse. How tags are > represented internally is an implementation detail. The first concern > should be the actual behavior of dwm, because that is the software's > primary goal. How it accom

Re: [dev] [dwm] number of tag limited?

2010-08-06 Thread TJ Robotham
On Fri, Aug 06, 2010 at 05:18:47PM +0200, thuban wrote: > but we can't minimize clients if we have too much opened... So how can I use > correctly clients in an overcrowded screen? Well, the main client will always have the full screen height so in principle it should always be usable and the monoc