# HG changeset patch # User jasonwryan # Date 1615440443 -46800 # Thu Mar 11 18:27:23 2021 +1300 # Node ID 203ffb7efbf9082a1ab3b964832dc02e9fdb3902 # Parent 9f184d79f65a310dff0d483a42412433b9fcd332 Updated, long overdue diff --git a/base.config.customizations b/base.config.customizations --- a/base.config.customizations +++ b/base.config.customizations @@ -4,8 +4,8 @@ diff -r 5195c62d896b config.def.h --- a/config.def.h Thu Aug 01 09:48:07 2013 +1200 -+++ b/config.def.h Mon Mar 02 21:18:07 2015 +1300 -@@ -9,40 +9,42 @@ ++++ b/config.def.h Thu Mar 11 18:26:14 2021 +1300 +@@ -9,40 +9,41 @@ static const char selbgcolor[] = "#005577"; static const char selfgcolor[] = "#eeeeee"; static const unsigned int borderpx = 1; /* border pixel of windows */ @@ -26,9 +26,8 @@ /* class instance title tags mask isfloating monitor */ - { "Gimp", NULL, NULL, 0, True, -1 }, - { "Firefox", NULL, NULL, 1 << 8, False, -1 }, -+ { "Vimprobable", NULL, NULL, 1 << 1, False, -1 }, -+ { "Chromium", NULL, NULL, 1 << 0, False, -1 }, -+ { "tabbed", NULL, NULL, 1 << 1, False, -1 }, ++ { "firefox", NULL, NULL, 1 << 0, False, -1 }, ++ { "qutebrowser", NULL, NULL, 1 << 1, False, -1 }, + { "mpv", NULL, NULL, 1 << 0, True, -1 }, + { NULL, NULL, "mutt", 1 << 3, False, -1 }, + { NULL, NULL, "tmux", 1 << 2, False, -1 }, @@ -62,7 +61,7 @@ { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \ { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} }, -@@ -51,12 +53,28 @@ +@@ -51,12 +52,29 @@ /* commands */ static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL }; @@ -72,6 +71,8 @@ +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", "-c", "0", "set", "Master", "mute", NULL }; ++static const char *webcmd[] = { "run_browser", NULL }; +static const char *lockcmd[] = { "xautolock", "-locknow", NULL }; +static const char *rebootcmd[] = { "systemctl", "reboot", NULL }; +static const char *shutcmd[] = { "systemctl", "poweroff", NULL }; @@ -88,8 +89,7 @@ + { ControlMask|Mod1Mask, XK_p, spawn, {.v = padcmd } }, + { ControlMask|Mod1Mask, XK_r, spawn, {.v = rebootcmd } }, + { ControlMask|Mod1Mask, XK_q, spawn, {.v = shutcmd } }, -+ { ControlMask|Mod1Mask, XK_s, spawn, SHCMD("$HOME/Scripts/shux") }, -+ { ControlMask|Mod1Mask, XK_w, spawn, SHCMD("$(tabbed -c -d -p -2 >/tmp/tabbed.xid); vimprobable2 -e $(/tmp/tabbed.xid); vimprobable2 -e $(