summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-12-25 06:26:18 +0100
committerhut <hut@lavabit.com>2009-12-25 06:26:18 +0100
commitfd04cd6f354d7b6abdf55998253ff9a0ab55ecb2 (patch)
treeb6ceb60147bd03d78b3077a4b9f3701fbed294c2
parentc8d84d00591a7025d0512eed551cb96302e31229 (diff)
downloadranger-fd04cd6f354d7b6abdf55998253ff9a0ab55ecb2.tar.gz
customized process manager (colors, hotkeys, title)
-rw-r--r--ranger/colorschemes/default.py3
-rw-r--r--ranger/defaults/keys.py4
-rw-r--r--ranger/gui/widgets/process_manager.py2
3 files changed, 4 insertions, 5 deletions
diff --git a/ranger/colorschemes/default.py b/ranger/colorschemes/default.py
index 69397800..e4c81e14 100644
--- a/ranger/colorschemes/default.py
+++ b/ranger/colorschemes/default.py
@@ -85,8 +85,7 @@ class Default(ColorScheme):
 
 		if context.in_pman:
 			if context.title:
-				attr |= reverse
-				fg = cyan
+				fg = blue
 
 			if context.selected:
 				attr |= reverse
diff --git a/ranger/defaults/keys.py b/ranger/defaults/keys.py
index fe657fdd..8f74756b 100644
--- a/ranger/defaults/keys.py
+++ b/ranger/defaults/keys.py
@@ -137,7 +137,7 @@ def initialize_commands(command_list):
 	bind('h', KEY_LEFT, KEY_BACKSPACE, DEL, lambda fm, n: \
 			fm.move_left(n or 1))
 
-	bind('P', lambda fm, n: fm.ui.open_pman())
+	bind('w', lambda fm, n: fm.ui.open_pman())
 
 	command_list.rebuild_paths()
 
@@ -207,6 +207,6 @@ def initialize_process_manager_commands(command_list):
 	bind('J', lambda wdg, n: wdg.process_move(-1))
 
 	bind('dd', do('process_remove'))
-	bind('P', ESC, ctrl('d'), lambda wdg, n: wdg.fm.ui.close_pman())
+	bind('w', ESC, ctrl('d'), lambda wdg, n: wdg.fm.ui.close_pman())
 
 	command_list.rebuild_paths()
diff --git a/ranger/gui/widgets/process_manager.py b/ranger/gui/widgets/process_manager.py
index 7a0f8357..a9c44640 100644
--- a/ranger/gui/widgets/process_manager.py
+++ b/ranger/gui/widgets/process_manager.py
@@ -45,7 +45,7 @@ class ProcessManager(Widget, Accumulator):
 		if not self.pointer_is_synced():
 			self.sync_index()
 
-		self.win.addnstr(self.y, self.x, "  Process Manager", self.wid)
+		self.win.addnstr(self.y, self.x, "Process Manager", self.wid)
 		self.color_at(self.y, self.x, self.wid, base_clr, 'title')
 
 		if lst:
941bf90a5ccd5b4d'>240394a4 ^
7dc8fef8 ^
9e89f023 ^
36e4e71e ^
20ab9343 ^

20ab9343 ^





4ea0f69a ^

240394a4 ^
7dc8fef8 ^
36e4e71e ^

4a383291 ^
78a7d762 ^
e952d6cb ^
78a7d762 ^
e952d6cb ^
4ea0f69a ^

7838675f ^

07069888 ^

07069888 ^
7838675f ^

1891697f ^
755e7df1 ^
a3d5f44b ^
66a8d4ff ^
7838675f ^
7dc8fef8 ^
500cf259 ^


7dc8fef8 ^



240394a4 ^



240394a4 ^
7dc8fef8 ^
240394a4 ^




7dc8fef8 ^
240394a4 ^



e5fb3d74 ^
240394a4 ^

240394a4 ^
7dc8fef8 ^



7b33b517 ^

176e8a68 ^
7b33b517 ^
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
97