125 |
{ |
{ |
126 |
kill $(ps xa | grep DESKTOP | awk '{print $1}' | tr '\n' ' ') &> /dev/null 2> /dev/null |
kill $(ps xa | grep DESKTOP | awk '{print $1}' | tr '\n' ' ') &> /dev/null 2> /dev/null |
127 |
} |
} |
|
Desktop_Button() |
|
|
{ |
|
|
arshell -Ab "$1" $2 -geometry $3 -xrm "*overrideRedirect: True"\ |
|
|
-xrm "*marginWidth: 0" -xrm "*marginHeight: 0" -xrm "*margin: 0"\ |
|
|
-W DESKTOP -xrm "*shadowThickness: 0" -xrm "*highlightThickness: 0"\ |
|
|
-xrm "*alignment: XmALIGNMENT_CENTER" & |
|
|
} |
|
|
|
|
|
Desktop() |
|
|
{ |
|
|
# Row 1 |
|
|
Desktop_Button 'ACE Terminal' $bmdir/antiright/terminal.xbm +2+64 |
|
|
Desktop_Button 'ACE -A Files' $bmdir/antiright/files.xbm +2+148 |
|
|
Desktop_Button 'ACE Editor' $bmdir/antiright/text.xbm +2+232 |
|
|
Desktop_Button 'ACE Note' $bmdir/antiright/notes.xbm +2+316 |
|
|
# Row 2 |
|
|
Desktop_Button 'ACE Browse' $bmdir/antiright/browser.xbm +68+64 |
|
|
Desktop_Button 'ACE Mail' $bmdir/antiright/mail.xbm +68+148 |
|
|
Desktop_Button 'ACE CD_Player Music' $bmdir/antiright/cdplayer.xbm +68+232 |
|
|
Desktop_Button 'ACE Background Backer' $bmdir/antiright/image.xbm +68+316 |
|
|
# Row 3 |
|
|
Desktop_Button 'ACE Calc' $bmdir/antiright/calculate.xbm +132+64 |
|
|
Desktop_Button 'ACE -A Settings Prefs.' $bmdir/antiright/switches.xbm\ |
|
|
+132+148 |
|
|
Desktop_Button 'ACE Load' $bmdir/antiright/load.xbm +132+232 |
|
|
Desktop_Button 'ACE -A File_System_Panel Disks'\ |
|
|
$bmdir/antiright/files.xbm +132+316 |
|
|
} |
|
128 |
Desktop_Lite() |
Desktop_Lite() |
129 |
{ |
{ |
130 |
$ARSHELL -r 2\ |
$ARSHELL -r 2\ |