home *** CD-ROM | disk | FTP | other *** search
/ PCNET 2006 September - Disc 1 / PCNET_CD_2006_09.iso / linux / puppy-barebones-2.01r2.iso / pup_201.sfs / usr / local / bin / xlipuppy < prev    next >
Encoding:
Text File  |  2006-04-22  |  529 b   |  24 lines

  1. #!/usr/bin/puppybasic
  2. include "/usr/lib/wxbasicscript/basefunctions.inc"
  3.  
  4.  
  5. progdir = "/usr/local/Puppybackground/"
  6.  
  7. arg = argvtostring()
  8.  
  9. arg = replace( arg , "-quiet " , "" )
  10. arg = replace( arg , "-onroot " , "" )
  11. arg = replace( arg , "-fitscreen " , "-fit ")
  12. arg = replace( arg , "-fullscreen " , "-fit ")
  13. arg = replace( arg , "-fillscreen " , "-stretch ")
  14.  
  15.  
  16. arg = trim(arg)
  17. if left (arg , 1) != "-" then
  18.   arg = "-tile " & arg     
  19. end if
  20.  
  21.  
  22. shell ( "/usr/local/Puppybackground/resource/puppybackgroundsetterwrapper " & arg )
  23.  
  24.