Compare commits
2 Commits
6dd5520293
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1777887b1d | ||
|
|
7e7466ea31 |
7
config.h
7
config.h
@@ -60,13 +60,18 @@ static const Layout layouts[] = {
|
|||||||
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
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 *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 *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 *brightupcmd[] = { "/home/thad/brightness.sh", "+4", NULL};
|
||||||
static const char *brightdncmd[] = { "/home/thad/brightness.sh", "-4", NULL}; //{ "~/brightness.sh", "-2"};
|
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
|
// something with /sys/class/backlight/intel_backlight/brightness and max_brightness
|
||||||
|
|
||||||
static const Key keys[] = {
|
static const Key keys[] = {
|
||||||
/* modifier key function argument */
|
/* modifier key function argument */
|
||||||
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
{ 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|ShiftMask, XK_Return, spawn, {.v = termcmd } },
|
||||||
{ MODKEY, XK_b, togglebar, {0} },
|
{ MODKEY, XK_b, togglebar, {0} },
|
||||||
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
||||||
@@ -101,6 +106,8 @@ static const Key keys[] = {
|
|||||||
{ MODKEY|ShiftMask, XK_q, quit, {0} },
|
{ MODKEY|ShiftMask, XK_q, quit, {0} },
|
||||||
{ 0, 0x1008FF02, spawn, {.v = brightupcmd } }, // see XF86keysym.h
|
{ 0, 0x1008FF02, spawn, {.v = brightupcmd } }, // see XF86keysym.h
|
||||||
{ 0, 0x1008FF03, spawn, {.v = brightdncmd} },
|
{ 0, 0x1008FF03, spawn, {.v = brightdncmd} },
|
||||||
|
{ 0, 0x1008FF4A, spawn, {.v = dmenucmd}},
|
||||||
|
{ 0, 0xff61, spawn, {.v = screenshotcmd}},
|
||||||
};
|
};
|
||||||
|
|
||||||
/* button definitions */
|
/* button definitions */
|
||||||
|
|||||||
Reference in New Issue
Block a user