Night light is off by default and configured entirely through the menu,
writing into the downstream flake instead of ~/.local/state — so the
choice is git-tracked and reproducible across a clone+rebuild.
Two flags under a new settings.* section of the state file (exposed as
the nomarchy.settings option):
- settings.nightlight.installed — sticky, gates the hyprsunset unit;
nomarchy.nightlight.enable mkDefault-reads it. First enable from the
menu rebuilds to create the unit (the one accepted rebuild).
- settings.nightlight.on — runtime on/off, toggled instantly
(theme-sync set --no-switch + systemctl), no rebuild. An ExecCondition
reads the live flag at session start so an off survives reboot;
splitting it from the sticky flag means a later unrelated rebuild
never undoes an instant-off (no decay).
Drops the ~/.local/state/nomarchy/nightlight-off marker and the
ConditionPathExists hack. theme-sync set now skips the wallpaper
re-apply for non-wallpaper keys, and its rebuild notifications are
generic ("changes" not "theme").
First cut of the broader principle — any user-settable config gets a
menu writer that lands it in the flake; no state outside the checkout.
Docs (README §4, ROADMAP, template) updated to reflect it.
Eval- and round-trip-verified; on-hardware check pending.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
61 lines
1.0 KiB
JSON
61 lines
1.0 KiB
JSON
{
|
|
"version": 1,
|
|
"name": "Tokyo Night",
|
|
"slug": "tokyo-night",
|
|
"mode": "dark",
|
|
"wallpaper": "",
|
|
"colors": {
|
|
"base": "#1a1b26",
|
|
"mantle": "#161720",
|
|
"surface": "#32344a",
|
|
"overlay": "#444b6a",
|
|
"text": "#a9b1d6",
|
|
"subtext": "#787c99",
|
|
"muted": "#444b6a",
|
|
"accent": "#7aa2f7",
|
|
"accentAlt": "#ad8ee6",
|
|
"good": "#9ece6a",
|
|
"warn": "#e0af68",
|
|
"bad": "#f7768e"
|
|
},
|
|
"border": {
|
|
"active": "accent",
|
|
"inactive": "overlay"
|
|
},
|
|
"ansi": [
|
|
"#32344a",
|
|
"#f7768e",
|
|
"#9ece6a",
|
|
"#e0af68",
|
|
"#7aa2f7",
|
|
"#ad8ee6",
|
|
"#449dab",
|
|
"#787c99",
|
|
"#444b6a",
|
|
"#ff7a93",
|
|
"#b9f27c",
|
|
"#ff9e64",
|
|
"#7da6ff",
|
|
"#bb9af7",
|
|
"#0db9d7",
|
|
"#acb0d0"
|
|
],
|
|
"fonts": {
|
|
"mono": "JetBrainsMono Nerd Font",
|
|
"ui": "Inter",
|
|
"size": 11
|
|
},
|
|
"ui": {
|
|
"gapsIn": 5,
|
|
"gapsOut": 12,
|
|
"borderSize": 2,
|
|
"rounding": 10,
|
|
"activeOpacity": 1.0,
|
|
"inactiveOpacity": 0.95,
|
|
"terminalOpacity": 0.96,
|
|
"blur": true,
|
|
"shadow": true
|
|
},
|
|
"settings": {}
|
|
}
|