@@ 1,9 1,9 @@
# HG changeset patch
-# Parent f4994257c1397ca12d01020affc8f2ecb9f7c2c4
+# Parent 7f05bb99c89e2a17acfc9ff4114e42c1b56663a8
-diff -r f4994257c139 config.def.h
---- a/config.def.h Wed Jan 09 12:46:48 2013 +1300
-+++ b/config.def.h Wed Jan 09 13:49:27 2013 +1300
+diff -r 7f05bb99c89e config.def.h
+--- a/config.def.h Wed Jan 09 14:56:06 2013 +1300
++++ b/config.def.h Thu May 09 21:47:29 2013 +1200
@@ -31,7 +31,8 @@
{ "Skype", NULL, NULL, 1 << 0, True, -1 },
{ "Filezilla", NULL, NULL, 1 << 0, True, -1 },
@@ 14,3 14,32 @@ diff -r f4994257c139 config.def.h
{ NULL, NULL, "mutt", 1 << 3, False, -1 },
{ NULL, NULL, "tmux", 1 << 2, False, -1 },
{ NULL, NULL, "ssh", 1 << 0, False, -1 },
+@@ -39,7 +40,7 @@
+ };
+
+ /* layout(s) */
+-static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
++static const float mfact = 0.60; /* factor of master area size [0.05..0.95] */
+ static const int nmaster = 1; /* number of clients in master area */
+ static const Bool resizehints = False;/* True means respect size hints in tiled resizals */
+
+@@ -69,6 +70,7 @@
+ static const char *mailcmd[] = { "urxvtc", "-title", "mutt", "-e", "mutt", NULL };
+ static const char *tmuxcmd[] = { "urxvtc", "-title", "tmux", "-e", "tmux", "-f", "/home/jason/.tmux/conf", NULL };
+ static const char *padcmd[] = { "urxvtc", "-title", "scratchpad", "-geometry", "56x10-30+40", NULL };
++static const char *voloffcmd[] = { "amixer", "-q", "sset", "Master", "toggle", NULL };
+ static const char *lockcmd[] = { "xautolock", "-locknow", NULL };
+ static const char *rebootcmd[] = { "systemctl", "reboot", NULL };
+ static const char *shutcmd[] = { "systemctl", "poweroff", NULL };
+@@ -115,6 +117,11 @@
+ { MODKEY, XK_Right, cycle, {.i = +1 } },
+ { MODKEY|ControlMask, XK_Left, tagcycle, {.i = -1 } },
+ { MODKEY|ControlMask, XK_Right, tagcycle, {.i = +1 } },
++ { 0, 0x1008ff12,spawn, {.v = voloffcmd } },
++ { 0, 0x1008ff11,spawn, SHCMD("$HOME/Scripts/volume down") },
++ { 0, 0x1008ff13,spawn, SHCMD("$HOME/Scripts/volume up") },
++ { 0, 0x1008ff03,spawn, SHCMD("$HOME/Scripts/brightness down") },
++ { 0, 0x1008ff02,spawn, SHCMD("$HOME/Scripts/brightness up") },
+ TAGKEYS( XK_1, 0)
+ TAGKEYS( XK_2, 1)
+ TAGKEYS( XK_3, 2)