diff options
Diffstat (limited to '')
| -rw-r--r-- | wallust/templates/niri | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |
