1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-11-15 06:51:12 +00:00
dotfiles/.config/polybar/scripts/custom_date

8 lines
212 B
Plaintext
Raw Normal View History

2021-08-07 17:07:54 +00:00
#!/usr/bin/env bash
2020-03-16 18:47:08 +00:00
date=$(date "+%H:%M | %d de %B")
hour_minute=$(echo "$date" | cut -f 1 -d"|")
day_of_month=$(echo "$date" | cut -f 2 -d"|")
echo "%{F#F5A70A}%{T4}${hour_minute}%{F-}%{T-}" \|"$day_of_month"