summaryrefslogtreecommitdiff
path: root/somebar/src/config.hpp
blob: caf01784c1ac428116ab5a56ae1c966a10d72b4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// somebar - dwl bar
// See LICENSE file for copyright and license details.

#pragma once
#include "common.hpp"

constexpr bool topbar = false;

constexpr int paddingX = 10;
constexpr int paddingY = 3;
constexpr int gapY = 3;

// See https://docs.gtk.org/Pango/type_func.FontDescription.from_string.html
constexpr const char* font = "BmPlus IBM VGA 9x16 8";

constexpr Color orange = Color(0xff, 0x8c, 0x00);
constexpr Color gray2 = Color(0x00, 0x00, 0x00);

constexpr ColorScheme colorInactive = {orange, gray2};
constexpr ColorScheme colorActive = {gray2, orange};
constexpr const char* termcmd[] = {"foot", nullptr};

static std::vector<std::string> tagNames = {
    "F", "U", "H",
    ".", "V", "L",
    "O", "M"
};

constexpr Button buttons[] = {
    { ClkStatusText,   BTN_RIGHT,  spawn,      {.v = termcmd} },
};