2016-02-24 03:13:44 +00:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
|
|
|
# demonstrate slant flags and what they look like
|
|
|
|
|
|
|
|
Len=2
|
|
|
|
geom=200x20+10+10
|
|
|
|
bg='%{B#ff000000}'
|
|
|
|
sbg='%{B#ff00ff00}'
|
|
|
|
|
|
|
|
space()
|
|
|
|
{
|
|
|
|
printf %${Len}s
|
|
|
|
}
|
|
|
|
|
|
|
|
echo " \
|
|
|
|
${sbg}%{E${Len}}$(space)${bg} - \
|
|
|
|
${sbg}%{e${Len}}$(space)${bg} - \
|
|
|
|
${sbg}%{D${Len}}$(space)${bg} - \
|
|
|
|
${sbg}%{d${Len}}$(space)${bg} " \
|
2016-02-24 05:02:04 +00:00
|
|
|
| ./lemonbar -g $geom -p -B "#000000"
|