mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
feat(sketchybar): rebuild sketchybar config
This commit is contained in:
parent
d93d153827
commit
0af876301c
27 changed files with 615 additions and 1059 deletions
10
platforms/mac/sketchybar/plugins/calendar.sh
Executable file
10
platforms/mac/sketchybar/plugins/calendar.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
# vim:ft=bash
|
||||
|
||||
export LC_TIME=zh_CN.UTF-8
|
||||
|
||||
# 获取当前日期,并格式化为“3月3日 星期一”格式
|
||||
DATE=$(date "+%-m月%-d日 %A")
|
||||
|
||||
# 发送到 SketchyBar
|
||||
sketchybar --set $NAME label="$DATE"
|
||||
Loading…
Add table
Add a link
Reference in a new issue