summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.def.h82
1 files changed, 34 insertions, 48 deletions
diff --git a/config.def.h b/config.def.h
index 3a09955..e5efc97 100644
--- a/config.def.h
+++ b/config.def.h
@@ -26,35 +26,21 @@ static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
static const char col_cyan[] = "#daa520";
static const char *colors[][3] = {
- /* fg bg border */
- [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
- [SchemeSel] = { col_gray4, col_cyan, col_cyan },
- [SchemeStatus] = { col_gray3, col_gray1, "#000000" }, // Statusbar right {text,background,not used but cannot be empty}
- [SchemeTagsSel] = { col_gray4, col_cyan, "#000000" }, // Tagbar left selected {text,background,not used but cannot be empty}
- [SchemeTagsNorm] = { col_gray3, col_gray1, "#000000" }, // Tagbar left unselected {text,background,not used but cannot be empty}
- [SchemeInfoSel] = { col_gray4, col_gray1, "#000000" }, // infobar middle selected {text,background,not used but cannot be empty}
- [SchemeInfoNorm] = { col_gray3, col_gray1, "#000000" }, // infobar middle unselected {text,background,not used but cannot be empty}
+ /* fg bg border */
+ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
+ [SchemeSel] = { col_gray4, col_cyan, col_cyan },
+ [SchemeStatus] = { col_gray3, col_gray1, "#000000" }, // Statusbar right {text,background,not used but cannot be empty}
+ [SchemeTagsSel] = { col_gray4, col_cyan, "#000000" }, // Tagbar left selected {text,background,not used but cannot be empty}
+ [SchemeTagsNorm] = { col_gray3, col_gray1, "#000000" }, // Tagbar left unselected {text,background,not used but cannot be empty}
+ [SchemeInfoSel] = { col_gray4, col_gray1, "#000000" }, // infobar middle selected {text,background,not used but cannot be empty}
+ [SchemeInfoNorm] = { col_gray3, col_gray1, "#000000" }, // infobar middle unselected {text,background,not used but cannot be empty}
};
typedef struct {
- const char *name;
- const void *cmd;
+ const char *name;
+ const void *cmd;
} Sp;
-
-/*
-const char *spcmd1[] = {"wezterm", "start", "--class", "spaudio", "-e", "mixertui", NULL };
-const char *spcmd2[] = {"wezterm", "start", "--class", "spmon", "-e", "htop", NULL };
-const char *spcmd3[] = {"wezterm", "start", "--class", "spmp", "-e", "ncmpcpp", NULL };
-const char *spcmd4[] = {"wezterm", "start", "--class", "spbt", "-e", "tremc", NULL };
-const char *spcmd5[] = {"wezterm", "start", "--class", "spterm", "-e", "tmux", NULL };
-const char *spcmd6[] = {"wezterm", "start", "--class", "spfm", "-e", "lf", NULL };
-*/
-
-/*
- St takes a -g flag:
-*/
-
const char *spcmd1[] = {"st", "-n", "spaudio", "-g", "120x35", "-e", "pulsemixer", NULL };
const char *spcmd2[] = {"st", "-n", "spmon", "-g", "120x35", "-e", "htop", NULL };
const char *spcmd3[] = {"st", "-n", "spmp", "-g", "120x35", "-e", "ncmpcpp", NULL };
@@ -67,14 +53,14 @@ const char *spcmd6[] = {"st", "-n", "spfm", "-g", "120x35", "-e", "ranger",
*/
static Sp scratchpads[] = {
- /* name cmd */
- {"spaudio", spcmd1},
- {"spmon", spcmd2},
- {"spmp", spcmd3},
- {"spbt", spcmd4},
- {"spterm", spcmd5},
- {"spfm", spcmd6},
- /* {"keepassxc", spcmd3}, */
+ /* name cmd */
+ {"spaudio", spcmd1},
+ {"spmon", spcmd2},
+ {"spmp", spcmd3},
+ {"spbt", spcmd4},
+ {"spterm", spcmd5},
+ {"spfm", spcmd6},
+ /* {"keepassxc", spcmd3}, */
};
static const char *const autostart[] = {
@@ -88,19 +74,19 @@ static const char *const autostart[] = {
/* tagging */
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
static const Rule rules[] = {
- /* xprop(1):
- * WM_CLASS(STRING) = instance, class
- * WM_NAME(STRING) = title
- */
+ /* xprop(1):
+ * WM_CLASS(STRING) = instance, class
+ * WM_NAME(STRING) = title
+ */
/* class instance title tags mask isfloating isterminal noswallow monitor */
{ "Gimp", NULL, NULL, 0, 1, 0, 0, -1 },
{ "gnome-calculator", NULL, NULL, 0, 1, 0, 0, -1 },
{ "Alarm-clock-applet", NULL, NULL, 0, 1, 0, 0, -1 },
+ { "Blueman-manager", NULL, NULL, 0, 1, 0, 0, -1 },
{ "Firefox", NULL, NULL, 0, 0, 0, -1, -1 },
{ "st", NULL, NULL, 0, 0, 1, 0, -1 },
{ "XTerm", NULL, NULL, 0, 0, 1, 0, -1 },
- { "wezterm", NULL, NULL, 0, 0, 1, 0, -1 },
{ NULL, "spaudio", NULL, SPTAG(0), 1, 0, 0, -1 },
{ NULL, "spmon", NULL, SPTAG(1), 1, 0, 0, -1 },
{ NULL, "spmp", NULL, SPTAG(2), 1, 0, 0, -1 },
@@ -116,22 +102,22 @@ static const int nmaster = 1; /* number of clients in master area */
static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */
static const Layout layouts[] = {
- /* symbol arrange function */
- { "[]=", tile }, /* first entry is default */
- { "><>", NULL }, /* no layout function means floating behavior */
- { "[M]", monocle },
- { "TTT", bstack },
- { "===", bstackhoriz },
- { "[D]", deck },
- { "|M|", centeredmaster },
- { ">M>", centeredfloatingmaster },
+ /* symbol arrange function */
+ { "[]=", tile }, /* first entry is default */
+ { "><>", NULL }, /* no layout function means floating behavior */
+ { "[M]", monocle },
+ { "TTT", bstack },
+ { "===", bstackhoriz },
+ { "[D]", deck },
+ { "|M|", centeredmaster },
+ { ">M>", centeredfloatingmaster },
};
/* key definitions */
#define MODKEY Mod4Mask
-#define TAGKEYS(KEY,TAG) \
- { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+#define TAGKEYS(KEY,TAG) \
+ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
{ MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },