version 2.0

This commit is contained in:
Dane Williams 2020-03-15 16:41:11 -07:00
parent c176f1a30a
commit 642e458c60
3 changed files with 23 additions and 3 deletions

View file

@ -1,2 +1,22 @@
# tmux-dracula
Color scheme for tmux inspired by the popular Dracula theme
## 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
## Screenshots
## Installation
Use TPM (tmux plugin manager) and add to your .tmux.conf:
`set -g @plugin 'danerwilliams/tmux-dracula'`
Be sure that `run -b '~/.tmux/plugins/tpm/tpm'` is at the bottom of .tmux.config for tpm to work
Restart tmux and then use `prefix + I` (capital I as in Install) to install
## Troubleshooting
Some users have experienced issues where the weather does not load immediately. This can be solved by manually running dracula.tmux:
`~/.tmux/plugins/tmux-dracula/dracula.tmux`

View file

@ -21,7 +21,7 @@ main()
yellow='#f1fa8c'
# start weather script in background
./sleep_weather.sh &
#./sleep_weather.sh &
# set refresh interval
tmux set-option -g status-interval 1
@ -55,7 +55,7 @@ main()
tmux set-window-option -g window-status-format "#[fg=${white}]#[bg=${gray}] #I #W "
# run weather update script in background
#./sleep_weather.sh &
./sleep_weather.sh &
}

View file

@ -9,7 +9,7 @@ main()
./weather.sh > ~/.tmux/plugins/tmux-dracula/weather.txt
if tmux has-session &> /dev/null
then
sleep 1000
sleep 15m
else
break
fi