Skip to content

[Lua | Bug]: lua_state.colors is absent #1840

Description

@zeerayne

Description

.local/share/hypr/lua/dynamic.lua require lua_state.colors to proceed, but is absent in $XDG_STATE_HOME/hyde/lua_state

.local/share/hypr/lua/dynamic.lua

local color = check_require("lua_state.colors") or {}

if next(color) then
	hl.config(
	...
        )
else
	local message = "[HyDE] Hyprland does not detect colors! Run: hyde-shell reload"
	hl.exec_cmd("hyprctl seterror 'rgba(c79bf0ff)' " .. message)
end

Steps to Reproduce

  1. Install HyDE from development branch
  2. Reboot

Expected Behavior

I expect lua_state/colors.lua to be create on HyDE theme/wallpaper change

Actual Behavior

As shown on screenshot there is no colors.lua created

Screenshots

Image

Environment

Hyprland 0.56.1 built from branch v0.56.1 at commit 5c9377c15f85c50648f35ca5a213754f95b93ca0 clean (version: bump to 0.56.1).
Date: Mon Jul 27 16:33:49 2026
Tag: v0.56.1, commits: 7643

Libraries:
Hyprgraphics: built against 0.5.1, system has 0.5.1
Hyprutils: built against 0.14.0, system has 0.14.0
Hyprcursor: built against 0.1.13, system has 0.1.13
Hyprlang: built against 0.6.8, system has 0.6.8
Aquamarine: built against 0.14.0, system has 0.14.0

Version ABI string: 5c9377c15f85c50648f35ca5a213754f95b93ca0_aq_0.14_hu_0.14_hg_0.5_hc_0.1_hlg_0.6
no flags were set

System Information:
System name: Linux
Node name: nebuchadnezzar
Release: 7.1.5-1-cachyos
Version: #1 SMP PREEMPT_DYNAMIC Mon, 27 Jul 2026 14:05:40 +0000

Libraries:
Hyprgraphics: built against 0.5.1, system has 0.5.1
Hyprutils: built against 0.14.0, system has 0.14.0
Hyprcursor: built against 0.1.13, system has 0.1.13
Hyprlang: built against 0.6.8, system has 0.6.8
Aquamarine: built against 0.14.0, system has 0.14.0

GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1636] (rev c7) (prog-if 00 [VGA controller])

os-release: NAME="CachyOS Linux"
PRETTY_NAME="CachyOS"
ID=cachyos
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://cachyos.org/"
DOCUMENTATION_URL="https://wiki.cachyos.org/"
SUPPORT_URL="https://discuss.cachyos.org/"
BUG_REPORT_URL="https://github.com/cachyos"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=cachyos

plugins:

Explicit sync: supported
GL ver: 3.2
Backend: drm

Monitor info:
Panel eDP-1: 1920x1080, eDP-1 Chimei Innolux Corporation 0x1604 -> backend drm
explicit ✔️
edid:
hdr ❌
chroma ✔️
bt2020 ❌
vrr capable ❌
non-desktop ❌

State:

configProvider: lua
backend: drm

======Config-Start======
Not supported under lua
======Config-End========

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions