Added config.hpp
This commit is contained in:
parent
85b7b6290a
commit
68fc2748ea
|
@ -1,4 +1,4 @@
|
||||||
compile_commands.json
|
compile_commands.json
|
||||||
build
|
build
|
||||||
.cache
|
.cache
|
||||||
src/config.hpp
|
#src/config.hpp
|
||||||
|
|
|
@ -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} },
|
||||||
|
};
|
Loading…
Reference in New Issue