diff options
author | hut <hut@lavabit.com> | 2009-12-25 06:26:18 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-12-25 06:26:18 +0100 |
commit | fd04cd6f354d7b6abdf55998253ff9a0ab55ecb2 (patch) | |
tree | b6ceb60147bd03d78b3077a4b9f3701fbed294c2 /ranger | |
parent | c8d84d00591a7025d0512eed551cb96302e31229 (diff) | |
download | ranger-fd04cd6f354d7b6abdf55998253ff9a0ab55ecb2.tar.gz |
customized process manager (colors, hotkeys, title)
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/colorschemes/default.py | 3 | ||||
-rw-r--r-- | ranger/defaults/keys.py | 4 | ||||
-rw-r--r-- | ranger/gui/widgets/process_manager.py | 2 |
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: |