|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
X Desktop config
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 thanks |
|
|||
Quote:
http://conky.sourceforge.net/ ...may give you additional ideas. |
|
|||
Thanks, That's a nice app.
I actually found a good example of how to .. kind of do it .. by modifying the app file in flux box config. I think its just a matter of setting things up now.. Im going to hack my desktop and see what I can come up with.. If theres any intrest I can post the "how to" make a custom desktop .. Thanks tho, Cheers |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem config mpd5? | congavangkiev | FreeBSD Ports and Packages | 0 | 16th June 2011 03:27 AM |
hotspot config...suggestion please | Stellar | General software and network | 0 | 27th April 2010 07:14 PM |
How to re-run make config? | FreeBee | FreeBSD Ports and Packages | 5 | 11th January 2010 10:56 AM |
Xorg config | There0 | OpenBSD General | 16 | 10th January 2010 02:45 PM |
pf config error | Stellar | OpenBSD Security | 5 | 3rd September 2009 01:01 PM |