diff options
| author | krolyxon <krolyxon@tutanota.com> | 2023-03-21 21:47:27 +0530 |
|---|---|---|
| committer | krolyxon <krolyxon@tutanota.com> | 2023-03-21 21:47:27 +0530 |
| commit | c866ba828c2b65feec1a05863682dd78bf5d5af7 (patch) | |
| tree | 187b8dafd6312959e5f2fece7b03c8a5086eef9b /.local/bin/statusbar/sb-memory | |
| parent | 88bcaeb8b87ec78953c0633a5519dfd2e50af8aa (diff) | |
switch to dwmblocks
Diffstat (limited to '.local/bin/statusbar/sb-memory')
| -rwxr-xr-x | .local/bin/statusbar/sb-memory | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/statusbar/sb-memory b/.local/bin/statusbar/sb-memory new file mode 100755 index 0000000..3e78a22 --- /dev/null +++ b/.local/bin/statusbar/sb-memory @@ -0,0 +1,2 @@ +#!/bin/sh +echo "[ $(free --mebi | sed -n '2{p;q}' | awk '{printf ("%2.2fGiB", ( $3 / 1024), ($2 / 1024))}') $(sensors | awk '/Core 0/ {print " " $3}') ]" |
