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=""
|
||||
fi
|
||||
|
||||
if command -v systemd-inhibit &>/dev/null && [[ "$GAMEMODERUN" != "1" ]] ; then
|
||||
PW_INHIBIT_SLR='systemd-inhibit --mode=block --who="PortProton" --why="Running"'
|
||||
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// /_}"
|
||||
print_info "Screensaver will be inhibit"
|
||||
fi
|
||||
pw_other_fixes
|
||||
|
Loading…
Reference in New Issue
Block a user