From ab00bf4d2a1a0835b9382a238b959caae3d55989 Mon Sep 17 00:00:00 2001 From: Raphael Scholer Date: Fri, 14 Oct 2016 15:16:07 +0200 Subject: [PATCH] moc - Remove all references to cmus --- i3pystatus/moc.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/i3pystatus/moc.py b/i3pystatus/moc.py index 01466c1..3d43964 100644 --- a/i3pystatus/moc.py +++ b/i3pystatus/moc.py @@ -24,9 +24,9 @@ class Moc(IntervalModule): settings = ( ('format', 'formatp string'), - ('format_not_running', 'Text to show if cmus is not running'), + ('format_not_running', 'Text to show if MOC is not running'), ('color', 'The color of the text'), - ('color_not_running', 'The color of the text, when cmus is not running'), + ('color_not_running', 'The color of the text, when MOC is not running'), ('status', 'Dictionary mapping status to output'), ) @@ -50,7 +50,7 @@ class Moc(IntervalModule): cmdline = 'mocp --{command}'.format(command=command) return run_through_shell(cmdline, enable_shell=True) - def _query_cmus(self): + def _query_moc(self): response = {} # Get raw information @@ -65,7 +65,7 @@ class Moc(IntervalModule): return response def run(self): - response = self._query_cmus() + response = self._query_moc() if response: fdict = {