Skip to content

Commit

Permalink
修复date脚本颜色
Browse files Browse the repository at this point in the history
  • Loading branch information
yaocccc committed Jun 14, 2023
1 parent 26a8b05 commit 0c8a49f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion DEF/statusbar/packages/date.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ update() {
}

notify() {
_cal=$(cal --color=always | sed 1,2d | sed 's/..7m/<b><span color="#ff79c6">/;s/..27m/<\/span><\/b>/' )
_cal=$(cal --color=always | sed 1,2d | sed 's/..7m/<b><span color="#ff79c6">/;s/..0m/<\/span><\/b>/')
_todo=$(cat ~/.todo.md | sed 's/\(- \[x\] \)\(.*\)/<span color="#ff79c6">\1<s>\2<\/s><\/span>/' | sed 's/- \[[ |x]\] //')
notify-send " Calendar" "\n$_cal\n————————————————————\n$_todo" -r 9527
}
Expand Down
18 changes: 0 additions & 18 deletions DEF/translate.sh

This file was deleted.

0 comments on commit 0c8a49f

Please sign in to comment.