From f0a2bd6eac3adf78c0f8227a99e8be775ddbbd26 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 16 Sep 2026 12:28:55 +0200 Subject: feat(appearance): add the hypridle listener model Parses the general block and comments before the first listener and keeps them verbatim; only timeouts and the enabled flag are editable, commands are copied. Disabled listeners are written commented out, and the parser matches the closing brace at line start so the dpms command's inline brace does not truncate the block. --- appearance/shell.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appearance/shell.qml') diff --git a/appearance/shell.qml b/appearance/shell.qml index 1a6aa75..8519bf6 100644 --- a/appearance/shell.qml +++ b/appearance/shell.qml @@ -20,6 +20,6 @@ ShellRoot { function toggle() { panel.toggle(""); } function wallpaper() { panel.toggle("wallpaper"); } function theme() { panel.toggle("theme"); } - function selftest(): string { return Hyprsunset.selftest(); } + function selftest(): string { return Hyprsunset.selftest() + "\n" + Hypridle.selftest(); } } } -- cgit v1.2.3