fix: lint

This commit is contained in:
Alex 2023-04-03 09:41:24 +02:00
parent ba6faa7859
commit 60e0584d16
5 changed files with 12 additions and 16 deletions

View File

@ -18,10 +18,10 @@
#include "modules/wlr/workspace_manager.hpp" #include "modules/wlr/workspace_manager.hpp"
#endif #endif
#ifdef HAVE_RIVER #ifdef HAVE_RIVER
#include "modules/river/layout.hpp"
#include "modules/river/mode.hpp" #include "modules/river/mode.hpp"
#include "modules/river/tags.hpp" #include "modules/river/tags.hpp"
#include "modules/river/window.hpp" #include "modules/river/window.hpp"
#include "modules/river/layout.hpp"
#endif #endif
#ifdef HAVE_HYPRLAND #ifdef HAVE_HYPRLAND
#include "modules/hyprland/backend.hpp" #include "modules/hyprland/backend.hpp"

View File

@ -15,10 +15,7 @@ enum class WeeksSide {
HIDDEN, HIDDEN,
}; };
enum class CldMode { enum class CldMode { MONTH, YEAR };
MONTH,
YEAR
};
class Clock final : public ALabel { class Clock final : public ALabel {
public: public:
@ -69,7 +66,6 @@ class Clock final : public ALabel {
{"shift_up", &waybar::modules::Clock::cldShift_up}, {"shift_up", &waybar::modules::Clock::cldShift_up},
{"shift_down", &waybar::modules::Clock::cldShift_down}, {"shift_down", &waybar::modules::Clock::cldShift_down},
{"tz_up", &waybar::modules::Clock::tz_up}, {"tz_up", &waybar::modules::Clock::tz_up},
{"tz_down", &waybar::modules::Clock::tz_down} {"tz_down", &waybar::modules::Clock::tz_down}};
};
}; };
} // namespace waybar::modules } // namespace waybar::modules

View File

@ -1,11 +1,11 @@
#include "modules/mpris/mpris.hpp"
#include <fmt/core.h> #include <fmt/core.h>
#include <optional> #include <optional>
#include <sstream> #include <sstream>
#include <string> #include <string>
#include "modules/mpris/mpris.hpp"
extern "C" { extern "C" {
#include <playerctl/playerctl.h> #include <playerctl/playerctl.h>
} }