[Nix-dev] wmii and xrandr

Marc Weber marco-oweber at gmx.de
Fri Mar 13 01:23:19 CET 2009


On Fri, Mar 13, 2009 at 12:40:13AM +0100, Nicolas Pierron wrote:
> On Fri, Mar 13, 2009 at 00:26, Marc Weber <marco-oweber at gmx.de> wrote:
> >> wmiir xwrite /ctl quit

Hi Nicolas,

maybe patching wmmii is a way.
The patch could make wmii write a /var/run/wmii.pid file.
If the user has killed wmii to change either resolution or rotation you
can loop. If the user has quite wmii piecfully it could remove the pid
file indicating that the loop should be quit as well?

restartWmii(){
  kill `cat /var/run/wmii.pid`
}

I would prefer this because you don't have to remove a file to indicate
normal exits.

Marc Weber



More information about the nix-dev mailing list