From 0f6197f4e20e0f365e446a129a0f7072d3139f7d Mon Sep 17 00:00:00 2001 From: James Blair Date: Wed, 17 Sep 2025 11:55:32 +1200 Subject: [PATCH] Add instructions for disabling sleep. --- setup.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/setup.org b/setup.org index b62d328..46de063 100644 --- a/setup.org +++ b/setup.org @@ -226,3 +226,13 @@ bluetoothctl connect 80:E1:26:6D:66:4A && bluetoothctl set-alias james-flipper bluetoothctl connect 88:C9:E8:5A:56:6C && bluetoothctl set-alias james-earphones bluetoothctl connect E2:A0:9F:BC:DB:27 && bluetoothctl set-alias james-home-mouse #+end_src + + +** Optional - disable sleep + +I just power off my devices when they aren't in use, the snippet below disables sleep buttons and also ensures my devices will never unintentionally sleep when closing lid etc. + +#+NAME: Disable sleep +#+begin_src bash +sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target +#+end_src