shithub: zuke

Download patch

ref: ac6e12de0bdf7e46e8911baabaff9eb30ae90c5f
parent: 4d649c3f4a466315c341169fbe7182c43dd69b3c
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Sep 18 21:03:04 EDT 2020

look for "art" covers; space key for toggle (thanks umbraticus)

--- a/README.md
+++ b/README.md
@@ -74,12 +74,12 @@
 o i                         move to the currently playing track
 enter                       play the selected track
 
-> b    skip next
-< z    skip prev
-v      stop
-p c    pause/resume
-s      toggle shuffle
-q/del  quit
+> b         skip next
+< z         skip prev
+v           stop
+p c space   pause/resume
+s           toggle shuffle
+q/del       quit
 
 /  search forward
 ?  search backwards
--- a/zuke.c
+++ b/zuke.c
@@ -62,7 +62,7 @@
 static Rectangle seekbar;
 static int seekmx, newseekmx;
 static double seekoff; /* ms */
-static char *covers[] = {"folder", "cover", "Cover", "scans/CD", "Scans/Front", "Covers/Front"};
+static char *covers[] = {"art", "folder", "cover", "Cover", "scans/CD", "Scans/Front", "Covers/Front"};
 
 static int Scrollwidth;
 static int Scrollheight;
@@ -1134,6 +1134,7 @@
 				break;
 			case 'c':
 			case 'p':
+			case ' ':
 				toggle(playercurr);
 				break;
 			case '/':