THANK YOU !!!! Your solution is perfect for my needs !
I wrote a little tuto (in french) here [1]. [1] http://www.julienpecqueur.com/wordpress/2010/01/avoir-un-sys-tray-dans-dwm/ Le lundi 04 janvier 2010 à 04:18:11, Anders Andersson a écrit : > > I have a suggestion for DWM. I use DWM for about months and i miss one > > functionality : a trayer (a zone for icons in the status bar to reduce > > applications like xchat or to have icons for applications like gmixer, > > batterymon, wicd-client) in the status bar! > > I've tried to use some apps to have a trayer (bmpanel and other panels with > > tray) but it's not fine and i haven't find a trayer app which runs like > > conky (in background of others clients). > > > > Is it planned to implement this in DWM? If not, do you have a solution for > > me? > > There are none, I hacked fbpanel, works like a charm. I randomly added > this line: > gdk_window_set_override_redirect(p->topgwin->window, TRUE); > before the "gtk_widget_show_all(p->topgwin);" > > And then I made sure that the dwm statusbar is always at least N pixels: > > - bh = dc.h = dc.font.height + 2; > + bh = dc.h = MAX(dc.font.height + 2, barheight); > > (set barheight to 24 oslt) > > // pipe > -- Julien Pecqueur (JPEC) Site: http://julienpecqueur.com Email: j...@julienpecqueur.com PGP: B1AA2389 (GNUPG) IRC: jpec (irc.freenode.net) Powered by Archlinux - Keep it simple stupid !
pgpzv9XcgOkbN.pgp
Description: PGP signature