dotfiles/.config/conky/scripts/disk_info.sh

5 lines
96 B
Bash
Raw Normal View History

2022-05-20 00:06:39 +02:00
#!/bin/bash
disk_info=$(df -h / | awk '/\//{ printf("%4s/%s \n", $4, $2) }')
echo ${disk_info}