#!/bin/sh updateClock() { echo "1 widget_tell tb_date $(date +'%a, %b %d %I:%M%p')" | \ awesome-client } while true; do updateClock sleep 10; done