add new lemonbar

This commit is contained in:
Agnosto Dvonik 2023-02-21 17:28:40 -05:00
parent 3d9bdf7b18
commit f2d740b8f9

View File

@ -38,7 +38,8 @@ while true; do
used=$(used) used=$(used)
batt=$(batt) batt=$(batt)
wttr=$(cat "$HOME/share/misc/wttr") wttr=$(cat "$HOME/share/misc/wttr")
win=$( (xdotool getactivewindow getwindowname 2>/dev/null) || echo "Idle")
echo " $date $wttr%{r}$me $version $chkinet $used $batt " echo " $date $wttr | $win%{r}$me $version $chkinet $used $batt "
sleep 0.5 sleep 0.25
done done