From 1938bb5d28d2e777a29462758f652e28ae888918 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 4 Jan 2023 16:26:50 +0100 Subject: [PATCH] fix: lint --- include/factory.hpp | 2 +- include/modules/hyprland/submap.hpp | 1 + include/modules/image.hpp | 6 +++--- src/modules/sway/workspaces.cpp | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/include/factory.hpp b/include/factory.hpp index 2ec3cf0..e2548a9 100644 --- a/include/factory.hpp +++ b/include/factory.hpp @@ -25,8 +25,8 @@ #ifdef HAVE_HYPRLAND #include "modules/hyprland/backend.hpp" #include "modules/hyprland/language.hpp" -#include "modules/hyprland/window.hpp" #include "modules/hyprland/submap.hpp" +#include "modules/hyprland/window.hpp" #endif #if defined(__FreeBSD__) || (defined(__linux__) && !defined(NO_FILESYSTEM)) #include "modules/battery.hpp" diff --git a/include/modules/hyprland/submap.hpp b/include/modules/hyprland/submap.hpp index e33cdae..c36578c 100644 --- a/include/modules/hyprland/submap.hpp +++ b/include/modules/hyprland/submap.hpp @@ -1,4 +1,5 @@ #include + #include "ALabel.hpp" #include "bar.hpp" #include "modules/hyprland/backend.hpp" diff --git a/include/modules/image.hpp b/include/modules/image.hpp index 00b8393..06b61ee 100644 --- a/include/modules/image.hpp +++ b/include/modules/image.hpp @@ -23,10 +23,10 @@ class Image : public AModule { void delayWorker(); void handleEvent(); - Gtk::Image image_; + Gtk::Image image_; std::string path_; - int size_; - int interval_; + int size_; + int interval_; util::SleeperThread thread_; }; diff --git a/src/modules/sway/workspaces.cpp b/src/modules/sway/workspaces.cpp index f8c1891..b621b83 100644 --- a/src/modules/sway/workspaces.cpp +++ b/src/modules/sway/workspaces.cpp @@ -131,7 +131,7 @@ void Workspaces::onCmd(const struct Ipc::ipc_response &res) { // unnumbered workspaces behind numbered ones when computing the sort // 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 // the order displayed in Waybar. int max_num = -1;