ZyX d62336f7a2 Add a way to specify configuration paths to powerline-config
One still cannot override various configuration options from the command-line.
2014-11-29 19:32:27 +03:00

17 lines
422 B
Python

# vim:fileencoding=utf-8:noet
from __future__ import (unicode_literals, division, absolute_import, print_function)
from powerline import Powerline
class TmuxPowerline(Powerline):
def init(self, config_paths):
self.paths = config_paths
return super(TmuxPowerline, self).init('tmux')
def get_config_paths(self):
if self.paths:
return self.paths
else:
return super(TmuxPowerline, self).get_config_paths()