diff --git a/usr/local/bin/plasmashell b/usr/local/bin/plasmashell index cae1a98..ad54fbc 100755 --- a/usr/local/bin/plasmashell +++ b/usr/local/bin/plasmashell @@ -1,7 +1,7 @@ #!/bin/bash # In wayland force to use opengl -if [[ "$XDG_SESSION_TYPE" == "wayland" ]] && ! grep -q 'SceneGraphBackend=opengl' ~/.config/kdeglobals; then +if [[ "$XDG_SESSION_TYPE" == "wayland" ]] && grep -q 'SceneGraphBackend=vulkan' ~/.config/kdeglobals; then kwriteconfig6 --file ~/.config/kdeglobals --group QtQuickRendererSettings --key SceneGraphBackend opengl fi