Ranger: chm support.

master
Pierre Neidhardt 2013-01-29 14:27:52 +01:00
parent 4d65e977f5
commit be939aa5fc
1 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,11 @@ class CustomApplications(DefaultApps):
c.flags += 'd'
return self.either(c, 'zathura', 'evince')
# CUSTOM
if f.extension == 'chm':
c.flags += 'd'
return self.either(c, 'xchm')
if f.extension == 'ps':
c.flags += 'd'
return self.either(c, 'zathura', 'evince')