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

This commit is contained in:
Moritz Böhme 2024-10-26 18:19:50 +02:00
parent d257605202
commit 3fce09fdf6
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -61,7 +61,7 @@ in
];
map-switch.normal.lid = {
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'";
};