2021-09-18 23:37:52 +02:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
|
|
option java_package = "de.mm20.launcher2.preferences";
|
|
|
|
|
option java_multiple_files = true;
|
|
|
|
|
|
|
|
|
|
message Settings {
|
2022-01-02 18:57:13 +01:00
|
|
|
uint32 version = 1;
|
2021-09-18 23:37:52 +02:00
|
|
|
message AppearanceSettings {
|
|
|
|
|
enum Theme {
|
|
|
|
|
Light = 0;
|
|
|
|
|
Dark = 1;
|
|
|
|
|
System = 2;
|
|
|
|
|
}
|
|
|
|
|
Theme theme = 1;
|
2021-09-27 16:05:57 +02:00
|
|
|
enum ColorScheme {
|
|
|
|
|
Default = 0;
|
2022-01-02 22:05:20 +01:00
|
|
|
BlackAndWhite = 1;
|
2021-09-27 16:05:57 +02:00
|
|
|
}
|
|
|
|
|
ColorScheme color_scheme = 6;
|
2022-01-25 21:53:19 +01:00
|
|
|
bool dim_wallpaper = 7;
|
2021-09-18 23:37:52 +02:00
|
|
|
}
|
2022-01-02 18:57:13 +01:00
|
|
|
AppearanceSettings appearance = 2;
|
2021-09-18 23:37:52 +02:00
|
|
|
|
2022-01-01 22:43:25 +01:00
|
|
|
message WeatherSettings {
|
|
|
|
|
enum WeatherProvider {
|
|
|
|
|
MetNo = 0;
|
|
|
|
|
OpenWeatherMap = 1;
|
|
|
|
|
Here = 2;
|
|
|
|
|
BrightSky = 3;
|
|
|
|
|
}
|
|
|
|
|
WeatherProvider provider = 1;
|
|
|
|
|
bool imperial_units = 2;
|
|
|
|
|
}
|
2022-01-02 18:57:13 +01:00
|
|
|
WeatherSettings weather = 5;
|
2022-01-01 22:43:25 +01:00
|
|
|
|
2022-01-06 23:43:50 +01:00
|
|
|
message MusicWidgetSettings {
|
|
|
|
|
bool filter_sources = 1;
|
|
|
|
|
}
|
|
|
|
|
MusicWidgetSettings music_widget = 6;
|
|
|
|
|
|
2022-01-08 00:40:49 +01:00
|
|
|
message ClockWidgetSettings {
|
|
|
|
|
enum ClockWidgetLayout {
|
|
|
|
|
Vertical = 0;
|
|
|
|
|
Horizontal = 1;
|
|
|
|
|
}
|
|
|
|
|
ClockWidgetLayout layout = 1;
|
|
|
|
|
enum ClockStyle {
|
|
|
|
|
DigitalClock1 = 0;
|
|
|
|
|
DigitalClock2 = 1;
|
|
|
|
|
BinaryClock = 2;
|
|
|
|
|
}
|
|
|
|
|
ClockStyle clock_style = 2;
|
|
|
|
|
}
|
|
|
|
|
ClockWidgetSettings clock_widget = 7;
|
|
|
|
|
|
2022-01-10 21:41:13 +01:00
|
|
|
message FavoritesSettings {
|
|
|
|
|
bool enabled = 1;
|
|
|
|
|
}
|
|
|
|
|
FavoritesSettings favorites = 8;
|
|
|
|
|
|
|
|
|
|
message FilesSearchSettings {
|
|
|
|
|
bool local_files = 1;
|
|
|
|
|
bool gdrive = 2;
|
|
|
|
|
bool onedrive = 3;
|
|
|
|
|
bool nextcloud = 4;
|
|
|
|
|
bool owncloud = 5;
|
|
|
|
|
}
|
|
|
|
|
FilesSearchSettings file_search = 9;
|
|
|
|
|
|
|
|
|
|
message ContactsSearchSettings {
|
|
|
|
|
bool enabled = 1;
|
|
|
|
|
}
|
|
|
|
|
ContactsSearchSettings contacts_search = 10;
|
|
|
|
|
|
|
|
|
|
message CalendarSearchSettings {
|
|
|
|
|
bool enabled = 1;
|
|
|
|
|
}
|
|
|
|
|
CalendarSearchSettings calendar_search = 11;
|
|
|
|
|
|
|
|
|
|
message CalculatorSearchSettings {
|
|
|
|
|
bool enabled = 1;
|
|
|
|
|
}
|
|
|
|
|
CalculatorSearchSettings calculator_search = 12;
|
|
|
|
|
|
|
|
|
|
message UnitConverterSearchSettings {
|
|
|
|
|
bool enabled = 1;
|
|
|
|
|
}
|
|
|
|
|
UnitConverterSearchSettings unit_converter_search = 13;
|
|
|
|
|
|
|
|
|
|
message WikipediaSearchSettings {
|
|
|
|
|
bool enabled = 1;
|
|
|
|
|
bool images = 2;
|
|
|
|
|
string custom_url = 3;
|
|
|
|
|
}
|
|
|
|
|
WikipediaSearchSettings wikipedia_search = 14;
|
|
|
|
|
|
|
|
|
|
message WebsiteSearchSettings {
|
|
|
|
|
bool enabled = 1;
|
|
|
|
|
}
|
|
|
|
|
WebsiteSearchSettings website_search = 15;
|
|
|
|
|
|
|
|
|
|
message WebSearchSettings {
|
|
|
|
|
bool enabled = 1;
|
|
|
|
|
}
|
|
|
|
|
WebSearchSettings web_search = 16;
|
|
|
|
|
|
2022-01-10 23:13:53 +01:00
|
|
|
message CalendarWidgetSettings {
|
|
|
|
|
bool hide_allday_events = 1;
|
|
|
|
|
repeated int64 exclude_calendars = 2;
|
|
|
|
|
}
|
|
|
|
|
CalendarWidgetSettings calendar_widget = 17;
|
|
|
|
|
|
2022-01-15 14:31:13 +01:00
|
|
|
message BadgeSettings {
|
|
|
|
|
bool notifications = 1;
|
|
|
|
|
bool suspended_apps = 2;
|
|
|
|
|
bool cloud_files = 3;
|
|
|
|
|
bool shortcuts = 4;
|
|
|
|
|
}
|
|
|
|
|
BadgeSettings badges = 18;
|
|
|
|
|
|
2022-01-25 21:21:46 +01:00
|
|
|
message GridSettings {
|
|
|
|
|
uint32 column_count = 1;
|
|
|
|
|
}
|
|
|
|
|
GridSettings grid = 19;
|
|
|
|
|
|
2022-01-27 20:45:46 +01:00
|
|
|
message SearchBarSettings {
|
|
|
|
|
enum SearchBarStyle {
|
|
|
|
|
Transparent = 0;
|
|
|
|
|
Solid = 1;
|
|
|
|
|
Hidden = 2;
|
|
|
|
|
}
|
|
|
|
|
SearchBarStyle search_bar_style = 1;
|
|
|
|
|
}
|
|
|
|
|
SearchBarSettings search_bar = 20;
|
|
|
|
|
|
2022-01-27 22:22:10 +01:00
|
|
|
message IconSettings {
|
|
|
|
|
enum IconShape {
|
|
|
|
|
PlatformDefault = 0;
|
|
|
|
|
Circle = 1;
|
|
|
|
|
Square = 2;
|
|
|
|
|
RoundedSquare = 3;
|
|
|
|
|
Triangle = 4;
|
|
|
|
|
Squircle = 5;
|
|
|
|
|
Hexagon = 6;
|
|
|
|
|
Pentagon = 7;
|
|
|
|
|
EasterEgg = 8;
|
|
|
|
|
}
|
|
|
|
|
IconShape shape = 1;
|
|
|
|
|
bool themed_icons = 2;
|
|
|
|
|
string icon_pack = 3;
|
|
|
|
|
enum LegacyIconBackground {
|
|
|
|
|
Dynamic = 0;
|
|
|
|
|
None = 1;
|
|
|
|
|
White = 2;
|
|
|
|
|
}
|
|
|
|
|
LegacyIconBackground legacyIconBg = 4;
|
|
|
|
|
}
|
|
|
|
|
IconSettings icons = 21;
|
|
|
|
|
|
2021-09-18 23:37:52 +02:00
|
|
|
}
|