Unverified Commit 5dc616ea authored by reiseb's avatar reiseb
Browse files

change play/pause to playing/paused to improve UX

parent b393f375
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1206,7 +1206,7 @@ file
.
.It %a
.
Information about slideshow state (play/pause)
Information about slideshow state (playing/paused)
.
.It %f
.
+1 −1
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ INDEX MODE OPTIONS
                           font is specified, a title will not be printed

FORMAT SPECIFIERS
 %a     information about slideshow state (play/pause)
 %a     information about slideshow state (playing/paused)
 %f     image path/filename
 %F     image path/filename (shell-escaped)
 %g     window dimensions (\"width,height\") in pixels
+2 −2
Original line number Diff line number Diff line
@@ -399,10 +399,10 @@ char *feh_printf(char *str, feh_file * file, winwidget winwid)
			switch (*c) {
			case 'a':
				if (opt.paused == 1) {
				   strncat(ret, "pause", sizeof(ret) - strlen(ret) - 1);
				   strncat(ret, "paused", sizeof(ret) - strlen(ret) - 1);
				}
				else {
				   strncat(ret, "play", sizeof(ret) - strlen(ret) - 1);
				   strncat(ret, "playing", sizeof(ret) - strlen(ret) - 1);
				}
				break;
			case 'f':