From 5913b6c546ca149600bf96f04b8ef5f5dacda69e Mon Sep 17 00:00:00 2001 From: KronikPillow Date: Tue, 15 Dec 2020 09:43:25 +0100 Subject: [PATCH 1/3] fix 2nd scratchpad's name to match given rule in rules section --- config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.h b/config.h index 81cc6d7..b83ce70 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 */ From 73d9eb9e2e9733c6f80afa9a668e27913c4daa8b Mon Sep 17 00:00:00 2001 From: KronikPillow Date: Tue, 15 Dec 2020 09:48:33 +0100 Subject: [PATCH 2/3] fix deck layout indicator to it's original --- config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.h b/config.h index b83ce70..fdd8766 100644 --- a/config.h +++ b/config.h @@ -70,7 +70,7 @@ static const Layout layouts[] = { { "[@]", spiral }, /* Fibonacci spiral */ { "[\\]", dwindle }, /* Decreasing in size right and leftward */ - { "H[]", deck }, /* Master on left, slaves in monocle-like mode on right */ + { "[D]", deck }, /* Master on left, slaves in monocle-like mode on right */ { "[M]", monocle }, /* All windows on top of eachother */ { "|M|", centeredmaster }, /* Master in middle, slaves on sides */ From 306578196bdd1f8cdea488d6d82ef7bf993f906b Mon Sep 17 00:00:00 2001 From: Oliver Dvorski Date: Sat, 26 Dec 2020 22:15:35 +0100 Subject: [PATCH 3/3] Make the Mod+F11 camera window less laggy There used to be a 1s delay on my webcam feed. After a bit of googling and stumbling upon this article https://wiki.archlinux.org/index.php/Webcam_setup I found out that mpv has a low latency profile that proved to be useful on my setup --- config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.h b/config.h index fdd8766..de031da 100644 --- a/config.h +++ b/config.h @@ -243,7 +243,7 @@ static Key keys[] = { { MODKEY, XK_F8, spawn, SHCMD("mw -Y") }, { 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_F11, spawn, SHCMD("mpv --no-cache --no-osc --no-input-default-bindings --profile=low-latency --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_space, zoom, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} },