summaryrefslogtreecommitdiff
path: root/localports/somebar/config.hpp
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2023-04-11 19:20:03 -0500
committerSam Nystrom <sam@samnystrom.dev>2023-04-11 19:20:03 -0500
commit1b0d840595653ed89742ba79b8a2aace36111041 (patch)
tree69fb7d93e258c1592e6be2ee789f8b516c51755b /localports/somebar/config.hpp
parentae5ea0817f231bb6663bd035266e83661596965c (diff)
feat(ports): add somebar
Diffstat (limited to 'localports/somebar/config.hpp')
-rw-r--r--localports/somebar/config.hpp27
1 files changed, 27 insertions, 0 deletions
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<std::string> tagNames = {
+ "1", "2", "3",
+ "4", "5", "6",
+ "7", "8", "9",
+};
+
+constexpr Button buttons[] = {
+ { ClkStatusText, BTN_RIGHT, spawn, {.v = termcmd} },
+};