Merge branch 'master' of https://git.jonfu.com/jon/dwm-6.2
This commit is contained in:
4
config.h
4
config.h
@@ -77,6 +77,8 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont,
|
|||||||
static const char *termcmd[] = { "urxvt256c", NULL };
|
static const char *termcmd[] = { "urxvt256c", NULL };
|
||||||
static const char *lockcmd[] = { "slock", NULL };
|
static const char *lockcmd[] = { "slock", NULL };
|
||||||
static const char *prtscrcmd[] = { "flameshot", "gui", NULL};
|
static const char *prtscrcmd[] = { "flameshot", "gui", NULL};
|
||||||
|
static const char *vol_up[] = { "volume_up", NULL};
|
||||||
|
static const char *vol_down[] = { "volume_down", NULL};
|
||||||
|
|
||||||
static Key keys[] = {
|
static Key keys[] = {
|
||||||
/* modifier key function argument */
|
/* modifier key function argument */
|
||||||
@@ -115,6 +117,8 @@ static Key keys[] = {
|
|||||||
//{ MODKEY|ShiftMask, XK_q, quit, {0} },
|
//{ MODKEY|ShiftMask, XK_q, quit, {0} },
|
||||||
{ MODKEY|ControlMask, XK_q, quit, {0} },
|
{ MODKEY|ControlMask, XK_q, quit, {0} },
|
||||||
{ 0, XK_Print, spawn, {.v = prtscrcmd } },
|
{ 0, XK_Print, spawn, {.v = prtscrcmd } },
|
||||||
|
{ MODKEY, XK_F11, spawn, {.v = vol_down } },
|
||||||
|
{ MODKEY, XK_F12, spawn, {.v = vol_up } },
|
||||||
{ MODKEY|ControlMask, XK_l, spawn, {.v = lockcmd } },
|
{ MODKEY|ControlMask, XK_l, spawn, {.v = lockcmd } },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user