Hi all,
I was trying to figure out if its possible to embed shell scripts into your desktop in Xwindows.
Ive set up fluxbox and basically want to find a way to make a totally transparent window to run a shell script (something like)
ps -arcwwwxo "command %cpu %mem" | grep -v grep | head -13
or an actual script such as
Code:
#! /bin/bash
myen0=`ifconfig en0 | grep "inet " | grep -v 127.0.0.1 | awk '{print $2}'`
if [ "$myen0" != "" ]
then
echo "Ethernet : $myen0"
else
echo "Ethernet : INACTIVE"
fi
myen1=`ifconfig en1 | grep "inet " | grep -v 127.0.0.1 | awk '{print $2}'`
if [ "myen1" != "" ]
then
echo "AirPort : $myen1"
else
echo "Airport : INACTIVE"
fi
that basically displays my network info and similar..
thanks