mirror of
https://github.com/mr0xb/dotfiles.git
synced 2026-08-28 11:54:57 -04:00
updates
This commit is contained in:
parent
bc4d4c403a
commit
715eb53860
57 changed files with 7755 additions and 3 deletions
14
.config/sketchybar/plugins/calendar.sh
Executable file
14
.config/sketchybar/plugins/calendar.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Calendar plugin with proper date formatting
|
||||
|
||||
# Get current date components
|
||||
DAY=$(date '+%d')
|
||||
MONTH_DAY=$(date '+%a %b %d')
|
||||
TIME=$(date '+%H:%M')
|
||||
|
||||
# Remove leading zero from day for icon
|
||||
ICON_DAY=$(date '+%-d')
|
||||
|
||||
# Format the display
|
||||
sketchybar --set "$NAME" icon="$ICON_DAY" label="$MONTH_DAY $TIME"
|
||||
Loading…
Reference in a new issue