aboutsummaryrefslogtreecommitdiff
path: root/i3/blocks/datetime
blob: 178073faafea339df4fed40e774b10e69cf09c52 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

FORMAT="${BLOCK_INSTANCE:-%H:%M}"
DATETIME=$(date "+${FORMAT}")

echo "${DATETIME}"
echo "${DATETIME}"
echo ""