fix(river): do not turn off display when closing lid

nixos
Moritz Böhme 2024-10-26 18:19:50 +02:00
parent d257605202
commit 3fce09fdf6
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ in
]; ];
map-switch.normal.lid = { map-switch.normal.lid = {
close = '' close = ''
spawn 'wlr-randr --output eDP-1 --off; monitors=$(wlr-randr --json | jq .[].name | count); [ "$monitors" = 1] && loginctl lock-session' spawn 'monitors=$(wlr-randr --json | jq .[].name | count); [ "$monitors" = 1] && loginctl lock-session'
''; '';
open = "spawn 'wlr-randr --output eDP-1 --on'"; open = "spawn 'wlr-randr --output eDP-1 --on'";
}; };