1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-12-11 05:52:21 -05:00
dotfiles/cfg/i3blocks/laptop/blocks/datetime
2017-07-26 11:05:09 -07:00

8 lines
123 B
Bash
Executable File

#!/bin/bash
FORMAT="${BLOCK_INSTANCE:-%H:%M}"
DATETIME=$(date "+${FORMAT}")
echo "${DATETIME}"
echo "${DATETIME}"
echo ""