mirror of
https://github.com/wakatime/sublime-wakatime.git
synced 2023-08-10 21:13:02 +03:00
ability to disable status bar message
This commit is contained in:
parent
17404bf848
commit
cb2d126c47
@ -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):
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user