removed modkey from mediakey defs, changed termcmd to termite
This commit is contained in:
+4
-4
@@ -49,7 +49,7 @@ static const Layout layouts[] = {
|
|||||||
|
|
||||||
/* commands */
|
/* commands */
|
||||||
static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
|
static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
|
||||||
static const char *termcmd[] = { "uxterm", NULL };
|
static const char *termcmd[] = { "termite", NULL };
|
||||||
/*functions for volume control*/
|
/*functions for volume control*/
|
||||||
static const char *upvol[] = { "amixer", "sset", "Master", "5%+", NULL};
|
static const char *upvol[] = { "amixer", "sset", "Master", "5%+", NULL};
|
||||||
static const char *downvol[] = { "amixer", "sset", "Master", "5%-", NULL};
|
static const char *downvol[] = { "amixer", "sset", "Master", "5%-", NULL};
|
||||||
@@ -57,9 +57,9 @@ static const char *mute[] = { "amixer", "sset", "Master", "toggle", NULL};
|
|||||||
|
|
||||||
static Key keys[] = {
|
static Key keys[] = {
|
||||||
/* modifier key function argument */
|
/* modifier key function argument */
|
||||||
{ MODKEY, XF86XK_AudioRaiseVolume, spawn, {.v = upvol} },
|
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol} },
|
||||||
{ MODKEY, XF86XK_AudioLowerVolume, spawn, {.v = downvol} },
|
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol} },
|
||||||
{ MODKEY, XF86XK_AudioMute, spawn, {.v = mute } },
|
{ 0, XF86XK_AudioMute, spawn, {.v = mute } },
|
||||||
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
||||||
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
|
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
|
||||||
{ MODKEY, XK_b, togglebar, {0} },
|
{ MODKEY, XK_b, togglebar, {0} },
|
||||||
|
|||||||
Reference in New Issue
Block a user