summaryrefslogtreecommitdiff
path: root/.local/bin/lemonbar/run_lemonbar.sh
blob: 1e5f96777cfd508a01ce77c2c3af5590da23a16f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
basedir=$(dirname $0)
cd $basedir

fontsize="16"
font="DejaVu Sans Mono:style=Bold,size=${fontsize}"
# powerline-fonts-git aur package
iconsfont="xos4 Terminess Powerline:size=${fontsize}"

rm -rf /tmp/lemonbar
mkdir /tmp/lemonbar
while :; do
    printf "%s\n" "$(python3 bargen.py)"
    sleep 0.5
done | lemonbar -f "${font}" -f "${iconsfont}" -p

wait