fix: lint

pull/1921/head
Alex 2023-01-04 16:26:50 +01:00
parent a35861b3b9
commit 1938bb5d28
4 changed files with 6 additions and 5 deletions

View File

@ -25,8 +25,8 @@
#ifdef HAVE_HYPRLAND #ifdef HAVE_HYPRLAND
#include "modules/hyprland/backend.hpp" #include "modules/hyprland/backend.hpp"
#include "modules/hyprland/language.hpp" #include "modules/hyprland/language.hpp"
#include "modules/hyprland/window.hpp"
#include "modules/hyprland/submap.hpp" #include "modules/hyprland/submap.hpp"
#include "modules/hyprland/window.hpp"
#endif #endif
#if defined(__FreeBSD__) || (defined(__linux__) && !defined(NO_FILESYSTEM)) #if defined(__FreeBSD__) || (defined(__linux__) && !defined(NO_FILESYSTEM))
#include "modules/battery.hpp" #include "modules/battery.hpp"

View File

@ -1,4 +1,5 @@
#include <fmt/format.h> #include <fmt/format.h>
#include "ALabel.hpp" #include "ALabel.hpp"
#include "bar.hpp" #include "bar.hpp"
#include "modules/hyprland/backend.hpp" #include "modules/hyprland/backend.hpp"

View File

@ -23,10 +23,10 @@ class Image : public AModule {
void delayWorker(); void delayWorker();
void handleEvent(); void handleEvent();
Gtk::Image image_; Gtk::Image image_;
std::string path_; std::string path_;
int size_; int size_;
int interval_; int interval_;
util::SleeperThread thread_; util::SleeperThread thread_;
}; };

View File

@ -131,7 +131,7 @@ void Workspaces::onCmd(const struct Ipc::ipc_response &res) {
// unnumbered workspaces behind numbered ones when computing the sort // unnumbered workspaces behind numbered ones when computing the sort
// attribute. // attribute.
// //
// Note: if the 'alphabetical_sort' option is true, the user is in // Note: if the 'alphabetical_sort' option is true, the user is in
// agreement that the "workspace prev/next" commands may not follow // agreement that the "workspace prev/next" commands may not follow
// the order displayed in Waybar. // the order displayed in Waybar.
int max_num = -1; int max_num = -1;