summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorschizoid <schizoidparty@aol.com>2024-12-06 15:06:31 -0500
committerschizoid <schizoidparty@aol.com>2024-12-06 15:06:31 -0500
commit247d8f14f86f8049a46e237092a7a64222e69c99 (patch)
tree479bc4079ea0d4ce8db9bd5c1954119888539f6a /config.h
parent3ed68b62088dedfb4e7bcd43b953535966a916fe (diff)
Ported DWM to OpenBSD
Diffstat (limited to 'config.h')
-rw-r--r--config.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/config.h b/config.h
index 52505d0..ede0e28 100644
--- a/config.h
+++ b/config.h
@@ -14,8 +14,8 @@ static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
#define ICONSIZE 16 /* icon size */
#define ICONSPACING 5 /* space between icon and title */
-static const char *fonts[] = { "Hack Nerd Font:size=10.5" };
-static const char dmenufont[] = "Hack Nerd Font:size=10";
+static const char *fonts[] = { "Hack Nerd Font:size=8" };
+static const char dmenufont[] = "Hack Nerd Font:size=7";
static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
@@ -83,7 +83,7 @@ static const Layout layouts[] = {
/* commands */
static const char *dmenucmd[] = {
"dmenu_run",
- "-fn", "Fira Code:size=12",
+ "-fn", "Fira Code:size=10",
"-nb", "#282828", // Set normal background color for FreeBSD
"-nf", "#d68700", // Set text color for FreeBSD
"-sb", "#555555", // Set highlighted background color (a lighter version of #282828) for FreeBSD
@@ -97,15 +97,19 @@ static const char *browser[] = { "firefox", NULL};
static const char *email[] = { "thunderbird", NULL};
static const char *filemanagercmd[] = { "thunar", NULL };
static const char *scrot[] = { "screenshot", NULL };
-static const char *wpp[]= { "wpp", NULL};
+static const char *bible[]= { "xiphos", NULL};
+static const char *wpp[]= { "picom", NULL};
+static const char *durl[]= { "durl", NULL};
static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
{ MODKEY, XK_b, spawn, {.v = browser } },
+ { MODKEY, XK_s, spawn, {.v = durl } },
{ MODKEY|ShiftMask, XK_t, spawn, {.v = email } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = filemanagercmd } },
+ { MODKEY, XK_x, spawn, {.v = bible } },
{ MODKEY|ShiftMask, XK_w, spawn, {.v = wpp } },
{ 0, XK_Print, spawn, {.v = scrot } },
{ MODKEY|ShiftMask, XK_b, togglebar, {0} },
@@ -136,8 +140,8 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
/* Media control keys using F keys */
- { ShiftMask, XK_F1, spawn, SHCMD("pactl set-sink-volume @DEFAULT_SINK@ -5%") },
- { ShiftMask, XK_F2, spawn, SHCMD("pactl set-sink-volume @DEFAULT_SINK@ +5%") },
+ { ShiftMask, XK_F1, spawn, SHCMD("doas sndioctl output.level=-0.05") },
+ { ShiftMask, XK_F2, spawn, SHCMD("doas sndioctl output.level=+0.05") },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)