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-22 15:49:09 +02:00
|
|
|
constexpr const char *fontFamily = "Source Sans Pro";
|
|
|
|
constexpr int fontSizePt = 12;
|
2021-10-25 21:54:14 +02:00
|
|
|
constexpr bool fontBold = false;
|
2021-10-22 15:49:09 +02:00
|
|
|
|
2021-10-25 21:54:14 +02:00
|
|
|
constexpr ColorScheme colorInactive = {QColor(0xbb, 0xbb, 0xbb), QColor(0x22, 0x22, 0x22)};
|
|
|
|
constexpr ColorScheme colorActive = {QColor(0xee, 0xee, 0xee), QColor(0x00, 0x55, 0x77)};
|
2021-10-26 16:40:19 +02:00
|
|
|
constexpr const char *termcmd[] = {"foot", nullptr};
|
2021-10-26 11:40:46 +02:00
|
|
|
|
|
|
|
constexpr Button buttons[] = {
|
2021-10-26 15:32:25 +02:00
|
|
|
{ ClkTagBar, BTN_LEFT, toggleview, {0} },
|
|
|
|
{ ClkTagBar, BTN_LEFT, view, {0} },
|
2021-10-26 16:17:07 +02:00
|
|
|
{ ClkTagBar, BTN_RIGHT, tag, {0} },
|
|
|
|
{ ClkTagBar, BTN_MIDDLE, toggletag, {0} },
|
2021-10-26 15:32:25 +02:00
|
|
|
{ ClkLayoutSymbol, BTN_LEFT, setlayout, {.ui = 0} },
|
|
|
|
{ ClkLayoutSymbol, BTN_RIGHT, setlayout, {.ui = 2} },
|
2021-10-26 16:40:19 +02:00
|
|
|
{ ClkWinTitle, BTN_RIGHT, spawn, {.v = termcmd} },
|
2021-10-26 11:40:46 +02:00
|
|
|
};
|