added NAME and IMG to systemd-inhibit
This commit is contained in:
parent
2d40a16d13
commit
3364792668
@ -2968,8 +2968,10 @@ start_portwine () {
|
|||||||
export PW_GAMEMODERUN_SLR=""
|
export PW_GAMEMODERUN_SLR=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v systemd-inhibit &>/dev/null && [[ "$GAMEMODERUN" != "1" ]] ; then
|
if command -v systemd-inhibit &>/dev/null \
|
||||||
PW_INHIBIT_SLR='systemd-inhibit --mode=block --who="PortProton" --why="Running"'
|
&& [[ "$GAMEMODERUN" != "1" ]]
|
||||||
|
then
|
||||||
|
PW_INHIBIT_SLR="systemd-inhibit --mode=block --who=ru.linux_gaming.PortProton --why=${PW_NAME_DESKTOP_PROXY// /_}"
|
||||||
print_info "Screensaver will be inhibit"
|
print_info "Screensaver will be inhibit"
|
||||||
fi
|
fi
|
||||||
pw_other_fixes
|
pw_other_fixes
|
||||||
|
Loading…
Reference in New Issue
Block a user