Adds polybar
This commit is contained in:
parent
56921bfdcc
commit
0f0b9089a4
12 changed files with 1090 additions and 0 deletions
12
.config/polybar/scripts/storage/storage.sh
Executable file
12
.config/polybar/scripts/storage/storage.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
mountPoint=$1
|
||||
label=$2
|
||||
|
||||
echo Checking mount values for "$1"
|
||||
|
||||
while :
|
||||
do
|
||||
echo $label $(df -h --output=pcent "$mountPoint" | grep "[0-9]%")
|
||||
sleep 5
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue