read dwl status from stdin
This commit is contained in:
parent
a600256e24
commit
fd501be2d6
6 changed files with 84 additions and 96 deletions
|
|
@ -10,17 +10,17 @@ constexpr int paddingX = 10;
|
|||
constexpr int paddingY = 3;
|
||||
|
||||
// See https://docs.gtk.org/Pango/type_func.FontDescription.from_string.html
|
||||
constexpr const char* font = "Sans 12";
|
||||
constexpr const char *font = "Sans 12";
|
||||
|
||||
constexpr ColorScheme colorInactive = {Color(0xbb, 0xbb, 0xbb), Color(0x22, 0x22, 0x22)};
|
||||
constexpr ColorScheme colorActive = {Color(0xee, 0xee, 0xee), Color(0x00, 0x55, 0x77)};
|
||||
constexpr const char* termcmd[] = {"foot", nullptr};
|
||||
constexpr const char *termcmd[] = {"foot", nullptr};
|
||||
static std::vector<std::string> tagNames = {
|
||||
"1", "2", "3",
|
||||
"4", "5", "6",
|
||||
"7", "8", "9",
|
||||
};
|
||||
|
||||
constexpr Button buttons[] = {
|
||||
{ ClkTagBar, BTN_LEFT, view, {0} },
|
||||
{ ClkTagBar, BTN_RIGHT, tag, {0} },
|
||||
{ ClkTagBar, BTN_MIDDLE, toggletag, {0} },
|
||||
{ ClkLayoutSymbol, BTN_LEFT, setlayout, {.ui = 0} },
|
||||
{ ClkLayoutSymbol, BTN_RIGHT, setlayout, {.ui = 2} },
|
||||
{ ClkStatusText, BTN_RIGHT, spawn, {.v = termcmd} },
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue