aboutsummaryrefslogtreecommitdiff
path: root/src/RootTheme.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2005-12-03 09:48:32 (GMT)
committerfluxgen <fluxgen>2005-12-03 09:48:32 (GMT)
commit2e616226fe91a6a85168bf52d05c988cefe57dce (patch)
tree412a107439ebcfa56149912a9adecb38c6288648 /src/RootTheme.cc
parent7de6a40c46242fd18f8a1feff12c7a446ea05326 (diff)
downloadfluxbox-2e616226fe91a6a85168bf52d05c988cefe57dce.zip
fluxbox-2e616226fe91a6a85168bf52d05c988cefe57dce.tar.bz2
added random and aspect options for background, thanks mitz
Diffstat (limited to 'src/RootTheme.cc')
-rw-r--r--src/RootTheme.cc6
1 files changed, 5 insertions, 1 deletions
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() {
202 options += "-t "; 202 options += "-t ";
203 if (strstr(m_background->options().c_str(), "centered") != 0) 203 if (strstr(m_background->options().c_str(), "centered") != 0)
204 options += "-c "; 204 options += "-c ";
205 205 if (strstr(m_background->options().c_str(), "random") != 0)
206 options += "-r ";
207 if (strstr(m_background->options.c_str(), "aspect") != 0)
208 options += "-a ";
209
206 // compose wallpaper application "fbsetbg" with argumetns 210 // compose wallpaper application "fbsetbg" with argumetns
207 std::string commandargs = "fbsetbg " + options + " " + filename; 211 std::string commandargs = "fbsetbg " + options + " " + filename;
208 212