Pulling then pushing.

This commit is contained in:
Derek Taylor
2020-02-16 23:15:06 -06:00
parent 08bb21b269
commit 2c0c2ae9a7
33 changed files with 572 additions and 609 deletions

View File

@@ -5,12 +5,17 @@ urxvtd -q -o -f &
dte(){
dte="$(date +"%A, %B %d | 🕒 %l:%M%p")"
echo -e "$dte"
echo -e "📅 $dte"
}
upd(){
upd=`checkupdates | wc -l`
echo -e "⟳ $upd updates"
}
mem(){
mem=`free | awk '/Mem/ {printf "%d MiB/%d MiB\n", $3 / 1024.0, $2 / 1024.0 }'`
echo -e "🖪 $mem"
echo -e "🖪 $mem"
}
cpu(){
@@ -20,7 +25,7 @@ cpu(){
read cpu a b c idle rest < /proc/stat
total=$((a+b+c+idle))
cpu=$((100*( (total-prevtotal) - (idle-previdle) ) / (total-prevtotal) ))
echo -e "💻 $cpu% cpu"
echo -e "💻 $cpu% cpu"
}
while true; do