From 07d294425a98ee5d1e22d03e2b24ae2c76e487c0 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sat, 23 Aug 2025 12:42:37 +0900 Subject: updates --- mac/.config/sketchybar.mon/items/weather.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 mac/.config/sketchybar.mon/items/weather.sh (limited to 'mac/.config/sketchybar.mon/items/weather.sh') diff --git a/mac/.config/sketchybar.mon/items/weather.sh b/mac/.config/sketchybar.mon/items/weather.sh new file mode 100755 index 0000000..287354d --- /dev/null +++ b/mac/.config/sketchybar.mon/items/weather.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +# Load global styles, colors and icons +source "$CONFIG_DIR/globalstyles.sh" + +weather=( + script="$PLUGIN_DIR/weather.sh" + "${menu_defaults[@]}" + popup.align=right + update_freq=300 + updates=on + click_script="sketchybar --set $NAME popup.drawing=toggle; open -a /System/Applications/Weather.app" + --subscribe weather wifi_change + mouse.entered + mouse.exited + mouse.exited.global +) + +sketchybar \ + --add item weather right \ + --set weather "${weather[@]}" \ + --add item weather.details popup.weather \ + --set weather.details "${menu_item_defaults[@]}" icon.drawing=off -- cgit v1.2.3