From 0bb59ae23760dafd04ed832e25b8148681a0ac29 Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Wed, 2 Apr 2025 10:15:47 +0300 Subject: [PATCH] Add sleep blocker script --- .bin/no-sleep | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 .bin/no-sleep diff --git a/.bin/no-sleep b/.bin/no-sleep new file mode 100755 index 0000000..f7ab01a --- /dev/null +++ b/.bin/no-sleep @@ -0,0 +1,3 @@ +#!/bin/bash + +systemd-inhibit --what=sleep:idle --mode=block bash -c 'while true; do sleep 1; done'