Jump to content




[settings API] Adding custom files to shell. and startup files


  • You cannot reply to this topic
1 reply to this topic

#1 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 05 February 2016 - 01:57 PM

I suggest there should be another settings file, or a "." seperated category to add new files and folders to the shell at startup.
for example, here is how you would add a file to the sub directory:
set "shell.path.myeditor" "/myprograms/myeditor"
now you can execute "myeditor" from anywhere in the shell, the next time you reboot. you can give it any name you want just add "shell.path." in front.

Same goes for the startup sequence, you should be able to add files to the startup sequence and set some additional parameters, here is a settings path and value layout:
shell.startup.<id> - this id is a string that is used to uniquely identify your program
shell.startup.<id>.name - string - gives a name for humans to read
shell.startup.<id>.priority - number - entries with lower numbers have higher priority
shell.startup.<id>.path - string - the path to the file to execute
shell.startup.<id>.target - number - 0=main window 1=new window 2=background
shell.startup.<id>.arguments - string - the arguments to give the program

this allows for more versatile setups, and would be a nice standardization instead of having a startup file handle this.

#2 EveryOS

  • Members
  • 570 posts
  • LocationOver there ->

Posted 11 April 2016 - 11:57 AM

Sounds cool.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users