dotfiles/.config/dwm/scripts/disk_info.sh

5 lines
99 B
Bash
Raw Normal View History

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