1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-11-20 14:21:13 +00:00
dotfiles/.config/polybar/scripts/custom_date

8 lines
212 B
Bash
Executable File

#!/usr/bin/env 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"