tobi-wan-kenobi / bumblebee-status

bumblebee-status is a modular, theme-able status line generator for the i3 window manager.
https://bumblebee-status.readthedocs.io/en/main/
MIT License
1.2k stars 229 forks source link

System module only shutdown and reboot work #982

Closed Farsuperslime closed 10 months ago

Farsuperslime commented 10 months ago

Bug Report

Description

Affected module: System Version used: latest

When system module is added to bar and used only "shutdown" and "reboot" work. This seems to be due to the i3 exit comman being changed at some point from "i3exit" to "i3 exit". Changing commands manually from "i3exit" to "i3 exit" makes all of them work.

How to reproduce

  1. Add System module to bar.
  2. Use any option besides shutdown or reboot.
tobi-wan-kenobi commented 10 months ago

Hello,

thanks for the report! The system module has parameters that allow you to override the commands used to execute for each action. Does that work for you as solution?

Farsuperslime commented 10 months ago

Hello,

thanks for the report! The system module has parameters that allow you to override the commands used to execute for each action. Does that work for you as solution?

Yes, this is what I did to fix it. Just wasn't sure if this was an intended feature or an issue with these commands not working by default

tobi-wan-kenobi commented 10 months ago

Yeah, that is a good point. Eventually, I guess we'll want to update the commands, but I don't want to break existing setups, either.

Implementing a fallback mechanism in case the command isn't found might make sense. Will look into that.

tobi-wan-kenobi commented 10 months ago

Oh, it's even worse than I thought. "i3exit" is a custom script shipped with Manjaro, I think. I don't even know how to model some of that stuff (switch user, suspend, hibernate) generically.

So for now, I'd kindly ask you to use the parameters to customize the module for your specific usecase. Thanks a lot for your patience!