dotfiles

beau's configuration files
git clone https://git.beauhilton.com/dotfiles.git
Log | Files | Refs | README

memory (274B)


      1 #!/usr/bin/env sh
      2 
      3 case $BLOCK_BUTTON in
      4 	1) notify-send "🧠 Memory hogs" "$(ps axch -o cmd:15,%mem --sort=-%mem | head)" ;;
      5 	3) notify-send "🧠 Memory module" "\- Shows Memory Used/Total.
      6 - Click to show memory hogs." ;;
      7 esac
      8 
      9 free -h | awk '/^Mem:/ {print $3 "/" $2}'