Add timer to scripts. Updated dwmbar

This commit is contained in:
Linux User
2022-08-19 10:02:28 +00:00
parent 2547920d81
commit 4d34fcf3af
11 changed files with 45 additions and 27 deletions

9
.local/scripts/0050_5_disk Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
COLOR1="#00FF90"
COLOR2="#00A45D"
used=$(df -h / | sed -n '1!p' | cut -d' ' -f22)
total=$(df -h / | sed -n '1!p' | cut -d' ' -f16)
echo "^b$COLOR1^^c$COLOR2^  ^c$COLOR1^^b$COLOR2^ $used/$total ^d^"