added random and aspect options for background, thanks mitz
This commit is contained in:
parent
7de6a40c46
commit
2e616226fe
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue