diff --git a/functions/dwm_resources.sh b/functions/dwm_resources.sh index aad2bf9..09e16d4 100755 --- a/functions/dwm_resources.sh +++ b/functions/dwm_resources.sh @@ -11,8 +11,8 @@ dwm_resources () { # CPU temperature CPU=$(sysctl -n hw.sensors.cpu0.temp0 | cut -d. -f1) # Used and total storage in /home (rounded to 1024B) - STOUSED=$(df -h | grep '/home' | awk '{print $2}') - STOTOT=$(df -h | grep '/home' | awk '{print $3}') + STOUSED=$(df -h | grep '/home' | awk '{print $3}') + STOTOT=$(df -h | grep '/home' | awk '{print $2}') STOPER=$(df -h | grep '/home' | awk '{print $5}') printf "[\U1F5A5 MEM $MEMUSED/$MEMTOT CPU $CPU STO $STOUSED/$STOTOT: $STOPER%]\n"