diff options
-rw-r--r-- | lumina-desktop/LSession.cpp | 8 | ||||
-rw-r--r-- | lumina-desktop/lumina-desktop.pro | 6 |
2 files changed, 9 insertions, 5 deletions
diff --git a/lumina-desktop/LSession.cpp b/lumina-desktop/LSession.cpp index fb99ef27..bd7d49fb 100644 --- a/lumina-desktop/LSession.cpp +++ b/lumina-desktop/LSession.cpp @@ -80,8 +80,8 @@ void LSession::setupSession(){ //Now setup the system watcher for changes qDebug() << " - Initialize file system watcher"; watcher = new QFileSystemWatcher(this); - watcher->addPath( QDir::homePath()+"/.lumina/stylesheet.qss" ); - //watcher->addPath( QDir::homePath()+"/.lumina/LuminaDE/desktopsettings.conf" ); + //watcher->addPath( QDir::homePath()+"/.lumina/stylesheet.qss" ); + watcher->addPath( QDir::homePath()+"/.lumina/LuminaDE/desktopsettings.conf" ); watcher->addPath( QDir::homePath()+"/.lumina/fluxbox-init" ); watcher->addPath( QDir::homePath()+"/.lumina/fluxbox-keys" ); @@ -185,8 +185,8 @@ void LSession::checkUserFiles(){ qDebug() << "Copying default fluxbox configuration files"; if(QFile::exists(dset+"fluxbox-init")){ QFile::remove(dset+"fluxbox-init"); } if(QFile::exists(dset+"fluxbox-keys")){ QFile::remove(dset+"fluxbox-keys"); } - QFile::copy(":/fluxboxconf/fluxbox-init-rc", dset+"fluxbox-init"); - QFile::copy(":/fluxboxconf/fluxbox-keys", dset+"fluxbox-keys"); + QFile::copy(LOS::LuminaShare()+"fluxbox-init-rc", dset+"fluxbox-init"); + QFile::copy(LOS::LuminaShare()+"fluxbox-keys", dset+"fluxbox-keys"); QFile::setPermissions(dset+"fluxbox-init", QFile::ReadOwner | QFile::WriteOwner | QFile::ReadUser | QFile::ReadOther | QFile::ReadGroup); QFile::setPermissions(dset+"fluxbox-keys", QFile::ReadOwner | QFile::WriteOwner | QFile::ReadUser | QFile::ReadOther | QFile::ReadGroup); } diff --git a/lumina-desktop/lumina-desktop.pro b/lumina-desktop/lumina-desktop.pro index 708e2046..b30d8a68 100644 --- a/lumina-desktop/lumina-desktop.pro +++ b/lumina-desktop/lumina-desktop.pro @@ -107,6 +107,10 @@ wallpapers.files = wallpapers/Lumina_Wispy_gold_1920x1080.jpg \ wallpapers/Lumina_Wispy_red_1920x1080.jpg wallpapers.path = $$PREFIX/share/wallpapers/Lumina-DE +fluxconf.files = fluxboxconf/fluxbox-init-rc \ + fluxboxconf/fluxbox-keys +fluxconf.path = $$PREFIX/share/Lumina-DE/ + defaults.files = defaults/desktop-background.jpg \ defaults/defaultapps.conf \ defaults/desktopsettings.conf \ @@ -181,4 +185,4 @@ TRANSLATIONS = i18n/lumina-desktop_af.ts \ dotrans.path=$$PREFIX/share/Lumina-DE/i18n/ dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$$PREFIX/share/Lumina-DE/i18n/ -INSTALLS += target desktop icons wallpapers defaults dotrans +INSTALLS += target desktop icons wallpapers defaults fluxconf dotrans |