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

8 lines
204 B
Bash
Executable File

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