enabled user config

This commit is contained in:
λmolinae 2025-05-23 15:30:25 -06:00
parent 6fa8e80ecb
commit 1ff1457cda
2 changed files with 32 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,4 +1,3 @@
dam
config.h
*.o
*-protocol.*

32
config.h Normal file
View file

@ -0,0 +1,32 @@
/* appearance */
static int showbar = 1; /* 0 means no bar */
static int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "Inconsolata:size=12" };
static const int user_bh = 28; /* 0 means that dam will calculate barheight, >= 1 means dwl will use user_bh as the bar height. */
#include "/home/amolinae/.cache/hellwal/dam-colors.h"
/* tagging */
static char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
/* layout name replacement values */
static const char *layouts[][2] = {
/* layout name replace */
{ "rivertile - left", "[]=" },
{ "rivertile - right", "=[]" },
{ "rivertile - top", "[^]" },
{ "rivertile - bottom", "[_]" },
{ NULL, "><>" }, /* no layout, last layout */
};
static const char *termcmd[] = { "foot", NULL };
/* button definitions */
/* click can be ClkTagBar, ClkLayout, ClkMode, ClkTitle, ClkStatus */
static const Button buttons[] = {
/* click button function argument */
{ ClkTagBar, BTN_LEFT, command, {.s = "set-focused-tags"} },
{ ClkTagBar, BTN_RIGHT, command, {.s = "toggle-focused-tags"} },
{ ClkTagBar, BTN_MIDDLE, command, {.s = "set-view-tags"} },
{ ClkTitle, BTN_LEFT, command, {.s = "zoom"} },
{ ClkStatus, BTN_MIDDLE, spawn, {.v = termcmd } },
};