Email and calculator hotkeys
This commit is contained in:
parent
217aa81c73
commit
abf6d82052
1 changed files with 8 additions and 1 deletions
9
config.h
9
config.h
|
@ -38,7 +38,8 @@ static const Rule rules[] = {
|
|||
* WM_NAME(STRING) = title
|
||||
*/
|
||||
/* class instance title tags mask isfloating monitor */
|
||||
{ NULL, NULL, NULL, 0, False, -1 },
|
||||
{ "XCalc", NULL, NULL, 0, True, -1 },
|
||||
//{ NULL, NULL, NULL, 0, False, -1 },
|
||||
};
|
||||
|
||||
/* layout(s) */
|
||||
|
@ -82,6 +83,9 @@ static const char *plpause[] = { "playerctl", "play-pause", NULL };
|
|||
static const char *plnext[] = { "playerctl", "next", NULL };
|
||||
static const char *plprev[] = { "playerctl", "previous", NULL };
|
||||
|
||||
static const char *mailcmd[] = { "thunderbird", NULL };
|
||||
static const char *calccmd[] = { "xcalc", NULL };
|
||||
|
||||
static const Key keys[] = {
|
||||
/* modifier key function argument */
|
||||
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
||||
|
@ -154,6 +158,9 @@ static const Key keys[] = {
|
|||
{ WINKEY|ShiftMask, XK_v, spawn, {.v = downvol } },
|
||||
{ WINKEY|ControlMask, XK_v, spawn, {.v = upvol } },
|
||||
{ WINKEY, XK_v, spawn, {.v = mutevol } },
|
||||
|
||||
{ 0, XF86XK_Calculator, spawn, {.v = calccmd } },
|
||||
{ 0, XF86XK_Mail, spawn, {.v = mailcmd } },
|
||||
};
|
||||
|
||||
/* button definitions */
|
||||
|
|
Loading…
Add table
Reference in a new issue