1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-24 18:46:48 +00:00
dotfiles/.config/polybar/scripts/custom_date

8 lines
204 B
Plaintext
Raw Normal View History

2020-03-16 18:47:08 +00:00
#!/bin/bash
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"