# ~/.tkgoodstuffrc
# parameters and resources for tkgoodstuff and clients

set TKG_orientation  horizontal
set TKG_border	     10
set TKGbordercolor  red

SubStack vertical

   Client Clock
   set ClockOrient horizontal
   set Analog_expand_to_square 0

   AddLabelBox utilities "Utilities"

   SubStack horizontal
      AddButton Top -text "Top" -unixcmd {rxvt -T Top -e top}
      AddButton Last -text Last -unixcmd { last -200 | xless }
      AddButton Syslog -text "Syslog" -unixcmd {rxvt -T Top -e tail -400 -f /var/adm/syslog}
   EndSubStack

   SubStack horizontal 4 red
      AddButton mylogout -imagefile $images/xlogo16 -text "Log\nOut" \
	  -unixcmd {  ps -acx | grep fvwm | xargs kill  }
      AddButton myshutdown -imagefile $images/xlogo16 -text "Shut\nDown" \
	  -unixcmd {  su -c "/sbin/shutdown -h -t 6 now &> /dev/tty1" }
   EndSubStack

EndSubStack

SubStack vertical

   AddLabelBox mynetlabel "Network Utilities"

   SubStack horizontal
      Client Net
      SubStack vertical
         AddButton Netstat -text NetStat -unixcmd {rxvt -T NetStat -e netstat -c}
         AddButton XLoad -text XLoad -unixcmd {xload}
	 AddButton Xferlog -text "Xferlog" -unixcmd {rxvt -T Xferlog -e tail -400 -f /var/adm/xferlog}
      EndSubStack
   EndSubStack

   SubStack vertical 8 gold
   AddLabelBox Personal "Personal"

   SubStack horizontal
      Client Biff
      AddButton News -imagefile $images/news.xbm -text News -unixcmd {xrn}
      AddButton Merv -imagefile $images/terminal -text "Telnet\nto merv" -unixcmd {rxvt -T Merv -e telnet merv.philosophy.lsa.umich.edu}
      SubStack vertical
         AddButton Weather -text Weather -unixcmd {
	     xterm -T Weather -e telnet downwind.sprl.umich.edu 3000
	 } 
         AddButton Netscape -text Netscape -unixcmd { netscape }
         AddButton Calendar -text Calendar -unixcmd { ical }
      EndSubStack
   EndSubStack
   EndSubStack
EndSubStack
