Case Customisation and Themes
#19
(2024-03-20, 09:33 PM)nanocodebug Wrote: it would be neat if themes could extend to include icons on SD too (in some future).

the future is now!

Code:
→ lua
Lua 5.4.4  Copyright (C) 1994-2023 Lua.org, PUC-Rio
luarepl 0.10 Copyright (C) 2011-2015 Rob Hoelz
>> cool_file = io.open("/sdcard/file.txt", "w")
>> cool_file:write("i'm gay!")
file (0x3ffb6968)
>> cool_file:close()
true
>> cool_file = io.open("/sdcard/file.txt", "r")
>> cool_file:read()
"i'm gay!"
>>

(it may be slightly unstable atm, as there's a mutex needed to safely touch the sd card, and lua isn't currently acquiring it. also lvgl needs a second leading slash at the start of paths. but still! only very marginal work needed!)
  Reply


Messages In This Thread
Case Customisation and Themes - by ailurux - 2024-03-14, 11:23 PM
RE: Case Customisation and Themes - by neckspike - 2024-03-15, 12:44 AM
RE: Case Customisation and Themes - by ailurux - 2024-03-15, 01:38 AM
RE: Case Customisation and Themes - by neckspike - 2024-03-15, 02:42 AM
RE: Case Customisation and Themes - by Construc_ - 2024-03-15, 01:44 AM
RE: Case Customisation and Themes - by jacqueline - 2024-03-15, 01:49 AM
RE: Case Customisation and Themes - by ailurux - 2024-03-15, 03:48 AM
RE: Case Customisation and Themes - by neckspike - 2024-03-15, 11:02 AM
RE: Case Customisation and Themes - by redshift - 2024-03-15, 03:49 PM
RE: Case Customisation and Themes - by neckspike - 2024-03-15, 04:44 PM
RE: Case Customisation and Themes - by gkr - 2024-03-17, 10:54 AM
RE: Case Customisation and Themes - by neckspike - 2024-03-17, 09:53 PM
RE: Case Customisation and Themes - by ailurux - 2024-03-17, 10:03 PM
RE: Case Customisation and Themes - by ailurux - 2024-03-18, 12:51 AM
RE: Case Customisation and Themes - by ailurux - 2024-03-20, 11:10 PM
RE: Case Customisation and Themes - by jacqueline - 2024-03-17, 09:54 PM
RE: Case Customisation and Themes - by jacqueline - 2024-03-20, 11:01 PM

Forum Jump: