aboutsummaryrefslogtreecommitdiff
path: root/wallust/templates/niri
diff options
context:
space:
mode:
authoreric.marin <maarin.eric@gmail.com>2025-03-10 08:21:36 +0100
committereric.marin <maarin.eric@gmail.com>2025-03-10 08:21:36 +0100
commitf4d45b1821ffd69361d0266247535e95c8552f1b (patch)
treeb4da3faa9ad14e58b193ab2c1385e8e441da0221 /wallust/templates/niri
parent2fc4260287471e5fb985411ea3f60d6eb0a854dc (diff)
downloaddotfiles-f4d45b1821ffd69361d0266247535e95c8552f1b.tar.gz
dotfiles-f4d45b1821ffd69361d0266247535e95c8552f1b.zip
changed nvim dashboard
Diffstat (limited to '')
-rw-r--r--wallust/templates/niri5
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; }