FvwmBacker in 2.0.45 only does Unix commands. The following micro-patch makes
it able to invoke arbitrary fvwm commands (including functions):
*** FvwmBacker.c.orig Thu Jul 24 12:30:39 1997
--- FvwmBacker.c Thu Jul 24 12:34:41 1997
***************
*** 248,254 ****
}
else if(commands[body[0]].cmdStr != NULL)
{
! system(commands[body[0]].cmdStr);
}
}
}
--- 248,254 ----
}
else if(commands[body[0]].cmdStr != NULL)
{
! SendFvwmPipe(commands[body[0]].cmdStr, (unsigned long)0);
}
}
}
As you can see the change is only one line, the code to send commands to fvwm
was already in there! The man page should be changed too but that is left as an
exercise for the reader! (you need to add Exec in front of any old commands).
Does anyone have any objections to this. I find it useful as I can now make the
window border colours change on different desks.
Cheers,
Timbo.
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Jul 24 1997 - 08:31:31 BST