Skip to content

Commit

Permalink
Update tmux option names according to the clima module
Browse files Browse the repository at this point in the history
  • Loading branch information
xafarr committed Mar 15, 2024
1 parent a8d0a48 commit 96c0a5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions status/clima.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Requires https://github.com/vascomfnunes/tmux-clima
show_clima() {
local index=$1
local icon="$(get_tmux_option "@catppuccin_weather_icon" "")"
local color="$(get_tmux_option "@catppuccin_weather_color" "$thm_yellow")"
local text="$(get_tmux_option "@catppuccin_weather_text" "#{clima}")"
local icon="$(get_tmux_option "@catppuccin_clima_icon" "")"
local color="$(get_tmux_option "@catppuccin_clima_color" "$thm_yellow")"
local text="$(get_tmux_option "@catppuccin_clima_text" "#{clima}")"

local module=$( build_status_module "$index" "$icon" "$color" "$text" )

Expand Down

0 comments on commit 96c0a5e

Please sign in to comment.