mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-05-12 23:00:36 +01:00
configmgr: fix CConfigValue<> from plugins
Some checks failed
Build Hyprland / Build Hyprland (Arch) (push) Has been cancelled
Build Hyprland / Build Hyprland with Meson (Arch) (push) Has been cancelled
Build Hyprland / Build Hyprland without precompiled headers (Arch) (push) Has been cancelled
Build Hyprland / Build Hyprland in pure Wayland (Arch) (push) Has been cancelled
Build Hyprland / Code Style (Arch) (push) Has been cancelled
Nix (CI) / update-inputs (push) Has been cancelled
Nix (CI) / build (push) Has been cancelled
Security Checks / Flawfinder Checks (push) Has been cancelled
Some checks failed
Build Hyprland / Build Hyprland (Arch) (push) Has been cancelled
Build Hyprland / Build Hyprland with Meson (Arch) (push) Has been cancelled
Build Hyprland / Build Hyprland without precompiled headers (Arch) (push) Has been cancelled
Build Hyprland / Build Hyprland in pure Wayland (Arch) (push) Has been cancelled
Build Hyprland / Code Style (Arch) (push) Has been cancelled
Nix (CI) / update-inputs (push) Has been cancelled
Nix (CI) / build (push) Has been cancelled
Security Checks / Flawfinder Checks (push) Has been cancelled
This commit is contained in:
parent
77ecf09506
commit
0c736217a7
1 changed files with 3 additions and 0 deletions
|
@ -1640,6 +1640,9 @@ Hyprlang::CConfigValue* CConfigManager::getHyprlangConfigValuePtr(const std::str
|
|||
if (!specialCat.empty())
|
||||
return m_config->getSpecialConfigValuePtr(specialCat.c_str(), name.c_str(), nullptr);
|
||||
|
||||
if (name.starts_with("plugin:"))
|
||||
return m_config->getSpecialConfigValuePtr("plugin", name.substr(7).c_str(), nullptr);
|
||||
|
||||
return m_config->getConfigValuePtr(name.c_str());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue