#!/bin/sh
#
# z3bra - (c) wtfpl 2014
# Create a small popup with the given text

# bar options
font="-*-creep-*-*-*--16-*-*-*-*-*-*-1"
bg="#ff040201"
fg="#ffdfd5d2"

x=$(wattr w `lsw -r`)
y=$(wattr h `lsw -r`)

width=180
height=20

offy=10
offx=$(( x - 14 - $width ))

geom=${width}x${height}+${offx}+${offy}

skroll -r -n25 | lemonbar -d -g $geom -f $font -B $bg -F $fg
