From 1b0d840595653ed89742ba79b8a2aace36111041 Mon Sep 17 00:00:00 2001 From: Sam Nystrom Date: Tue, 11 Apr 2023 19:20:03 -0500 Subject: feat(ports): add somebar --- localports/somebar/config.hpp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 localports/somebar/config.hpp (limited to 'localports/somebar/config.hpp') diff --git a/localports/somebar/config.hpp b/localports/somebar/config.hpp new file mode 100644 index 0000000..cf1654b --- /dev/null +++ b/localports/somebar/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 = 2; + +// See https://docs.gtk.org/Pango/type_func.FontDescription.from_string.html +constexpr const char* font = "FiraCode Nerd Font 12"; + +constexpr ColorScheme colorInactive = {Color(0xc6, 0xa0, 0xf6), Color(0x24, 0x27, 0x3a)}; +constexpr ColorScheme colorActive = {Color(0x24, 0x27, 0x3a), Color(0xc6, 0xa0, 0xf6)}; +constexpr const char* termcmd[] = {"foot", nullptr}; + +static std::vector tagNames = { + "1", "2", "3", + "4", "5", "6", + "7", "8", "9", +}; + +constexpr Button buttons[] = { + { ClkStatusText, BTN_RIGHT, spawn, {.v = termcmd} }, +}; -- cgit v1.2.3