On Tue, Sep 25, 2007 at 02:20:36PM +0200, Jan Christoph Ebersbach wrote: > On Tue 25-09-2007 11:41, WyrmSkull wrote: > > > What about having some default bash scripts keybinding? MODKEY | > > ShiftMask, XK_(F1 to F10), spawn, "exec bash_script_(01 to 10).sh" > > 0 byte files don't take too much space, 0 LOC, and can be edited > > runtime. > > > > You can add "edit_keybind_(F1 to F10)" dmenu entries and a "change > > theme" one. > > > > I think that DWM is ready to face those problems. You just need the > > right external tools. > > I use dwm the same way. An external script gives enough flexibility to > quickly adjust the executed commands. > > Every other setting can just be changed by restarting dwm. The bad thing > about it is that all windows lose their tag, maximized state and > floating/tiled mode :-/ Instead of using Xresources, dwm could solve > this issue by saving the state in the window's Xproperty.
I implemented tag/floating state preservation as prototype shortly before dwm 4.4 appeared. However it made the code too complex for my taste for a rarely used functionality. I prefer using hibernation technologies instead of restarting dwm. And once your setup settled there is no need to restart dwm anyways. Regards, -- Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361