From 3fce09fdf6855b8d3658618782a38bffa36c3939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Sat, 26 Oct 2024 18:19:50 +0200 Subject: [PATCH] fix(river): do not turn off display when closing lid --- modules/programs/river/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'"; };