X-Git-Url: http://git.subgeniuskitty.com/dwm/.git/blobdiff_plain/c56e756083531e1030a77a42c6733762f6cee5b5..a583293889ce0ccebf1574dd0c153d121ee05444:/config.h diff --git a/config.h b/config.h index 9835e4d..5ea2ecc 100644 --- a/config.h +++ b/config.h @@ -6,8 +6,11 @@ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ static const int startontag = 1; /* 0 means no tag active on start */ -static const char *fonts[] = { "monospace:size=10" }; -static const char dmenufont[] = "monospace:size=10"; +static const char *fonts[] = { "monospace:size=14" }; +// TODO: Make this central definition of the dmenufont apply everywhere. For +// example, at the moment it does not apply to the dmenu invocations found in +// quitprompt() and nametag(). +static const char dmenufont[] = "monospace:size=14"; static const char col_gray1[] = "#222222"; static const char col_gray2[] = "#444444"; static const char col_gray3[] = "#bbbbbb"; @@ -29,8 +32,7 @@ static const Rule rules[] = { * WM_NAME(STRING) = title */ /* class instance title tags mask isfloating monitor */ - { "Gimp", NULL, NULL, 0, 1, -1 }, - { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, + { "sample", NULL, NULL, 0, 1, -1 }, }; /* layout(s) */ @@ -59,7 +61,9 @@ static const Layout layouts[] = { /* commands */ static const char *dmenucmd[] = { "dmenu_run", "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; -static const char *termcmd[] = { "st", NULL }; +static const char *termcmd[] = { "xterm", NULL }; +static const char *lockcmd[] = { "xscreensaver-command", "-lock", NULL }; +static const char *screenshotcmd[] = { "screenshot", NULL }; static const char *layoutmenu_cmd = "layoutmenu.sh"; static const Key keys[] = { @@ -97,7 +101,9 @@ static const Key keys[] = { TAGKEYS( XK_7, 6) TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8) - { MODKEY|ShiftMask, XK_q, quit, {0} }, + { MODKEY|ShiftMask, XK_q, quitprompt, {0} }, + { MODKEY, XK_Escape, spawn, {.v = lockcmd } }, + { MODKEY|ShiftMask, XK_Escape, spawn, {.v = screenshotcmd } }, }; /* button definitions */