added random and aspect options for background, thanks mitz
fluxgen fluxgen
1 files changed,
5 insertions(+),
1 deletions(-)
jump to
M
src/RootTheme.cc
→
src/RootTheme.cc
@@ -202,7 +202,11 @@ if (strstr(m_background->options().c_str(), "tiled") != 0)
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;