mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
chezmoi: macOS
This commit is contained in:
parent
fff9275372
commit
c1a63e4658
39 changed files with 10 additions and 284 deletions
10
home/dot_config/sketchybar/plugins/executable_calendar.sh
Normal file
10
home/dot_config/sketchybar/plugins/executable_calendar.sh
Normal 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