Update config.def.h to use emacs more
This commit is contained in:
parent
a2f59253c5
commit
ee9d4135e3
10
config.def.h
10
config.def.h
@ -66,10 +66,13 @@ static const Layout layouts[] = {
|
|||||||
/* commands */
|
/* commands */
|
||||||
static const char *runcmd[] = { "dmenu_run", NULL };
|
static const char *runcmd[] = { "dmenu_run", NULL };
|
||||||
static const char *termcmd[] = { "kitty", "-1", NULL };
|
static const char *termcmd[] = { "kitty", "-1", NULL };
|
||||||
|
static const char *emacscmd[] = { "emacsclient", "-nc", NULL };
|
||||||
|
static const char *diredcmd[] = { "emacsclient", "-nc", "--eval", "(dired \"~\")", NULL };
|
||||||
|
static const char *mailcmd[] = { "emacsclient", "-nc", "--eval", "(mu4e)", NULL };
|
||||||
|
static const char *khalcmd[] = { "kitty", "-1", "ikhal", NULL };
|
||||||
static const char *browsercmd[] = { "mullvad-browser", NULL };
|
static const char *browsercmd[] = { "mullvad-browser", NULL };
|
||||||
static const char *lockcmd[] = { "loginctl", "lock-session", NULL };
|
static const char *lockcmd[] = { "loginctl", "lock-session", NULL };
|
||||||
static const char *passwdcmd[] = { "keepassxc", NULL };
|
static const char *passwdcmd[] = { "keepassxc", NULL };
|
||||||
static const char *mailcmd[] = { "thunderbird", NULL };
|
|
||||||
static const char *volupcmd[] = { "pamixer", "-i", "1", NULL };
|
static const char *volupcmd[] = { "pamixer", "-i", "1", NULL };
|
||||||
static const char *bigvolupcmd[] = { "pamixer", "-i", "5", NULL };
|
static const char *bigvolupcmd[] = { "pamixer", "-i", "5", NULL };
|
||||||
static const char *voldowncmd[] = { "pamixer", "-d", "1", NULL };
|
static const char *voldowncmd[] = { "pamixer", "-d", "1", NULL };
|
||||||
@ -85,11 +88,14 @@ static Key keys[] = {
|
|||||||
/* modifier key function argument */
|
/* modifier key function argument */
|
||||||
{ MODKEY, XK_p, spawn, {.v = runcmd } },
|
{ MODKEY, XK_p, spawn, {.v = runcmd } },
|
||||||
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
|
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
|
||||||
|
{ MODKEY|ShiftMask, XK_e, spawn, {.v = emacscmd } },
|
||||||
|
{ MODKEY|ShiftMask, XK_d, spawn, {.v = diredcmd } },
|
||||||
|
{ MODKEY|ShiftMask, XK_m, spawn, {.v = mailcmd } },
|
||||||
|
{ MODKEY|ShiftMask, XK_k, spawn, {.v = khalcmd } },
|
||||||
{ MODKEY|ShiftMask, XK_b, spawn, {.v = browsercmd } },
|
{ MODKEY|ShiftMask, XK_b, spawn, {.v = browsercmd } },
|
||||||
{ MODKEY|ShiftMask, XK_o, spawn, {.v = lockcmd } },
|
{ MODKEY|ShiftMask, XK_o, spawn, {.v = lockcmd } },
|
||||||
{ MODKEY|ShiftMask, XK_p, spawn, {.v = passwdcmd } },
|
{ MODKEY|ShiftMask, XK_p, spawn, {.v = passwdcmd } },
|
||||||
{ MODKEY|ShiftMask, XK_n, spawn, {.v = selectsoundcmd } },
|
{ MODKEY|ShiftMask, XK_n, spawn, {.v = selectsoundcmd } },
|
||||||
{ MODKEY|ShiftMask, XK_m, spawn, {.v = mailcmd } },
|
|
||||||
{ MODKEY|ShiftMask, XK_s, spawn, {.v = screenshotcmd } },
|
{ MODKEY|ShiftMask, XK_s, spawn, {.v = screenshotcmd } },
|
||||||
{ MODKEY, XK_u, spawn, {.v = closenotifycmd } },
|
{ MODKEY, XK_u, spawn, {.v = closenotifycmd } },
|
||||||
{ MODKEY|ShiftMask, XK_u, spawn, {.v = lastnotifycmd } },
|
{ MODKEY|ShiftMask, XK_u, spawn, {.v = lastnotifycmd } },
|
||||||
|
Loading…
Reference in New Issue
Block a user