From f4d45b1821ffd69361d0266247535e95c8552f1b Mon Sep 17 00:00:00 2001 From: "eric.marin" Date: Mon, 10 Mar 2025 08:21:36 +0100 Subject: changed nvim dashboard --- wallust/templates/niri | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'wallust/templates/niri') diff --git a/wallust/templates/niri b/wallust/templates/niri index bc540d8..76d045a 100644 --- a/wallust/templates/niri +++ b/wallust/templates/niri @@ -115,7 +115,10 @@ window-rule { match app-id="SFML" } -switch-events {} +switch-events { + lid-close { spawn "niri" "msg" "action" "power-off-monitors"; } + lid-open { spawn "niri" "msg" "action" "power-on-monitors"; } +} binds { Mod+Backslash { show-hotkey-overlay; } -- cgit v1.2.3