diff --git a/WakaTime.py b/WakaTime.py index 77c94f1..05188b8 100644 --- a/WakaTime.py +++ b/WakaTime.py @@ -229,7 +229,8 @@ class SendActionThread(threading.Thread): print('[WakaTime] Error: Unable to find python binary.') def sent(self): - sublime.set_timeout(lambda: self.view.set_status('wakatime', 'WakaTime heartbeat sent {0}'.format(datetime.now().strftime('%A %b %d %Y at %I:%M %p %Z'))), 0) + if SETTINGS.get('status_bar_message'): + sublime.set_timeout(lambda: self.view.set_status('wakatime', 'WakaTime active {0}'.format(datetime.now().strftime('%I:%M %p'))), 0) sublime.set_timeout(self.set_last_action, 0) def set_last_action(self): diff --git a/WakaTime.sublime-settings b/WakaTime.sublime-settings index cff3183..c87729a 100644 --- a/WakaTime.sublime-settings +++ b/WakaTime.sublime-settings @@ -12,5 +12,9 @@ "ignore": ["^/tmp/", "^/etc/", "^/var/"], // Debug mode. Set to true for verbose logging. Defaults to false. - "debug": false + "debug": false, + + // Status bar message. Set to false to hide status bar message. + // Defaults to true. + "status_bar_message": true }