remaps bind. spcalc fix

This commit is contained in:
Luke Smith 2020-12-28 09:23:17 -05:00
parent 0a379dcaf8
commit 916df3921b
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252
2 changed files with 4 additions and 2 deletions

View file

@ -37,7 +37,7 @@ const char *spcmd2[] = {TERMINAL, "-n", "spcalc", "-f", "monospace:size=16", "-g
static Sp scratchpads[] = { static Sp scratchpads[] = {
/* name cmd */ /* name cmd */
{"spterm", spcmd1}, {"spterm", spcmd1},
{"spranger", spcmd2}, {"spcalc", spcmd2},
}; };
/* tagging */ /* tagging */
@ -244,7 +244,7 @@ static Key keys[] = {
{ MODKEY, XK_F9, spawn, SHCMD("dmenumount") }, { MODKEY, XK_F9, spawn, SHCMD("dmenumount") },
{ MODKEY, XK_F10, spawn, SHCMD("dmenuumount") }, { MODKEY, XK_F10, spawn, SHCMD("dmenuumount") },
{ MODKEY, XK_F11, spawn, SHCMD("mpv --no-cache --no-osc --no-input-default-bindings --input-conf=/dev/null --title=webcam $(ls /dev/video[0,2,4,6,8] | tail -n 1)") }, { MODKEY, XK_F11, spawn, SHCMD("mpv --no-cache --no-osc --no-input-default-bindings --input-conf=/dev/null --title=webcam $(ls /dev/video[0,2,4,6,8] | tail -n 1)") },
/* { MODKEY, XK_F12, xrdb, {.v = NULL } }, */ { MODKEY, XK_F12, spawn, SHCMD("remaps & notify-send \\\"⌨️ Keyboard remapping...\\\" \\\"Re-running keyboard defaults for any newly plugged-in keyboards.\\\"") },
{ MODKEY, XK_space, zoom, {0} }, { MODKEY, XK_space, zoom, {0} },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} },

View file

@ -196,6 +196,8 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
.ITEM .ITEM
\f(CWMod+F11\fP \(en View webcam \f(CWMod+F11\fP \(en View webcam
.ITEM .ITEM
\f(CWMod+F12\fP \(en Rerun kayboard mapping scripts if new keyboard is attached
.ITEM
\f(CWMod+`\fP \(en Select an emoji to copy to clipboard \f(CWMod+`\fP \(en Select an emoji to copy to clipboard
.ITEM .ITEM
\f(CWMod+Insert\fP \(en Show contents of clipboard/primary selection \f(CWMod+Insert\fP \(en Show contents of clipboard/primary selection