fix(river): do not turn off display when closing lid
This commit is contained in:
parent
d257605202
commit
3fce09fdf6
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue