[dwm] add extra app binds
This commit is contained in:
parent
7d8f8e82e9
commit
2947e871c6
@ -100,6 +100,7 @@ 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_gray5, "-sb", col_gray3, "-sf", col_gray4, "-n", NULL };
|
||||
static const char *termcmd[] = { "st", NULL };
|
||||
static const char *browsercmd[] = { "qutebrowser", NULL };
|
||||
static const char *musiccmd[] = { "sonixd", NULL };
|
||||
static const char *upvol[] = { "/usr/bin/pactl", "set-sink-volume", "0", "+5%", NULL };
|
||||
static const char *downvol[] = { "/usr/bin/pactl", "set-sink-volume", "0", "-5%", NULL };
|
||||
static const char *mutevol[] = { "/usr/bin/pactl", "set-sink-mute", "0", "toggle", NULL };
|
||||
@ -115,6 +116,8 @@ static const Key keys[] = {
|
||||
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
||||
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
|
||||
{ MODKEY|ShiftMask, XK_b, spawn, {.v = browsercmd } },
|
||||
{ MODKEY|ShiftMask, XK_d, spawn, SHCMD("qbprof dsc") },
|
||||
{ MODKEY|ShiftMask, XK_m, spawn, {.v = musiccmd } },
|
||||
{ MODKEY|ControlMask, XK_l, spawn, {.v = (const char*[]){ "/usr/local/bin/slock", NULL} } },
|
||||
{ MODKEY|ShiftMask, XK_s, spawn, SHCMD("~/.local/bin/deskutils/suspend.sh") },
|
||||
{ 0, XK_Print, spawn, SHCMD("~/.local/bin/deskutils/screenshot.sh") },
|
||||
|
Loading…
Reference in New Issue
Block a user