/albert_timezones

Show times in a list of timezones

Primary LanguagePython

Albert Launcher Timezones Extension

Show times in a list of timezones.

Install

To install, copy or symlink this directory to ~/.local/share/albert/org.albert.extension.python/modules/timezones/.

Config

Config is stored in ~/.config/albert/albert.timezones/settings.json.

Synonyms can be added for pytz.timezone timezone names.

Example config:

{
  "Melbourne": "Australia/Melbourne",
  "Netherlands": "Europe/Amsterdam"
}

Development Setup

To setup the project for development, run:

$ cd timezones/
$ pre-commit install --hook-type pre-commit --hook-type commit-msg

To lint and format files, run:

$ pre-commit run --all-files