Browse Source

date also ok

main
parent
commit
a26841ab9e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bar-functions/dwm_date.sh

+ 2
- 2
bar-functions/dwm_date.sh View File

@ -7,10 +7,10 @@
# Date is formatted like like this: "[Mon 01-01-00 00:00:00]"
dwm_date () {
printf "%s" "$SEP1"
if [ "$IDENTIFIER" = "unicode" ]; then
if [ "$IDENTIFIER" = "" ]; then
printf "📆 %s" "$(date "+%a %d-%m-%y %T")"
else
printf "DAT %s" "$(date "+%a %d-%m-%y %T")"
printf " %s" "$(date "+%a %d/%m/%y %R")"
fi
printf "%s\n" "$SEP2"
}


Loading…
Cancel
Save