summaryrefslogtreecommitdiff
path: root/mac/.config/sketchybar/items/battery.sh
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-23 12:42:37 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-23 12:42:37 +0900
commit07d294425a98ee5d1e22d03e2b24ae2c76e487c0 (patch)
treea6818f0d64438c5fdb88b00a35d944f80c056213 /mac/.config/sketchybar/items/battery.sh
parent6fc28cdb3529ca8ee864cb5c41674cb0a4af72a1 (diff)
updates
Diffstat (limited to 'mac/.config/sketchybar/items/battery.sh')
-rw-r--r--mac/.config/sketchybar/items/battery.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/mac/.config/sketchybar/items/battery.sh b/mac/.config/sketchybar/items/battery.sh
deleted file mode 100644
index 758547b..0000000
--- a/mac/.config/sketchybar/items/battery.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/env/bash
-
-battery=(
- "${menu_defaults[@]}"
- icon.font.size=16
- icon.font.style="Light"
- label.drawing=off
- update_freq=60
- popup.align=right
- click_script="sketchybar --set battery popup.drawing=toggle"
- script="$PLUGIN_DIR/battery.sh"
- updates=when_shown
-)
-
-sketchybar \
- --add item battery right \
- --set battery "${battery[@]}" \
- --subscribe battery power_source_change \
- mouse.entered \
- mouse.exited \
- mouse.exited.global \
- --add item battery.details popup.battery \
- --set battery.details "${menu_item_defaults[@]}" icon.drawing=off label.padding_left=0