aboutsummaryrefslogtreecommitdiff
path: root/wmutils/bin/clock
blob: 2e45acd5d2ca0774d9ab4bfe6abd705ac9ff18fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
#           ██                  ██    
#          ░██                 ░██    
#   █████  ░██  ██████   █████ ░██  ██
#  ██░░░██ ░██ ██░░░░██ ██░░░██░██ ██ 
# ░██  ░░  ░██░██   ░██░██  ░░ ░████  
# ░██   ██ ░██░██   ░██░██   ██░██░██ 
# ░░█████  ███░░██████ ░░█████ ░██░░██
#  ░░░░░  ░░░  ░░░░░░   ░░░░░  ░░  ░░ 
#
#  ▓▓▓▓▓▓▓▓▓▓
# ░▓ author ▓ xero <x@xero.nu>
# ░▓ code   ▓ http://code.xero.nu/dotfiles
# ░▓ mirror ▓ http://git.io/.files
# ░▓▓▓▓▓▓▓▓▓▓
# ░░░░░░░░░░
#
#█▓▒░ lemonbar wgrp display

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 110x16+48+0 -f $f -B $bg -F $fg