statusbar scripts to master

This commit is contained in:
Luke Smith
2019-11-23 16:23:24 -05:00
parent a5e66ac4f4
commit 606946d890
16 changed files with 266 additions and 0 deletions

9
.local/bin/statusbar/memory Executable file
View File

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