Compare commits
2 commits
0baee1546d
...
abf6d82052
Author | SHA1 | Date | |
---|---|---|---|
abf6d82052 | |||
217aa81c73 |
1 changed files with 9 additions and 2 deletions
11
config.h
11
config.h
|
@ -2,7 +2,7 @@
|
||||||
#include <X11/XF86keysym.h>
|
#include <X11/XF86keysym.h>
|
||||||
|
|
||||||
/* appearance */
|
/* appearance */
|
||||||
static const unsigned int borderpx = 1; /* border pixel of windows */
|
static const unsigned int borderpx = 2; /* border pixel of windows */
|
||||||
static const unsigned int snap = 32; /* snap pixel */
|
static const unsigned int snap = 32; /* snap pixel */
|
||||||
|
|
||||||
static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */
|
static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */
|
||||||
|
@ -38,7 +38,8 @@ static const Rule rules[] = {
|
||||||
* WM_NAME(STRING) = title
|
* WM_NAME(STRING) = title
|
||||||
*/
|
*/
|
||||||
/* class instance title tags mask isfloating monitor */
|
/* 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) */
|
/* layout(s) */
|
||||||
|
@ -82,6 +83,9 @@ static const char *plpause[] = { "playerctl", "play-pause", NULL };
|
||||||
static const char *plnext[] = { "playerctl", "next", NULL };
|
static const char *plnext[] = { "playerctl", "next", NULL };
|
||||||
static const char *plprev[] = { "playerctl", "previous", NULL };
|
static const char *plprev[] = { "playerctl", "previous", NULL };
|
||||||
|
|
||||||
|
static const char *mailcmd[] = { "thunderbird", NULL };
|
||||||
|
static const char *calccmd[] = { "xcalc", NULL };
|
||||||
|
|
||||||
static const Key keys[] = {
|
static const Key keys[] = {
|
||||||
/* modifier key function argument */
|
/* modifier key function argument */
|
||||||
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
||||||
|
@ -154,6 +158,9 @@ static const Key keys[] = {
|
||||||
{ WINKEY|ShiftMask, XK_v, spawn, {.v = downvol } },
|
{ WINKEY|ShiftMask, XK_v, spawn, {.v = downvol } },
|
||||||
{ WINKEY|ControlMask, XK_v, spawn, {.v = upvol } },
|
{ WINKEY|ControlMask, XK_v, spawn, {.v = upvol } },
|
||||||
{ WINKEY, XK_v, spawn, {.v = mutevol } },
|
{ WINKEY, XK_v, spawn, {.v = mutevol } },
|
||||||
|
|
||||||
|
{ 0, XF86XK_Calculator, spawn, {.v = calccmd } },
|
||||||
|
{ 0, XF86XK_Mail, spawn, {.v = mailcmd } },
|
||||||
};
|
};
|
||||||
|
|
||||||
/* button definitions */
|
/* button definitions */
|
||||||
|
|
Loading…
Add table
Reference in a new issue