Browse Source

Swapped and in dwm_resources

patch-fontkeys
joestandring 5 years ago
parent
commit
77e092e4f1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      functions/dwm_resources.sh

+ 2
- 2
functions/dwm_resources.sh View File

@ -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"


Loading…
Cancel
Save