From 4eed47196e7091bdcf1c92290e4ae4f2819caf75 Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Thu, 29 May 2025 16:26:22 +0500 Subject: [PATCH] fix: inhibit only sleep and idle not shutdown Signed-off-by: Boris Yumankulov --- data_from_portwine/scripts/functions_helper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index b046d325..f38a7b46 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -3536,7 +3536,7 @@ start_portwine () { if command -v systemd-inhibit &>/dev/null \ && [[ "$GAMEMODERUN" != "1" ]] then - PW_INHIBIT_SLR="systemd-inhibit --mode=block --who=ru.linux_gaming.PortProton --why=${translations[Launched]}" + PW_INHIBIT_SLR="systemd-inhibit --mode=block --who=ru.linux_gaming.PortProton --why=${translations[Launched]} --what=idle:sleep" print_info "Screensaver will be inhibit" fi pw_other_fixes