jluttine / rofi-power-menu

Configurable power menu mode for Rofi and dmenu
MIT License
422 stars 53 forks source link

Runit Support #5

Open doonoo opened 3 years ago

doonoo commented 3 years ago

Would love to use this bad boy on void linux

doonoo commented 3 years ago

Turns out all I needed was elogind. The solution is (for example) to use loginctl reboot instead of systemctl reboot

knightazura commented 3 years ago

@doonoo It's quite hard, after I search how to detect init system using bash script. There is no "safe" way to do that. I think workaround for this, you need to edit the script on your system. I did it on my Artix and it works well.

Bavuett commented 2 years ago

Turns out all I needed was elogind. The solution is (for example) to use loginctl reboot instead of systemctl reboot

Thank you for posting the solution. I made a pull request to add a comment in the script to explain this, so people have less searches to do on Google.

ohxxm commented 2 years ago

Currently, editing the script to match the correct system is the way to go. Future implementation for this might come but no promises.