tmux-kanagawa/README.md
Cam Spiers 01f6825ee0 [Feature] Provides ability to disable weather fetching and display
Personally, displying the weather doesn't have a lot of use for me
but additionally I ran into an issue where the API you are using
ratelimited call from my IP address, I guess because it was
overfetching.

This doesn't fix the ratelimited issue, but instead at least gives
people the ability to turn the feature off.

Test Plan:

In `~/.tmux.conf` set the following:

```
set -g @plugin 'tmux-plugins/tpm'
set -g @dracula-show-weather false
set -g @plugin 'camspiers/tmux'
run -b '~/.local/share/tmux/plugins/tpm/tpm'
```

Ensure that weather module no longer loads.

In `~/.tmux.conf` set the following:

```
set -g @plugin 'tmux-plugins/tpm'
set -g @dracula-show-weather true
set -g @plugin 'camspiers/tmux'
run -b '~/.local/share/tmux/plugins/tpm/tpm'
```

Ensure that weather module does stil load.
2020-04-10 13:35:43 +12:00

48 lines
1.4 KiB
Markdown

# Dracula for [tmux](https://github.com/tmux/tmux/wiki)
> A dark theme for [tmux](https://github.com/tmux/tmux/wiki)
![Screenshot](./screenshot.png)
## Install
All instructions can be found at [draculatheme.com/tmux](https://draculatheme.com/tmux).
## Features
* Day, date, time, timezone
* Current location based on network with temperature and forecast icon (if available)
* Network connection status and SSID
* Battery percentage and AC power connection status
* Color code based on if prefix is active or not
* List of windows with current window highlighted
* When prefix is enabled smiley face turns from green to yellow
* When charging, 'AC' is displayed
* If forecast information is available, a ☀, ☁, ☂, or ❄ unicode character corresponding with the forecast is displayed alongside the temperature
## Compatibility
Compatible with macOS and Linux. Tested on tmux 3.0a
## Options
### `@dracula-show-weather`
The weather module can be disabled by adding the following line to your
`~/.tmux.conf`:
```
set -g @dracula-show-weather false
```
## Team
This theme is maintained by the following person(s) and a bunch of [awesome contributors](https://github.com/dracula/tmux/graphs/contributors).
[![Dane Williams](https://avatars3.githubusercontent.com/u/22798229?v=4&s=70)](https://github.com/danerwilliams) |
--- |
[Dane Williams](https://github.com/danerwilliams) |
## License
[MIT License](./LICENSE)