dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit dbcea8a219b16506f6e1634fdb82cb658eece205
parent 3bfc7465c0c704ab4f5cb6aad8d2e3f4e4ae33b7
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Fri, 13 Jul 2018 00:31:06 +0200

Costumize dwm

Diffstat:
Msuckless/dwm/config.h | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/suckless/dwm/config.h b/suckless/dwm/config.h @@ -59,13 +59,15 @@ static const Layout layouts[] = { static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL }; static const char *termcmd[] = { "st", NULL }; -static const char *clipcmd[] = { "clipmenu", "-fn", dmenufont, NULL }; /* Define clipmenu command */ +static const char *clipcmd[] = { "clipmenu", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL }; /* Define clipmenu command */ +static const char *firefoxcmd[] = { "firefox-nightly", NULL}; /* Define firefox command */ +static const char *muttcmd[] = { "st", "-e", "mutt", NULL }; /* Define mutt command */ static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_c, spawn, {.v = clipcmd } }, /* Define shortcut for clipmenu */ { MODKEY, XK_d, spawn, {.v = dmenucmd } }, - { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, + { MODKEY , XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, @@ -87,6 +89,8 @@ static Key keys[] = { { MODKEY, XK_period, focusmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, + { Mod1Mask, XK_b, spawn, {.v = firefoxcmd } }, /* Define quickstart for frequent applications */ + { Mod1Mask, XK_m, spawn, {.v = muttcmd } }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2)