dracula / dracula/tmux

Bug: Stuck on Fahrenheit

Open
#212 1 comment 22 reactions 0 assignees View on GitHub
bug
Dominant language
Shell
Stars
856
Forks
368
Avg merge
2m
Merged PRs (30d)
1

Description

### Describe the bug
The temp in the theme seems 'stuck' on Fahrenheit, even though `set -g @dracula-show-fahrenheit false` is set.

The way to fix this is to run `tmux source .tmux.conf`

### To Reproduce
Steps to reproduce the behavior:
1. run theme standard, no modification, except for the above mentioned set -g
2. temp should show in F
3. run `tmux source .tmux.conf`
4. it changes then.

### Expected behavior
Display temp in C as set in .tmux.conf

### Screenshots
![Screenshot 2023-05-12 at 16 53 42](https://github.com/dracula/tmux/assets/53059938/c8424f0b-a529-4b56-9e6f-533ec6a511ae)

### System
- OS: MacOS 12.6.5
- Tmux Version:

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with tmux using `set -g @dracula-show-fahrenheit false`, then compare the initial configuration load with `tmux source .tmux.conf`. Trace how the temperature setting is read from `.tmux.conf`; done means the display shows Celsius immediately after startup without manually sourcing the configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.