From 916df3921baa5c6d904eb2c86a4a869fcf591d85 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Mon, 28 Dec 2020 09:23:17 -0500 Subject: [PATCH] remaps bind. spcalc fix --- config.h | 4 ++-- larbs.mom | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index 81cc6d7..0f6747a 100644 --- a/config.h +++ b/config.h @@ -37,7 +37,7 @@ const char *spcmd2[] = {TERMINAL, "-n", "spcalc", "-f", "monospace:size=16", "-g static Sp scratchpads[] = { /* name cmd */ {"spterm", spcmd1}, - {"spranger", spcmd2}, + {"spcalc", spcmd2}, }; /* tagging */ @@ -244,7 +244,7 @@ static Key keys[] = { { MODKEY, XK_F9, spawn, SHCMD("dmenumount") }, { 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_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|ShiftMask, XK_space, togglefloating, {0} }, diff --git a/larbs.mom b/larbs.mom index c62ead7..22a664c 100644 --- a/larbs.mom +++ b/larbs.mom @@ -196,6 +196,8 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik .ITEM \f(CWMod+F11\fP \(en View webcam .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 .ITEM \f(CWMod+Insert\fP \(en Show contents of clipboard/primary selection