worf: Update yabay/sketchybar/alacritty config
This commit is contained in:
15
hosts/worf/sketchybar/items/battery.sh
Executable file
15
hosts/worf/sketchybar/items/battery.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
battery=(
|
||||
script="$PLUGIN_DIR/battery.sh"
|
||||
icon.font="$FONT:Regular:19.0"
|
||||
padding_right=5
|
||||
padding_left=0
|
||||
label.drawing=off
|
||||
update_freq=120
|
||||
updates=on
|
||||
)
|
||||
|
||||
sketchybar --add item battery right \
|
||||
--set battery "${battery[@]}" \
|
||||
--subscribe battery power_source_change system_woke
|
||||
Reference in New Issue
Block a user