diff --git a/include/modules/river/window.hpp b/include/modules/river/window.hpp index ef708b77..1f6c5252 100644 --- a/include/modules/river/window.hpp +++ b/include/modules/river/window.hpp @@ -25,8 +25,8 @@ class Window : public waybar::ALabel { private: const waybar::Bar &bar_; - struct wl_output *output_; // stores the output this module belongs to - struct wl_output *focused_output_; // stores the currently focused output + struct wl_output *output_; // stores the output this module belongs to + struct wl_output *focused_output_; // stores the currently focused output struct zriver_seat_status_v1 *seat_status_; }; diff --git a/src/modules/cpu/common.cpp b/src/modules/cpu/common.cpp index e46b74af..cdbbc3d4 100644 --- a/src/modules/cpu/common.cpp +++ b/src/modules/cpu/common.cpp @@ -94,8 +94,7 @@ std::tuple, std::string> waybar::modules::Cpu::getCpuUsage std::tuple waybar::modules::Cpu::getCpuFrequency() { std::vector frequencies = parseCpuFrequencies(); - if (frequencies.empty()) - { + if (frequencies.empty()) { return {0.f, 0.f, 0.f}; } auto [min, max] = std::minmax_element(std::begin(frequencies), std::end(frequencies));