skhd + yabai + sketchybar

This commit is contained in:
Kulvir Singh
2024-09-16 03:19:04 +05:30
parent e775445e9c
commit c8ae27f529
31 changed files with 878 additions and 12 deletions

View File

@@ -0,0 +1,20 @@
#!/usr/bin/env bash
COLOR="$BLUE"
sketchybar --add item battery right \
--set battery \
update_freq=60 \
icon.color="$COLOR" \
icon.padding_left=10 \
label.padding_right=10 \
label.color="$COLOR" \
background.height=21 \
background.corner_radius="$CORNER_RADIUS" \
background.padding_right=5 \
background.border_width="$BORDER_WIDTH" \
background.border_color="$COLOR" \
background.color="$BAR_COLOR" \
background.drawing=on \
script="$PLUGIN_DIR/power.sh" \
--subscribe battery power_source_change