fix: added forget kde compositor suspend check

parent f0265a80
......@@ -4375,7 +4375,10 @@ start_portwine () {
&& ! check_gamescope_session
then
if [[ "${DESKTOP_SESSION}" =~ "plasma" ]] ; then
qdbus org.kde.KWin /Compositor suspend
kde_version=$(plasmashell --version 2>/dev/null | grep -oE '[0-9]+' | head -1)
if [[ -n "$kde_version" && "$kde_version" -lt 6 ]]; then
qdbus org.kde.KWin /Compositor suspend
fi
elif [[ "${DESKTOP_SESSION}" =~ "mate" ]] ; then
gsettings set org.mate.Marco.general compositing-manager false
elif [[ "${DESKTOP_SESSION}" =~ "xfce" ]] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment