From 2e616226fe91a6a85168bf52d05c988cefe57dce Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sat, 3 Dec 2005 09:48:32 +0000 Subject: added random and aspect options for background, thanks mitz --- src/RootTheme.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/RootTheme.cc b/src/RootTheme.cc index dea61cf..7f214a9 100644 --- a/src/RootTheme.cc +++ b/src/RootTheme.cc @@ -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; -- cgit v0.11.2