Merge branch 'added-eval-3' of github.com:Htylol/PortWINE into Htylol-added-eval-3

This commit is contained in:
Mikhail Tergoev
2024-11-14 11:44:24 +03:00
4 changed files with 37 additions and 23 deletions

View File

@ -3318,7 +3318,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=${PW_NAME_DESKTOP_PROXY// /_}"
PW_INHIBIT_SLR="eval systemd-inhibit --mode=block --who=ru.linux_gaming.PortProton --why=\"${translations[Launched]} $PW_NAME_DESKTOP_PROXY\""
print_info "Screensaver will be inhibit"
fi
pw_other_fixes