#!/bin/sh updateClock() { echo "0 widget_tell tb_date $(date +' %H:%M ')" | \ awesome-client } while true; do updateClock sleep 10; done