diff --git a/modules/programs/river/default.nix b/modules/programs/river/default.nix index bb17955..7b3692c 100644 --- a/modules/programs/river/default.nix +++ b/modules/programs/river/default.nix @@ -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'"; };