fix: ddate in bar date

This commit is contained in:
winston 2022-10-25 20:07:06 +02:00
parent 63a9359c47
commit 3ed67c2c2b
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
if [[ -x "$(command -v ddate)" ]]; then
ddate +"%{%a, %b %e%N%nCelebrate %H\!%}"
ddate +"%{%a, %b %e%N%nCelebrate %H!%}"
else
date +'%A, %b %d'
fi