1
0
mirror of https://github.com/sameer1612/.dotfiles.git synced 2025-02-19 19:10:07 +02:00

added clock

This commit is contained in:
Sameer Kumar 2024-09-27 19:06:49 +05:30
parent b76b09ce5d
commit 4fd6899a24
2 changed files with 5 additions and 0 deletions

View File

@ -5,3 +5,4 @@
# https://felixkratz.github.io/SketchyBar/config/events#events-and-scripting
sketchybar --set "$NAME" label="$(date '+%I:%M %p')"
sketchybar --set $NAME background.color=0x12ffffff

View File

@ -20,6 +20,10 @@ sketchybar --default "${default[@]}"
sketchybar --add event aerospace_workspace_change
sketchybar --add item clock right \
--set workspace background.color=0x12ffffff \
--set clock update_freq=10 script="$PLUGIN_DIR/clock.sh"
sketchybar --add item workspace right \
--subscribe workspace aerospace_workspace_change \
--set workspace background.color=0x12ffffff \