summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/defaults/apps.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py
index cd745ff8..8c766419 100644
--- a/ranger/defaults/apps.py
+++ b/ranger/defaults/apps.py
@@ -140,7 +140,9 @@ class CustomApplications(Applications):
 		if c.mode in arg: # mode 1, 2 and 3 will set the image as the background
 			return tup('feh', arg[c.mode], c.file.path)
 		if c.mode is 11 and len(c.files) is 1: # view all files in the cwd
-			return tup('feh', self.fm.env.cwd.path, '--start-at', *c)
+			directory = self.fm.env.get_directory(c.file.dirname)
+			images = (f.basename for f in directory.files if f.image)
+			return tup('feh', '--start-at', c.file.basename, *images)
 		return tup('feh', *c)
 
 	@depends_on('aunpack')
ion' href='/acidbong/suckless/dwm/blame/config.default.h?h=master&id=66c699a7018ef681334d9df42c98990c3dc82673'>^
0045ad8 ^
fbd3109 ^




d2dd58e ^
b515765 ^
f196b71 ^
3794c62 ^

f196b71 ^



5871008 ^
f196b71 ^



3794c62 ^
f196b71 ^
3794c62 ^
f196b71 ^
3794c62 ^

5871008 ^
3794c62 ^
352cae4 ^
f196b71 ^
5871008 ^
3794c62 ^
f196b71 ^

b515765 ^
b515765 ^
19dcbc5 ^
2c477cf ^



ba96131 ^

27b0595 ^

2c477cf ^

5871008 ^
2c477cf ^







































b515765 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96