Please bear with us as we work to restore functionality to dotfiles.org.
urukrama
/~/.awesome/awesome-clock
My clock widget for awesome
#!/bin/sh
#
while true
do
if [ -S ~/.awesome_ctl.0 ]; then
while true
do
# See 'man date' to see the possible replacements for the % fields.
# uncomment the following line for use with awesome 2.3
echo "0 widget_tell mystatusbar clock text " " `date +\"%H:%M \"`"
#echo "0 widget_tell clock " " `date +\"%a, %b %d %I:%M %p\"`"
echo "" # an empty line flushes data inside awesome
sleep 1
done | awesome-client
else
sleep 1
fi
done