My tmux theme pluging which is a dracula fork
Go to file
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
data fixed default weather.txt contents 2020-03-15 23:19:52 -07:00
scripts [Feature] Provides ability to disable weather fetching and display 2020-04-10 13:35:43 +12:00
.gitmodules trying to get battery to work 2020-03-14 13:36:46 -07:00
INSTALL.md Update INSTALL.md 2020-04-07 19:05:29 -07:00
LICENSE update readme 2020-03-30 23:47:22 -07:00
README.md [Feature] Provides ability to disable weather fetching and display 2020-04-10 13:35:43 +12:00
dracula.tmux reorganized files 2020-03-15 23:15:26 -07:00
screenshot.png prepping for transfer to official organization 2020-04-07 10:39:56 -07:00

README.md

Dracula for tmux

A dark theme for tmux

Screenshot

Install

All instructions can be found at 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.

Dane Williams
Dane Williams

License

MIT License