somebar/src/config.def.hpp

28 lines
745 B
C++
Raw Normal View History

2021-10-20 20:45:23 +02:00
// somebar - dwl bar
// See LICENSE file for copyright and license details.
2021-10-22 15:42:42 +02:00
#pragma once
#include "common.hpp"
2021-10-25 20:52:21 +02:00
constexpr bool topbar = true;
2021-10-22 15:49:09 +02:00
2021-10-22 15:34:19 +02:00
constexpr int paddingX = 10;
constexpr int paddingY = 3;
2021-10-22 15:42:42 +02:00
2021-10-27 17:24:47 +02:00
// See https://docs.gtk.org/Pango/type_func.FontDescription.from_string.html
2021-10-30 11:55:35 +02:00
constexpr const char* font = "Sans 12";
2021-10-22 15:49:09 +02:00
2021-10-27 17:24:47 +02:00
constexpr ColorScheme colorInactive = {Color(0xbb, 0xbb, 0xbb), Color(0x22, 0x22, 0x22)};
constexpr ColorScheme colorActive = {Color(0xee, 0xee, 0xee), Color(0x00, 0x55, 0x77)};
2021-10-30 11:55:35 +02:00
constexpr const char* termcmd[] = {"foot", nullptr};
2021-10-29 22:22:58 +02:00
static std::vector<std::string> tagNames = {
"1", "2", "3",
"4", "5", "6",
"7", "8", "9",
};
2021-10-26 11:40:46 +02:00
constexpr Button buttons[] = {
2021-10-29 20:33:27 +02:00
{ ClkStatusText, BTN_RIGHT, spawn, {.v = termcmd} },
2021-10-26 11:40:46 +02:00
};