Code: Select all
#default values
#LAYER=1; //read top unionfs layer.
#PUPMODE=2;
[ $PUPMODE -eq 3 ] && LAYER=2; //read pup_ro1 layer
[ $PUPMODE -eq 7 ] && LAYER=2;
[ $PUPMODE -eq 13 ] && LAYER=2;
if [ $LAYER -eq 1 ]; then
FREE=$(df -m | grep ' /$' | tr -s ' ' | cut -f 4 -d ' ')
else
FREE=$(df -m | grep '/pup_ro1$' | tr -s ' ' | cut -f 4 -d ' ')
endif
echo $FREE
The icewm build is quite an exercise - not only seems every version to have its own pros and cons but one also have to learn the tremendous number of settings possible. I have not been able to get the icewmtray to do anything visible (yet) but I can build 1.2.0/1.2.14/1.2.37 static. I guess I will have to test some of the versions in between to find one that have most of the functionality with the fewest "problems" (like missing content in windows and strange colors or render defects).