Skip to content

Commit

Permalink
updated clock unicode and cleaned up formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
xavluiz committed Dec 11, 2020
1 parent d2541a9 commit 4f9b76b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/SoftwareHttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def toggleStatus():
showStatus(lastMsg)
else:
# show clock icon unicode
showStatus("")
showStatus("🕒")
sublime.active_window().run_command('open_tree_view')

# update the status bar message
Expand All @@ -38,7 +38,7 @@ def showStatus(msg):
showStatusVal = getValue("show_code_time_status", True)

if (showStatusVal is False):
msg = ""
msg = "🕒"
elif (msg is None):
msg = "Code Time"

Expand Down
4 changes: 2 additions & 2 deletions lib/SoftwareStatusManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ def updateStatusBarWithSummaryData():
currentDayMinutes = int(codeTimeSummary.get("activeCodeTimeMinutes", 0))
averageDailyMinutes = int(sessionSummaryData.get("averageDailyMinutes", 0))

inFlowIcon = "🕑"
inFlowIcon = "🕒"
if (currentDayMinutes > averageDailyMinutes):
inFlowIcon = "🚀"

currentDayMinStr = humanizeMinutes(currentDayMinutes)
statusMsg = inFlowIcon + "" + currentDayMinStr
statusMsg = inFlowIcon + " " + currentDayMinStr

showStatus(statusMsg)

0 comments on commit 4f9b76b

Please sign in to comment.