mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix: lint
This commit is contained in:
@ -16,10 +16,8 @@ waybar::modules::IdleInhibitor::IdleInhibitor(const std::string& id, const Bar&
|
||||
throw std::runtime_error("idle-inhibit not available");
|
||||
}
|
||||
|
||||
if (waybar::modules::IdleInhibitor::modules.empty()
|
||||
&& config_["start-activated"].isBool()
|
||||
&& config_["start-activated"].asBool() != status
|
||||
) {
|
||||
if (waybar::modules::IdleInhibitor::modules.empty() && config_["start-activated"].isBool() &&
|
||||
config_["start-activated"].asBool() != status) {
|
||||
toggleStatus();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user