Merge branch 'Boria138-inihibit' into devel

This commit is contained in:
Mikhail Tergoev
2025-06-14 18:38:26 +03:00

View File

@ -3556,7 +3556,7 @@ start_portwine () {
if command -v systemd-inhibit &>/dev/null \ if command -v systemd-inhibit &>/dev/null \
&& [[ "$GAMEMODERUN" != "1" ]] && [[ "$GAMEMODERUN" != "1" ]]
then 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" print_info "Screensaver will be inhibit"
fi fi
pw_other_fixes pw_other_fixes