Files

9 lines
272 B
Bash
Executable File

#!/bin/sh
# für tmux powerline
# zeigt nur den noch freien Specher in human readable und percent an für Daten und Programme
df_root=`df /boot -h --output=avail,pcent | tail -n 1`
df_home=`df /home -h --output=avail,pcent | tail -n 1`
echo [root$df_root][home$df_home]