Should Intermittent Vengeance Arm Again His Right Red Hand To Plague Us?
o de sempre, 2bwm com barra e agora um neofetch "tematico"
Nem tudo que é ouro fulgura, nem todo vagante é vadio.
O velho que é forte perdura, raiz funda não sofre frio.
Das cinzas um fogo há de vir, das sombras a luz vai jorrar;
A espada há de, nova, luzir,
O sem corôa há de reinar
#!/bin/sh
# configuration
browser="Chromium"
refresh_rate=0.75
_title() {
# wname belongs to wmutils/core, we use head -c 50
# to cut the wname output into the first chars, we also
# use sed to remove the qutebrowser string on the end
# it doesn't harm any other browser
title="$(xtitle "$(pfw)" | sed -e "s|- ${browser}||g" | head -c 50)"
if [ -z "$title" ]; then
title="Nothing to focus but the Void"
fi
printf "%s\\n" "$title"
}
_barfont=" tewi:size=9"
_barbg="$(xrdb -query | grep background | awk '{print $2}')"
_barfg="$(xrdb -query | grep foreground | awk '{print $2}')"
_bargeo="320x24+10+10"
while :; do
bar_input="%{c} $(_title)"
echo "$bar_input"
sleep ${refresh_rate}
done | lemonbar -f "${_barfont}" \
-B "${_barbg}" \
-F "${_barfg}" \
-g "${_bargeo}" \
-d -b
Muito bom!