cleaning up some monitor related stuff

This commit is contained in:
Matt Nish-Lapidus 2025-02-07 09:31:51 -05:00
parent 5da6515a4c
commit 2c58c6936d
4 changed files with 342 additions and 27 deletions

View file

@ -170,6 +170,9 @@
open-floating = true; }
];
# TODO write scripts to manage lid/sleep states using the output from loginctl session
switch-events = with config.lib.niri.actions; {
lid-close.action = spawn "niri msg output eDP-1 off && shikanectl switch desk-clam";
lid-open.action = spawn "niri msg output eDP-1 on";