Added config.hpp

This commit is contained in:
elimin8 2022-11-14 18:08:51 +00:00
parent 85b7b6290a
commit 68fc2748ea
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E
2 changed files with 28 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
compile_commands.json
build
.cache
src/config.hpp
#src/config.hpp

27
src/config.hpp Normal file
View File

@ -0,0 +1,27 @@
// somebar - dwl bar
// See LICENSE file for copyright and license details.
#pragma once
#include "common.hpp"
constexpr bool topbar = true;
constexpr int paddingX = 10;
constexpr int paddingY = 3;
// See https://docs.gtk.org/Pango/type_func.FontDescription.from_string.html
constexpr const char* font = "Monospace 15";
constexpr ColorScheme colorInactive = {Color(0xbb, 0xbb, 0xbb), Color(0x22, 0x22, 0x22)};
constexpr ColorScheme colorActive = {Color(0xee, 0xee, 0xee), Color(0xea, 0x82, 0x17)};
constexpr const char* termcmd[] = {"foot", nullptr};
static std::vector<std::string> tagNames = {
"1", "2", "3",
"4", "5", "6",
"7", "8", "9",
};
constexpr Button buttons[] = {
{ ClkStatusText, BTN_RIGHT, spawn, {.v = termcmd} },
};