Skip to content

Commit

Permalink
Only force opengl in plasma wayland if using vulkan wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbruno committed Nov 26, 2024
1 parent 426cb99 commit 3bf0eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/local/bin/plasmashell
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 3bf0eed

Please sign in to comment.