|
|
@ -66,7 +66,8 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn()
|
|
66
|
66
|
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
|
|
67
|
67
|
static const char *termcmd[] = { "/usr/bin/sakura", NULL };
|
|
68
|
68
|
|
|
69
|
|
static const char *editorcmd[] = { "emacs", NULL };
|
|
|
69
|
static const char *editorcmd[] = { "emacsclient", "--alternate-editor=", "--create-frame", NULL };
|
|
|
70
|
static const char *writecmd[] = { "emacsclient", "--alternate-editor=", "--create-frame", "--eval", "(find-recent-notes)", NULL };
|
|
70
|
71
|
|
|
71
|
72
|
static const char *volumedowncmd[] = { "amixer", "set", "Master", "5%-", NULL };
|
|
72
|
73
|
static const char *volumeupcmd[] = { "amixer", "set", "Master", "5%+", NULL };
|
|
|
@ -113,6 +114,7 @@ static Key keys[] = {
|
|
113
|
114
|
{ MODKEY|ShiftMask, XK_q, quit, {0} },
|
|
114
|
115
|
|
|
115
|
116
|
{ MODKEY, XK_e, spawn, { .v = editorcmd } },
|
|
|
117
|
{ MODKEY, XK_w, spawn, { .v = writecmd } },
|
|
116
|
118
|
|
|
117
|
119
|
{ 0, XF86XK_AudioLowerVolume, spawn, { .v = volumedowncmd } },
|
|
118
|
120
|
{ 0, XF86XK_AudioRaiseVolume, spawn, { .v = volumeupcmd } },
|