add new lemonbar
This commit is contained in:
parent
3d9bdf7b18
commit
f2d740b8f9
5
bin/bar
5
bin/bar
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user