polybar📆 Clear LC_TIME

I have set LC_TIME to tk_TM.utf8 for its date formatting, but this is
cumbersome when calling `cal`.
This commit is contained in:
2021-04-02 18:36:03 +02:00
parent 2a9b9530e9
commit 141e422910

View File

@@ -23,7 +23,7 @@ if [[ $# -eq 0 ]]; then
echo 0 > "$FZF_CAL_TMP"
# Call fzf
cal -wm | fzf "${FZF_ARGS[@]}"
LC_TIME= cal -wm | fzf "${FZF_ARGS[@]}"
exit 0
elif [[ $1 = "-t" ]]; then
TITLE=polybar-datetime-calendar
@@ -49,5 +49,5 @@ else
fi
# Print calendar
cal -wm $(date +"%m %Y" -d "$counter months ago")
LC_TIME= cal -wm $(date +"%m %Y" -d "$counter months ago")
fi