fix(river): do not turn off display when closing lid
parent
d257605202
commit
3fce09fdf6
|
@ -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'";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue