Add twitch dmenu script

This commit is contained in:
Alex D. 2020-11-03 20:31:15 +01:00
parent 3f5be5b0a4
commit 2f1d660607
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ static const Key keys[] = {
{ MODKEY, XK_x, spawn, SHCMD("~/Projects/dmenu-bookmarks/bookmarks.sh ~/Bookmarks") },
{ MODKEY|ShiftMask, XK_n, spawn, SHCMD("~/Projects/AnsibleQuickDocs/search.sh") },
{ MODKEY, XK_y, spawn, SHCMD("~/Projects/passman/script.sh") },
{ MODKEY, XK_t, spawn, SHCMD("out=$(< ~/.cache/twitch dmenu -l 20); out=\"${out%% | *}\"; [ -z \"$out\" ] || mpv --profile=v \"https://twitch.tv/$out\"") },
/* mpv controls */
{ 0, XF86XK_AudioPlay, spawn, MPVSOCK("keypress space") },