refactor: Add clang-tidy checks and simplify codebase

This commit is contained in:
Utkarsh Verma 2023-11-16 09:08:29 +05:30
commit c166ffe0b4
No known key found for this signature in database
GPG key ID: 7A4885A7162BDF20
17 changed files with 130 additions and 78 deletions

View file

@ -1,4 +1,5 @@
#pragma once
#ifndef CONFIG_H
#define CONFIG_H
// String used to delimit block outputs in the status.
#define DELIMITER " "
@ -27,3 +28,5 @@
X("sb-volume", 0, 8) \
X("sb-battery", 5, 9) \
X("sb-date", 1, 10)
#endif // CONFIG_H