Custom Desktop for picotron, also allows custom env inputs!
This also allows you to setup multiple desktops (with env inputs), change your default desktop directory, get spaces in filenames and hide file extensions!
This custom desktop also allows support for iconbase v4+ (seemingly doesn't function on newer picotron versions, iconbase is unable to update the icons before the default desktop runs)!
Add this to /appdata/system/startup.lua to get it to run immediately, e.g:
create_process("/galaktiskPicotron/tweaks/desktop.p64")
Readme:
Custom env() can override the settings if needed!
Customisability:
Options
Stored in "/appdata/galaktiskTweaks/filenav/", acts as the default!
options.pod
desktopPath, (path of the desktop, e.g: /desktop)
hideFileExtensions, (boolean, whether to hide file extensions, e.g: hiding .p64)
spaceString (string, what to convert to visual spaces, e.g: "_")
env() properties
These override options.pod!
Custom Settings
desktopPath (path of the desktop, e.g: /desktop)
hideFileExtensions (boolean, whether to hide file extensions, e.g: hiding .p64)
spaceString (string, what to convert to visual spaces, e.g: "_")
Other Properties
show_in_workspace (boolean, default false)
width (number, default 480)
height (number, default 270)
x (number, default 0)
y (number, default 0)
has_frame (boolean, default false)
moveable (boolean, default false)
resizeable (boolean, default false)
Example of using env:
createprocess("/galaktiskPicotron/tweaks/desktop.p64",{desktopPath="/desktop2",hideFileExtensions=true,spaceString=""})
Can run this through code (e.g: a .p64 app that just runs this when it launches and exits) to get custom desktops with different env arguments to your default!
[Please log in to post a comment]




