Compare commits

..

2 Commits

Author SHA1 Message Date
thad-w541
1777887b1d upd8 2025-10-31 18:40:49 -05:00
thad-w541
7e7466ea31 x 2025-10-28 22:20:51 -05:00

View File

@@ -60,13 +60,18 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char *termcmd[] = { "st", NULL };
static const char *txtcmd[] = { "obsidian", NULL };
static const char *idecmd[] = { "subl", NULL };
static const char *brightupcmd[] = { "/home/thad/brightness.sh", "+4", NULL};
static const char *brightdncmd[] = { "/home/thad/brightness.sh", "-4", NULL}; //{ "~/brightness.sh", "-2"};
static const char *screenshotcmd[] = { "flameshot", "gui", NULL};
// something with /sys/class/backlight/intel_backlight/brightness and max_brightness
static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_r, spawn, {.v = idecmd } },
{ MODKEY|ShiftMask, XK_t, spawn, {.v = txtcmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
@@ -101,6 +106,8 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_q, quit, {0} },
{ 0, 0x1008FF02, spawn, {.v = brightupcmd } }, // see XF86keysym.h
{ 0, 0x1008FF03, spawn, {.v = brightdncmd} },
{ 0, 0x1008FF4A, spawn, {.v = dmenucmd}},
{ 0, 0xff61, spawn, {.v = screenshotcmd}},
};
/* button definitions */