kr1sp1n [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=87344 Trashbin 1.1.1 <p> <table><tr><td> <a href="/bbs/?pid=143952#p"> <img src="/bbs/thumbs/pico64_trashbin-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=143952#p"> trashbin 1.1.1</a><br><br> by <a href="/bbs/?uid=87344"> kr1sp1n</a> <br><br><br> <a href="/bbs/?pid=143952#p"> [Click to Play]</a> </td></tr></table> </p> <hr /> <p>A simple trashbin.<br /> Drag some files and drop them in the trashbin.<br /> The trashbin icon uses the theme colors for icons.</p> <p>Add the following lines to <code>/appdata/system/startup.lua</code>:</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>create_process(&quot;/desktop/trashbin.p64&quot;, { argv = { config_path=&quot;/appdata/trashbin.pod&quot;, trash_dir=&quot;/trash&quot; } })</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Modify the values for <code>config_path</code> and the <code>trash_dir</code> at will.<br /> The <code>trash_dir</code> will be generated and a trashbin icon will be set in the metadata.<br /> Double-click on the trashbin will open the configured <code>trash_dir</code> in the filenav app.<br /> You can drag and drop the trashbin and it is saved immediately in<br /> the pod configured in the <code>config_path</code>.</p> <h2>changelog</h2> <h3>1.1.1</h3> <ul> <li>fix issue with missing theme pod<br /> in web player</li> </ul> <h3>1.1.0</h3> <ul> <li>use current theme colors for icon</li> <li>instead of right-click, a double-click<br /> now opens the configured <code>trash_dir</code></li> <li>more dynamic sprite for the<br /> trashbin (thanks to <a href="https://www.lexaloffle.com/bbs/?uid=86166"> @washburnello</a>)</li> <li>set icon in metadata of <code>trash_dir</code></li> </ul> <h3>1.0.0</h3> <ul> <li>drag and drop files into the trashbin</li> <li>right-click on trashbin opens<br /> configured <code>trash_dir</code></li> <li>drag trashbin to change<br /> position (thanks to <a href="https://www.lexaloffle.com/bbs/?uid=42963"> @cubee</a>)</li> <li>new position will be saved in a<br /> pod configured with <code>config_path</code></li> </ul> https://www.lexaloffle.com/bbs/?tid=140938 https://www.lexaloffle.com/bbs/?tid=140938 Wed, 20 Mar 2024 15:49:07 UTC