gnoblin.snapshot
Return a copy of the configuration assembled so far. Changing the copy does not change Gnoblin's config. Snapshot section and field names use the internal hyphenated form, and named shortcuts and autostart entries are lists. For example, inspect the pointer-location setting:
lua
local settings = gnoblin.snapshot()
print(settings.compositor["locate-pointer"])Use this to inspect earlier settings while a config is loading. For runtime reads, prefer the immutable gnoblin.settings snapshot. For named entries you want to edit or loop over, use gnoblin.configure.shortcuts or gnoblin.configure.autostart. See file loading for evaluation order.
Type definition
lua
local settings = gnoblin.snapshot() -- returns a detached config table