reorganize directory structure again

This commit is contained in:
David Todd
2021-01-12 18:33:49 -06:00
parent 74ba4615d1
commit 158ccfcea0
63 changed files with 32 additions and 30 deletions

11
home/bin/i3blocks/memory Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
case $BLOCK_BUTTON in
1) notify-send "<b>🧠 Memory hogs:</b>
$(ps axch -o cmd:15,%mem --sort=-%mem | head)" ;;
3) notify-send "<b>🧠 Memory module:</b>
- Shows Memory Used/Total.
- Click to show memory hogs." ;;
esac
free -h | awk '/^Mem:/ {print $3 "/" $2}'