Renamed /Pictures to /Wallpapers and all corresponding constants in the system

This commit is contained in:
Smok1e 2024-01-09 22:13:34 +03:00
parent 532f509038
commit 5c5bcedaaa
16 changed files with 18 additions and 15 deletions

View File

@ -22,7 +22,7 @@ local config = {
{ name = "Root", path = "/" }, { name = "Root", path = "/" },
{ name = "Desktop", path = paths.user.desktop }, { name = "Desktop", path = paths.user.desktop },
{ name = "Applications", path = paths.system.applications }, { name = "Applications", path = paths.system.applications },
{ name = "Pictures", path = paths.system.pictures }, { name = "Wallpapers", path = paths.system.wallpapers },
{ name = "Libraries", path = paths.system.libraries }, { name = "Libraries", path = paths.system.libraries },
{ name = "User", path = paths.user.home }, { name = "User", path = paths.user.home },
{ name = "Trash", path = paths.user.trash }, { name = "Trash", path = paths.user.trash },

View File

@ -10,7 +10,7 @@ local localization = system.getCurrentScriptLocalization()
local args, options = system.parseArguments(...) local args, options = system.parseArguments(...)
local iconsPath = fs.path(system.getCurrentScript()) .. "Icons/" local iconsPath = fs.path(system.getCurrentScript()) .. "Icons/"
local currentDir, files = ((options.o or options.open) and args[1] and fs.exists(args[1])) and fs.path(args[1]) or paths.system.pictures local currentDir, files = ((options.o or options.open) and args[1] and fs.exists(args[1])) and fs.path(args[1]) or paths.system.wallpapers
local fileIndex = 1 local fileIndex = 1
local loadedImage, title local loadedImage, title

View File

@ -674,17 +674,20 @@
"Applications/Pioneer.app/Images/Knob8.pic" "Applications/Pioneer.app/Images/Knob8.pic"
}, },
wallpapers = { wallpapers = {
"Pictures/AhsokaTano.pic", -- Pictures
"Pictures/Block.pic", "Wallpapers/AhsokaTano.pic",
"Pictures/Ciri.pic", "Wallpapers/Block.pic",
"Pictures/Girl.pic", "Wallpapers/Ciri.pic",
"Pictures/Mystery.pic", "Wallpapers/Girl.pic",
"Pictures/Nettle.pic", "Wallpapers/Mystery.pic",
"Pictures/Raspberry.pic", "Wallpapers/Nettle.pic",
"Pictures/Road.pic", "Wallpapers/Raspberry.pic",
"Pictures/Space.pic", "Wallpapers/Road.pic",
"Pictures/Flight.lua", "Wallpapers/Space.pic",
"Pictures/Logic.pic" "Wallpapers/Logic.pic",
-- Scripts
"Wallpapers/Flight.lua"
}, },
screensavers = { screensavers = {
"Screensavers/Space.lua", "Screensavers/Space.lua",

View File

@ -10,7 +10,7 @@ paths.system.localizations = "/Localizations/"
paths.system.extensions = "/Extensions/" paths.system.extensions = "/Extensions/"
paths.system.mounts = "/Mounts/" paths.system.mounts = "/Mounts/"
paths.system.temporary = "/Temporary/" paths.system.temporary = "/Temporary/"
paths.system.pictures = "/Pictures/" paths.system.wallpapers = "/Wallpapers/"
paths.system.screensavers = "/Screensavers/" paths.system.screensavers = "/Screensavers/"
paths.system.users = "/Users/" paths.system.users = "/Users/"
paths.system.versions = "/Versions.cfg" paths.system.versions = "/Versions.cfg"

View File

@ -86,7 +86,7 @@ function system.getDefaultUserSettings()
interfaceScreenAddress = nil, interfaceScreenAddress = nil,
interfaceWallpaperEnabled = false, interfaceWallpaperEnabled = false,
interfaceWallpaperPath = paths.system.pictures .. "Flight.lua", interfaceWallpaperPath = paths.system.wallpapers .. "Flight.lua",
interfaceWallpaperMode = 1, interfaceWallpaperMode = 1,
interfaceWallpaperBrightness = 0.9, interfaceWallpaperBrightness = 0.9,

0
Pictures/AhsokaTano.pic → Wallpapers/AhsokaTano.pic Executable file → Normal file
View File

0
Pictures/Block.pic → Wallpapers/Block.pic Executable file → Normal file
View File

0
Pictures/Ciri.pic → Wallpapers/Ciri.pic Executable file → Normal file
View File

0
Pictures/Girl.pic → Wallpapers/Girl.pic Executable file → Normal file
View File

0
Pictures/Mystery.pic → Wallpapers/Mystery.pic Executable file → Normal file
View File

0
Pictures/Nettle.pic → Wallpapers/Nettle.pic Executable file → Normal file
View File

0
Pictures/Raspberry.pic → Wallpapers/Raspberry.pic Executable file → Normal file
View File

0
Pictures/Space.pic → Wallpapers/Space.pic Executable file → Normal file
View File