add new lemonbar

This commit is contained in:
Agnosto Dvonik 2023-02-21 17:28:40 -05:00
parent 3d9bdf7b18
commit f2d740b8f9
1 changed files with 3 additions and 2 deletions

View File

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