Fix dotfiles structure
This commit is contained in:
10
.config/polybar/disk.sh
Executable file
10
.config/polybar/disk.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
percent=$(
|
||||
df -H / | grep -vE '^Filesystem' | awk '{ print $5}'
|
||||
)
|
||||
|
||||
remaining=$(
|
||||
df -H / | grep -vE '^Filesystem' | awk '{ print $4}'
|
||||
)
|
||||
echo "$percent"
|
||||
Reference in New Issue
Block a user