Skip to content

start-pulseaudio-x11: fix KDE version check

Rickie Schroeder requested to merge (removed):master into master

Current check wasn't working in case when $DESKTOP_SESSION wasn't set which happens when session is started without display manager like sddm. Parsing "plasmashell -v" output should be more reliable and less hacky.

This also changes legacy backticks to modern $(...) as recommended by shellcheck: https://github.com/koalaman/shellcheck/wiki/SC2006

Fixes #751 (closed)

Merge request reports