Skip to content
Snippets Groups Projects
Commit 39f3eab4 authored by Dennis Real's avatar Dennis Real
Browse files

Merge branch 'master' of git://github.com/derf/feh

parents a3d28a95 f9609945
No related branches found
No related tags found
No related merge requests found
......@@ -873,6 +873,10 @@ Image width
.Nm
version
.
.It %V
.
Process ID
.
.It %z
.
current image zoom
......
......@@ -508,6 +508,10 @@ char *feh_printf(char *str, feh_file * file, winwidget winwid)
case 'v':
strcat(ret, VERSION);
break;
case 'V':
snprintf(buf, sizeof(buf), "%d", getpid());
strcat(ret, buf);
break;
case 'w':
if (file && (file->info || !feh_file_info_load(file, NULL))) {
snprintf(buf, sizeof(buf), "%d", file->info->width);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment