如何让 rofi 检测到 yast?

很久之前在 openSUSE 上用 bspwm 时发现 rofi 检测不到 yast。
我现在已经不用 bspwm 和 rofi 了,但还是想知道为什么,怎么解决。