Skip to content

Instantly share code, notes, and snippets.

@xero
Last active March 7, 2018 13:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xero/39b15467d9ef86a0f24479b71c5816cf to your computer and use it in GitHub Desktop.
Save xero/39b15467d9ef86a0f24479b71c5816cf to your computer and use it in GitHub Desktop.
#!/bin/sh
# ██ ██
# ░██ ░██
# █████ ░██ ██████ █████ ░██ ██
# ██░░░██ ░██ ██░░░░██ ██░░░██░██ ██
# ░██ ░░ ░██░██ ░██░██ ░░ ░████
# ░██ ██ ░██░██ ░██░██ ██░██░██
# ░░█████ ███░░██████ ░░█████ ░██░░██
# ░░░░░ ░░░ ░░░░░░ ░░░░░ ░░ ░░
#
# ▓▓▓▓▓▓▓▓▓▓
# ░▓ author ▓ xero <x@xero.nu>
# ░▓ code ▓ http://code.xero.nu/dotfiles
# ░▓ mirror ▓ http://git.io/.files
# ░▓▓▓▓▓▓▓▓▓▓
# ░░░░░░░░░░
#
#█▓▒░ lemonbar clock
f="-Gohu-GohuFont-Medium-R-Normal--11-80-100-100-C-60-ISO10646-1"
fg='#ffd0d8e0'
bg='#ff111111'
while :; do
echo "%{c} $(date "+%H:%M %Y-%m-%d")%{c}"
sleep 1 || break
done | lemonbar -d -p -g 111x16+40+0 -f $f -B $bg -F $fg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment