Docs
Configuration
Configuration
How to configure the G-Tablet.
The G-Tablet contains several configuration options that can be adjusted to your liking.
Each apps has its own configuration file, which is located at g-tablet/core/configs
directory.
Globals Configuration File
The globals configuration file globals.json
is used to set the default settings for the tablet.
globals.json
{
"defaultLanguage": "en", // The default language of the tablet
"closeKey": "Escape", // The keybind to close the tablet
"minimizeKey": "F3", // The keybind to minimize the tablet
"wallpapers": [ // The list of wallpapers that can be used in the tablet
"./assets/settings/wallpapers/default.webp",
"./assets/settings/wallpapers/wallpaper1.webp",
"./assets/settings/wallpapers/wallpaper2.webp",
"./assets/settings/wallpapers/wallpaper3.webp",
"./assets/settings/wallpapers/bubbles.mp4",
// ... you can add more wallpapers by adding more files to the assets/wallpapers directory
],
// The list of border color presets that can be used in the tablet
"borderColorPresets": [
"#55B89D", "#5FC593", "#63C87A", "#59BB6B", "#4E97D6", "#5884C9", "#5D73BC", "#6A60B2", "#925EB1", "#A451B1", "#B545AF", "#D83C63", "#E04567", "#E7526F", "#EBC542", "#E5B942", "#DA8338", "#D56E36", "#D85943", "#DB4940", "#D85953", "#E0716E"
],
// The list of background color presets that can be used in the tablet
"backgroundColorPresets": [
"#0a0a0a", "#171717", "#1e1e1e", "#252525", "#2c2c2c", "#333333", "#404040", "#484848", "#525252", "#5c5c5c", "#666666", "#707070", "#7a7a7a", "#848484", "#8e8e8e", "#989898", "#a2a2a2", "#acacac", "#b6b6b6", "#c0c0c0", "#cacaca", "#d4d4d4"
],
// The list of app name color presets that can be used in the tablet
"appNameColorPresets": [
"#FAFAFA", "#96CBA6", "#2CAAD7", "#4A7673", "#BC2F4A", "#42B789", "#5F3C93", "#45355A", "#693087", "#842178", "#A4905B", "#B7D17E", "#A38B8B", "#418DA7", "#B96369", "#469BDC", "#63D893", "#5EBF7B", "#4BCC99", "#48A28E", "#CF9CCD", "#111111"
]
}
The apps can be configured allApps.json
file by adding a new object, here is an example:
allApps.json
{
"apps": [
{
"id": "notes",
"name": "Notes",
"icon": "./assets/apps/notes.webp",
"description": "Capture your thoughts and ideas on the go.",
"category": "apps",
"rating": 4,
"default": true
},
{
"id": "events",
"name": "City Events",
"icon": "./assets/apps/events.webp",
"description": "Stay updated on the city's current and upcoming events.",
"category": "panels",
"rating": 5,
"default": false
},
// ... you can add more apps by adding more objects to the array
]
}