Where Is the Swaynag Config File?
Swaynag nag dialog config lookup order and type sections.
Last updated
Swaynag reads one config with home, XDG and system fallbacks. Long options map to key value lines with INI sections. A config flag forces any path.
Dialog types live in those sections. Stock error and warning plus custom names each carry colors, font and buttons. Keep everything in the single file.
Where Swaynag stores this, by platform
~/.config/swaynag/config
Single config with home, XDG and system fallbacks. Types as sections with colors and buttons inside the same file. Force any path with the config flag.
Frequently asked questions
How do I back up Swaynag?
Copy the config file with no nag visible. Types and buttons travel inside the same file. Restoring means putting it back before triggering the next warning.
Where is the types file?
There is none. Error, warning and custom types are sections inside the main config with per-type colors and buttons. Old type-file guides describe something that does not exist.
Notice an outdated path? Let us know.