chronosquirrel-bitbar.1s.pl
The current task status (taskname and task time) is displayed on the OSX menubar. If a task isn't active, then "Off Clock" and the time off-clock will be displayed.
Clicking on that display brings up a menu of the active tasks. Selecting one of those tasks makes that the current task. The menu menu is divided up based on billable and nonbillable tasks. Within each of those lists, the tasks are sorted by the tasks' ordering numbers.
The 1s in the chronosquirrel-bitbar.1s.pl name tells BitBar to run the script once a second. This causes the displayed time to be updated every second. The 1s can be changed to another time interval -- such as 5s for five seconds, 21s for 21 seconds, 8m for eight minutes, or 1d for once per day. If once every second is too fast, then changing the script name will alter the frequency as desired.
NOTE: chronosquirrel-bitbar.1s.pl is only intended for use with BitBar. It may be used from the command line, but there isn't really any benefit to doing so.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.