Updated config file.

This commit is contained in:
sarah committed 2026-03-27 12:36:49 +01:00
1 parent 04bf4f78d1
commit 413dffb0e7
2 files changed
+38 -2

No files matched your search

+37 -2
View File
@@ -1,4 +1,39 @@
Title = "Sarasort Config"
[Folders]
InputFolder = "Unset"
[Symbols]
# Symbols that are used for sorting: * & @ ~ ^ % []
NextNum = "*" # The next available number. If 1 already exists, 2 will be used. Starts at 1.
NextChar = "&" # The next available character. If A already exists, B will be used.
Parent = "@" # The name of the parent folder.
OrgFileName = "~" # The original name of the sorted file. If "blahblah.txt" gets sorted, "~" would be equal to "blahblah".
OrgFileType = "^" # The original file type of the sorted file. If "example.png" gets sorted, "^" would be equal to ".png".
TodayDayName = "[D]" # The name of the current day, E.G. "Friday".
TodayDay = "[d]" # The date of the current day, E.G. "27".
TodayMonthName = "[M]" # The name of the current month, E.G. "March".
TodayMonth = "[m]" # The date of the current month, E.G. "03".
TodayYear = "[y]" # The current year, E.G. "2026".
Vars = "%" # NOTE: If one character is given in "Vars", E.G. "%",
# vars in the Config will be "%ExampleVar%". If two characters are given, E.G. "()",
# vars in the config will be "(ExampleVar)".
[DirectoryPaths]
RootDir = "Unset" #
InputDir = "%RootDir%"
OutputDir = "%RootDir%/Output"
LogDir = ".%RootDir%/Logs"
FailedDir =".%RootDir%/Failed" # For files that failed to be sorted.
[Names]
OutputDirName = "Output_#"
OutputFileName = "*_@^"
LogFileName = "[y].[m].[d]_*"
DirConfName = "[email protected]"
[Log]
Sorted = "Sorted ~^ to %SortDir%"
+1
View File
@@ -8,6 +8,7 @@ def Clear():
else:
os.system('clear')
def LoadConf():
global Conf