You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/welcome.py
+93-87Lines changed: 93 additions & 87 deletions
Original file line number
Diff line number
Diff line change
@@ -8,51 +8,61 @@ class WelcomeManager:
8
8
defget_welcome_info():
9
9
"""
10
10
Returns a list of dictionaries containing welcome section information.
11
+
Each section can have: title, content blocks (text, code blocks with optional labels)
11
12
"""
12
13
return [
13
14
{
14
15
"title": "Welcome to volt-gui:",
15
-
"description": "First of all, thanks for using my tool! If you have any feature requests or issues, please report them to the volt-gui GitHub repository.",
16
-
"copyable_blocks": []
16
+
"content": [
17
+
{"type": "text", "text": "First of all, thanks for using my tool! If you have any feature requests or issues, please report them to the volt-gui GitHub repository."}
18
+
]
17
19
},
18
20
{
19
21
"title": "Optional Dependencies:",
20
-
"description": "• scx schedulers and Linux Kernel >= 6.12 if you want to make use of the CPU Pluggable Schedulers."
21
-
"\n\n• MangoHud if you want to make use of the MangoHud Settings. Both the native or the Flatpak version satisfy the dependency."
22
-
"\n\n• Note: You might need to install both versions, as the one installed with your distro package manager will be used for native programs, while the flatpak version will be used for flatpak programs. MangoHud is available on almost any distro and the flatpak version is quite easy to install with:",
23
-
"copyable_blocks": ["flatpak install mangohud"],
24
-
"additional_text": "• glxinfo is required to use the OpenGL Render Selector."
25
-
"\n\n• vulkaninfo and the Vulkan Mesa layer are required to use the Vulkan Render Selector. One way to check if you have the Vulkan Mesa layer installed is to run this command:",
{"type": "text", "text": "• scx schedulers and Linux Kernel >= 6.12 if you want to make use of the CPU Pluggable Schedulers."
24
+
"\n\n• MangoHud if you want to make use of the MangoHud Settings. Both the native or the Flatpak version satisfy the dependency."
25
+
"\n\n• Note: You might need to install both versions, as the one installed with your distro package manager will be used for native programs, while the flatpak version will be used for flatpak programs. MangoHud is available on almost any distro and the flatpak version is quite easy to install with:"},
{"type": "text", "text": "• glxinfo is required to use the OpenGL Render Selector."
28
+
"\n\n• vulkaninfo and the Vulkan Mesa layer are required to use the Vulkan Render Selector. One way to check if you have the Vulkan Mesa layer installed is to run this command:"},
GPU 1: 10005:0 "llvmpipe (LLVM 20.1.8, 256 bits)" CPU 0000:00:00.0""",
30
-
"closing_text": "If the output doesn't look like this text above, then you don't have the Vulkan Mesa layer installed on your PC."
33
+
GPU 1: 10005:0 "llvmpipe (LLVM 20.1.8, 256 bits)" CPU 0000:00:00.0"""}
34
+
]
31
35
},
32
36
{
33
37
"title": "Key Notes:",
34
-
"description": "• The apply buttons in the CPU/GPU/Disk/Kernel/Launch Options tabs are interconnected, meaning that pressing one of those apply buttons will apply all settings from these tabs. This helps avoid having to go tab by tab to apply all the settings."
35
-
"\n\n• The settings that have the `unset` value, or in the case of the Kernel/Launch Options blank space on the text input, will be ignored when pressing apply."
36
-
"\n\n• GPU settings labeled with (default) mean that, instead of setting the related environment variable, it will be unset. This ensures that the program or game run through the `volt` script receives an environment without that variable, guaranteeing the setting is truly at its default value."
37
-
"\n\n• Kernel/Disk/CPU settings apply systemwide immediately, while the GPU settings are saved in the `volt` script when you press the apply button."
38
-
"\n\n• All settings include tooltips with descriptions that appear when you hover your mouse over the input or switch widget. I do my best to provide accurate and helpful descriptions. If you notice any issues, please report them on the project GitHub."
39
-
"\n\n• Note: If the OpenGL/Vulkan Render Selector its being used, it might broke some Linux Native games."
40
-
"\n\n• Note: If you use any of the MangoHud Settings, you might have some issues running some games, hopefully MangoHud fixes those issues on the future."
41
-
"\n\n• You can use the Options Tab settings to configure the volt-gui behavior."
42
-
"\n\n• You can create, use, and delete different profiles. When a profile is created, it will base its settings on the current profile being used."
43
-
"\n\n• The settings applied by the program are lost when the system is shut down or rebooted. The only exception is the `volt` script, as it is a physical file.",
44
-
"copyable_blocks": []
38
+
"content": [
39
+
{"type": "text", "text": "• The apply buttons in the CPU/GPU/Disk/Kernel/Launch Options tabs are interconnected, meaning that pressing one of those apply buttons will apply all settings from these tabs. This helps avoid having to go tab by tab to apply all the settings."
40
+
"\n\n• The settings that have the `unset` value, or in the case of the Kernel/Launch Options blank space on the text input, will be ignored when pressing apply."
41
+
"\n\n• GPU settings labeled with (default) mean that, instead of setting the related environment variable, it will be unset. This ensures that the program or game run through the `volt` script receives an environment without that variable, guaranteeing the setting is truly at its default value."
42
+
"\n\n• Kernel/Disk/CPU settings apply systemwide immediately, while the GPU settings are saved in the `volt` script when you press the apply button."
43
+
"\n\n• All settings include tooltips with descriptions that appear when you hover your mouse over the input or switch widget. I do my best to provide accurate and helpful descriptions. If you notice any issues, please report them on the project GitHub."
44
+
"\n\n• Note: If the OpenGL/Vulkan Render Selector its being used, it might broke some Linux Native games."
45
+
"\n\n• Note: If you use any of the MangoHud Settings, you might have some issues running some games, hopefully MangoHud fixes those issues on the future."
46
+
"\n\n• You can use the Options Tab settings to configure the volt-gui behavior, including enabling an update checker."
47
+
"\n\n• You can create, use, and delete different profiles. When a profile is created, it will base its settings on the current profile being used."
48
+
"\n\n• The settings applied by the program are lost when the system is shut down or rebooted. The only exception is the `volt` script, as it is a physical file."},
"description": "The GPU settings are applied through the 'volt' script. Always launch games with the 'volt' script prepended to use these options. Examples:",
49
-
"copyable_blocks": ["volt", "volt %command%", "volt flatpak run net.pcsx2.PCSX2"],
{"type": "text", "text": "The GPU settings are applied through the 'volt' script. Always launch games with the 'volt' script prepended to use these options. Examples:"},
0 commit comments