welcome: skip in safe mode
This commit is contained in:
parent
7a566942d5
commit
a1e62dcb12
1 changed files with 6 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include "WelcomeManager.hpp"
|
||||
#include "../Compositor.hpp"
|
||||
#include "../debug/log/Logger.hpp"
|
||||
#include "../config/ConfigValue.hpp"
|
||||
#include "../helpers/fs/FsUtils.hpp"
|
||||
|
|
@ -15,6 +16,11 @@ CWelcomeManager::CWelcomeManager() {
|
|||
return;
|
||||
}
|
||||
|
||||
if (g_pCompositor->m_safeMode) {
|
||||
Log::logger->log(Log::DEBUG, "[welcome] skipping, safe mode");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!NFsUtils::executableExistsInPath("hyprland-welcome")) {
|
||||
Log::logger->log(Log::DEBUG, "[welcome] skipping, no welcome app");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue