On Thu, May 22, 2008 at 08:17:47PM +0200, Antoni Grzymala wrote:
> Anselm R. Garbe dixit (2008-05-17, 16:05):
>
> > - removed reapply()
>
> [...]
>
> > Let me know how welcome do you feel about those changes. Bug
> > reports are also welcome.
>
> I'm not sure removing reapply() and forcing people to restart dwm is a
> neat idea for those using logon managers. Quitting dwm ends my Xsession,
> kills the X clients and takes me back to xdm.
>
> Perhaps I'm missing something, if so, please clarify.
You can put a loop in .xinitrc that restarts dwm automatically.
I have:
while true
do
echo "temp $((`sysctl -n hw.acpi.thermal.tz0.temperature`/10-273))°C batt `sysctl -n hw.acpi.battery.life`%"
sleep 1
done | while true; do
dwm
done
which works fine with xdm.
Cheers,
Johannes
Received on Thu May 22 2008 - 20:34:03 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:43:42 UTC