session-lock: don't render workspaces when locked (#10865)

Avoid rendering the workspace behind if we are locked
This commit is contained in:
Maximilian Seidler 2025-07-14 13:13:54 +02:00 committed by GitHub
parent d0f58baf29
commit 01971cb6c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 129 additions and 81 deletions

View file

@ -1218,6 +1218,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
.type = CONFIG_OPTION_BOOL,
.data = SConfigOptionDescription::SBoolData{false},
},
SConfigOptionDescription{
.value = "misc:session_lock_xray",
.description = "keep rendering workspaces below your lockscreen",
.type = CONFIG_OPTION_BOOL,
.data = SConfigOptionDescription::SBoolData{false},
},
SConfigOptionDescription{
.value = "misc:background_color",
.description = "change the background color. (requires enabled disable_hyprland_logo)",