diff options
author | vaxerski <[email protected]> | 2024-09-18 11:22:07 +0100 |
---|---|---|
committer | vaxerski <[email protected]> | 2024-09-18 11:22:12 +0100 |
commit | 883d01084c52fdc5da0e6bfff7fd0f5cf0f62352 (patch) | |
tree | ea5dceace3b731fe437eecbd87c64947906abfab /src/config/ConfigManager.cpp | |
parent | 0564b46a5e9afbf2fb51a7198452342e43ba4637 (diff) | |
download | Hyprland-883d01084c52fdc5da0e6bfff7fd0f5cf0f62352.tar.gz Hyprland-883d01084c52fdc5da0e6bfff7fd0f5cf0f62352.zip |
userchecks: add an xdg_current_desktop check
ref https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/251
if the XDG_CURRENT_DESKTOP is externally managed (e.g. DE, DM, etc) Hyprland will not overwrite it. In those cases, if that's undesired, portals and other apps depending on it might break.
Diffstat (limited to 'src/config/ConfigManager.cpp')
-rw-r--r-- | src/config/ConfigManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 57cd2350..27e8fdb0 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -371,6 +371,7 @@ CConfigManager::CConfigManager() { m_pConfig->addConfigValue("misc:initial_workspace_tracking", Hyprlang::INT{1}); m_pConfig->addConfigValue("misc:middle_click_paste", Hyprlang::INT{1}); m_pConfig->addConfigValue("misc:render_unfocused_fps", Hyprlang::INT{15}); + m_pConfig->addConfigValue("misc:disable_xdg_env_checks", Hyprlang::INT{0}); m_pConfig->addConfigValue("group:insert_after_current", Hyprlang::INT{1}); m_pConfig->addConfigValue("group:focus_removed_window", Hyprlang::INT{1}); |