Hmm... After a look at the source, I think reading from stdin is the smallest solution...
2006/11/22, Enno Gottox Boland <[EMAIL PROTECTED]>:
Hi! I do it the other way: I often select more than one tag. But I never tag a client to more than one tag. I think in my environment this is just faster. In my opinion you can remove toggletag instead of toggleview I use the titlebar in conjunction with screen to let me inform about sth. I don't think removing is a good idea. What about removing reading from stdin and just execute a string defined in config.h? This could also solve some issues if you cannot use pipes. I don't know if it is smaller, but I could try to write a patch. Enno Boland 2006/11/22, Anselm R. Garbe <[EMAIL PROTECTED]>: > Hi there, > > I'd like to know what functions do you really use in dwm, > because I feel, there are features I don't use. After > several months of usage, this might lead to an revision of > features, which could be externalized into patches instead > staying upstream in the default distribution. > > Personnaly, I rarely/never use the following features/functions: > > - titlebars of clients (I really can live without them, I never > look at them), removing titlebars could reduce the source > about 70 lines, maybe more with some restructurings > - viewall/toggleview: (I never view more than one tag per time, > although I use the other way around, tagging some > clients with more than one tag that they appear when > viewing different tags) - I haven't implemented a patch, but > this could make seltag[] obsolet, and at least the functions > I listed here, approx. yet another 50-70 lines > -> instead this feature, I would consider holding > a pertag array for client order instead, to remember the > per-tag layout correctly, this might add yet another 20-30 > lines > > What do you think (I know your opinions about the client title > window already, but what do you think about my second point?) > > If you want to check, how it feels without titlebars, you can > apply my patch for dwm-2.2 (and hg tip): > > http://suckless.org/download/dwm-2.2-notitlebar.patch > > (It removes abot 70 LOC and renames drawtitle into drawclient, > which sould be done anyway). > > Regards, > -- > Anselm R. Garbe >< http://suckless.org/~arg/ >< GPG key: 0D73F361 > > -- http://www.gnuffy.org - Real Community Distro http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)
-- http://www.gnuffy.org - Real Community Distro http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)
