aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Toggle-weather-waybar-units.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts/Toggle-weather-waybar-units.sh')
-rwxr-xr-xconfig/hypr/scripts/Toggle-weather-waybar-units.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/hypr/scripts/Toggle-weather-waybar-units.sh b/config/hypr/scripts/Toggle-weather-waybar-units.sh
index abc089ff..bf0b102e 100755
--- a/config/hypr/scripts/Toggle-weather-waybar-units.sh
+++ b/config/hypr/scripts/Toggle-weather-waybar-units.sh
@@ -7,7 +7,7 @@
# ==================================================
# Toggle waybar-weather units between metric and imperial
-CONFIG_FILE="$HOME/.config/waybar-weather/config.toml"
+CONFIG_FILE="${XDG_CONFIG_HOME:-$HOME/.config}/waybar-weather/config.toml"
if [ ! -f "$CONFIG_FILE" ]; then
notify-send "Weather units" "Config not found: $CONFIG_FILE"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage