From 247d8f14f86f8049a46e237092a7a64222e69c99 Mon Sep 17 00:00:00 2001 From: schizoid Date: Fri, 6 Dec 2024 15:06:31 -0500 Subject: Ported DWM to OpenBSD --- config.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'config.h') 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) -- cgit v1.2.3