untimed mpv to mitigate lag issue
This commit is contained in:
parent
0fc18ac866
commit
4a2dd69784
1 changed files with 2 additions and 1 deletions
3
config.h
3
config.h
|
@ -52,6 +52,7 @@ static const Rule rules[] = {
|
||||||
{ "Gimp", NULL, NULL, 1 << 8, 0, 0, 0, -1 },
|
{ "Gimp", NULL, NULL, 1 << 8, 0, 0, 0, -1 },
|
||||||
{ TERMCLASS, NULL, NULL, 0, 0, 1, 0, -1 },
|
{ TERMCLASS, NULL, NULL, 0, 0, 1, 0, -1 },
|
||||||
{ NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 },
|
{ NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 },
|
||||||
|
{ NULL, "bg", NULL, 0, 0, 1, 1 << 7, -1 },
|
||||||
{ NULL, "spterm", NULL, SPTAG(0), 1, 1, 0, -1 },
|
{ NULL, "spterm", NULL, SPTAG(0), 1, 1, 0, -1 },
|
||||||
{ NULL, "spcalc", NULL, SPTAG(1), 1, 1, 0, -1 },
|
{ NULL, "spcalc", NULL, SPTAG(1), 1, 1, 0, -1 },
|
||||||
};
|
};
|
||||||
|
@ -244,7 +245,7 @@ static Key keys[] = {
|
||||||
{ MODKEY, XK_F8, spawn, SHCMD("mw -Y") },
|
{ MODKEY, XK_F8, spawn, SHCMD("mw -Y") },
|
||||||
{ 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 --profile=low-latency --input-conf=/dev/null --title=webcam $(ls /dev/video[0,2,4,6,8] | tail -n 1)") },
|
{ MODKEY, XK_F11, spawn, SHCMD("mpv --untimed --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, spawn, SHCMD("remaps & notify-send \\\"⌨️ Keyboard remapping...\\\" \\\"Re-running keyboard defaults for any newly plugged-in keyboards.\\\"") },
|
{ 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} },
|
||||||
|
|
Loading…
Reference in a new issue