/[antiright]/antiright/src/ACE
ViewVC logotype

Diff of /antiright/src/ACE

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by jefbed, Thu Aug 12 09:40:09 2004 UTC revision 1.15 by jefbed, Mon Aug 16 17:27:05 2004 UTC
# Line 155  Desktop() Line 155  Desktop()
155  }  }
156  Desktop_Lite()  Desktop_Lite()
157  {  {
158      $ARSHELL -r 4\      $ARSHELL -r 2\
159          -Ab 'ACE Calculator' $bmdir/antiright/calculate.xbm\          -Ai 'ACE Calculator' $bmdir/antiright/kcalc.xpm\
160          -Ab 'ACE CD_Player' $bmdir/antiright/cdplayer.xbm\          -Ai 'ACE CD_Player' $bmdir/antiright/kscd.xpm\
161          -Ab 'ACE File_Manager' $bmdir/antiright/files.xbm\          -Ai 'ACE File_Manager' $bmdir/antiright/kfm.xpm\
162          -Ab 'ACE Note' $bmdir/antiright/notes.xbm\          -Ai 'ACE Note' $bmdir/antiright/knotes.xpm\
163          -Ab 'ACE Editor' $bmdir/antiright/text.xbm\          -Ai 'ACE Editor' $bmdir/antiright/kedit.xpm\
164          -Ab 'ACE Load_Meter' $bmdir/antiright/load.xbm\          -Ai 'ACE Load_Meter' $bmdir/antiright/ksysguard.xpm\
165          -Ab 'ACE Terminal' $bmdir/antiright/terminal.xbm\          -Ai 'ACE Terminal' $bmdir/antiright/term.xpm\
166          -Ab 'ACE Browser' $bmdir/antiright/browser.xbm\          -Ai 'ACE Browser' $bmdir/antiright/netscape.xpm\
167          -Ab 'ACE Mail' $bmdir/antiright/mail.xbm\          -Ai 'ACE Mail' $bmdir/antiright/mail.xpm\
168          -Ab 'ACE Background' $bmdir/antiright/image.xbm\          -Ai 'ACE Background' $bmdir/antiright/kcoloredit.xpm\
169          -Ab 'ACE -A Settings' $bmdir/antiright/switches.xbm\          -Ai 'ACE -A Settings' $bmdir/antiright/tools.xpm\
170          -Ab 'ACE -A File_System_Panel File_Systems'\          -Ai 'ACE -A File_System_Panel File_Systems'\
171          $bmdir/antiright/files.xbm\          $bmdir/antiright/fileserver.xpm\
172          -xrm "*overrideRedirect: True" -xrm "*marginWidth: 0"\          -xrm "*overrideRedirect: True" -xrm "*marginWidth: 0"\
173          -xrm "*marginHeight: 0" -xrm "*margin: 0" -W DESKTOP\          -xrm "*marginHeight: 0" -xrm "*margin: 0" -W DESKTOP\
174          -geometry +16+64 -xrm "*highlightThickness: 0"\          -geometry +32+64 -xrm "*highlightThickness: 0"\
175          -xrm "*alignment: XmALIGNMENT_CENTER" &          -xrm "*alignment: XmALIGNMENT_CENTER" &
176  }  }
177  Sticky_Note()  Sticky_Note()
178  {  {
179      local background      local background
180        local ones=$(date +%S | cut -c 2)
181      background=$(\      background=$(\
182          if [ $(date +%S) -lt 15 ];\          if [ $ones -lt 2 ];\
183          then echo -n skyblue;\          then echo -n skyblue;\
184          elif [ $(date +%S) -lt 30 ];\          elif [ $ones -lt 4 ];\
185          then echo -n pink;\          then echo -n pink;\
186          elif [ $(date +%S) -lt 45 ];\          elif [ $ones -lt 6 ];\
187          then echo -n lightgreen;\          then echo -n lightgreen;\
188          elif [ $(date +%S) -lt 60 ];\          elif [ $ones -lt 8 ];\
189          then echo -n yellow;\          then echo -n yellow;\
190            elif [ $ones -lt 10 ];\
191            then echo -n beige;\
192          fi)          fi)
193      $ARSHELL -W 'Sticky Note' -Am -Amf 'ACE Sticky_Note \# New' -Aw\      $ARSHELL -W 'Sticky Note' -Am -Amf 'ACE Sticky_Note \# New' -Aw\
194          -xrm "*XmText.background: $background"\          -xrm "*XmText.background: $background"\
195          -xrm '*XmText.height: 200' -xrm '*XmText.width: 150'          -xrm '*XmText.height: 200' -xrm '*XmText.width: 150'\
196            -xrm '*XmText.wordWrap: True'
197  }  }
198  Delete_File()  Delete_File()
199  {  {
# Line 448  See_User_Processes() Line 452  See_User_Processes()
452  }  }
453  Background_Editor()  Background_Editor()
454  {  {
455      xsetroot -solid "$($ARSHELL -AC)"      color="$($ARSHELL -AC)"
456        if [ "$color" != "" ]; then
457            xsetroot -solid "$color"
458        fi
459  }  }
460  Mount_File_System()  Mount_File_System()
461  {  {
# Line 471  Text_Editor() Line 478  Text_Editor()
478      local file      local file
479    
480      if [ -z "$1" ]; then      if [ -z "$1" ]; then
481          $ARSHELL -Am -Aw          $ARSHELL -Am -Aw -As
482      else      else
483          file=$1          file=$1
484          if [ ! -f $file ]; then          if [ ! -f $file ]; then
485              touch $file              touch $file
486          fi          fi
487          cat $file | $ARSHELL -Am -Aw -p -W $file          cat $file | $ARSHELL -Am -Aw -As -p -W $file
488      fi      fi
489  }  }
490  Manual_Page()  Manual_Page()

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26