diff --git a/files/dwm/storage.function b/files/dwm/storage.function index fc1eddd..64fc85d 100755 --- a/files/dwm/storage.function +++ b/files/dwm/storage.function @@ -1,7 +1,7 @@ #!/usr/bin/env bash # 2025-11-10 Hyperling -function storage { +function storage-display { location="$1" style="$2" @@ -17,6 +17,7 @@ function storage { df -h "$location" | tail -n 1 | awk '{print $5" Free, "$3"/"$2" Used"}' fi } +alias storage='echo -n "Root: " && storage-display "/" && echo -n "Home: " && storage-display "/home"' export dwm_storage_style="usage"