From 534930c9bfd965d106b84ec14af1c2ec20b7b855 Mon Sep 17 00:00:00 2001 From: Thierry Schork Date: Wed, 11 Feb 2026 00:54:20 +0100 Subject: [PATCH] suspending the laptop when no external screen is connected and lid is closed --- bin/lid_close.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/lid_close.sh b/bin/lid_close.sh index 43f0c72..2d64bdb 100755 --- a/bin/lid_close.sh +++ b/bin/lid_close.sh @@ -22,4 +22,5 @@ hyprctl keyword monitor "$INTERNAL, disable" # Only lock if there is NO external monitor if [ "$external_count" -eq 0 ]; then hyprlock + systemctl suspend fi