1
0
Fork 0

Email and calculator hotkeys

This commit is contained in:
Jarkko Toivanen 2025-03-20 15:39:17 +02:00
parent 217aa81c73
commit abf6d82052

View file

@ -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 */