openSUSE / SUSEPrime

Provide nvidia-prime like package for openSUSE
65 stars 11 forks source link

Fix failure on TW to determine current systemd target #56

Closed bubbleguuum closed 4 years ago

bubbleguuum commented 4 years ago

This was caused by change in 'systemctl list-units --type target' formatting output in recent systemd versions Use a better method to determine current target, compatible with Leap. This bug caused the script to misbehave with "Logout to switch graphics" not triggered