diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-08-24 14:02:11 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-08-24 14:02:11 +0900 |
| commit | 130e628ab35de45226fb5b88f103c1938dacfc63 (patch) | |
| tree | 22659cf6da6c8d03e9580c2a7b0aad04058a355f /mac/.config/sketchybar/items/battery.sh | |
| parent | a311b30a10e90e3f878937bcf722daa8e75b68c1 (diff) | |
modified .gnupg/gpg-agent.conf, created sketchybar/
Diffstat (limited to 'mac/.config/sketchybar/items/battery.sh')
| -rwxr-xr-x | mac/.config/sketchybar/items/battery.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mac/.config/sketchybar/items/battery.sh b/mac/.config/sketchybar/items/battery.sh new file mode 100755 index 0000000..7955060 --- /dev/null +++ b/mac/.config/sketchybar/items/battery.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +battery=( + script="$PLUGIN_DIR/battery.sh" + icon.font="$FONT:Regular:19.0" + padding_right=3 + padding_left=0 + label.drawing=off + update_freq=120 + updates=on +) +sketchybar --add item battery right \ + --set battery "${battery[@]}"\ + icon.font.size=15 update_freq=120 script="$PLUGIN_DIR/battery.sh" \ + --subscribe battery power_source_change system_woke + |
