added random and aspect options for background, thanks mitz

This commit is contained in:
fluxgen 2005-12-03 09:48:32 +00:00
parent 7de6a40c46
commit 2e616226fe

View file

@ -202,7 +202,11 @@ void RootTheme::reconfigTheme() {
options += "-t ";
if (strstr(m_background->options().c_str(), "centered") != 0)
options += "-c ";
if (strstr(m_background->options().c_str(), "random") != 0)
options += "-r ";
if (strstr(m_background->options.c_str(), "aspect") != 0)
options += "-a ";
// compose wallpaper application "fbsetbg" with argumetns
std::string commandargs = "fbsetbg " + options + " " + filename;