2026-02-28 03:00:25 +08:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace LanMontainDesktop.Models;
|
|
|
|
|
|
|
|
|
|
public sealed class AppSettingsSnapshot
|
|
|
|
|
{
|
|
|
|
|
public int GridShortSideCells { get; set; } = 12;
|
|
|
|
|
|
2026-03-02 20:02:14 +08:00
|
|
|
public string GridSpacingPreset { get; set; } = "Relaxed";
|
|
|
|
|
|
|
|
|
|
public int DesktopEdgeInsetPercent { get; set; } = 18;
|
|
|
|
|
|
2026-02-28 03:00:25 +08:00
|
|
|
public bool? IsNightMode { get; set; }
|
|
|
|
|
|
|
|
|
|
public string? ThemeColor { get; set; }
|
|
|
|
|
|
|
|
|
|
public string? WallpaperPath { get; set; }
|
|
|
|
|
|
|
|
|
|
public string WallpaperPlacement { get; set; } = "Fill";
|
|
|
|
|
|
|
|
|
|
public int SettingsTabIndex { get; set; } = 0;
|
|
|
|
|
|
2026-02-28 04:23:28 +08:00
|
|
|
public string LanguageCode { get; set; } = "zh-CN";
|
|
|
|
|
|
2026-03-01 16:50:06 +08:00
|
|
|
public string? TimeZoneId { get; set; }
|
|
|
|
|
|
2026-03-03 04:56:04 +08:00
|
|
|
public string WeatherLocationMode { get; set; } = "CitySearch";
|
|
|
|
|
|
|
|
|
|
public string WeatherLocationKey { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
public string WeatherLocationName { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
public double WeatherLatitude { get; set; } = 39.9042;
|
|
|
|
|
|
|
|
|
|
public double WeatherLongitude { get; set; } = 116.4074;
|
|
|
|
|
|
|
|
|
|
public bool WeatherAutoRefreshLocation { get; set; }
|
|
|
|
|
|
|
|
|
|
public string WeatherLocationQuery { get; set; } = string.Empty;
|
|
|
|
|
|
2026-02-28 03:00:25 +08:00
|
|
|
public List<string> TopStatusComponentIds { get; set; } = [];
|
|
|
|
|
|
|
|
|
|
public List<string> PinnedTaskbarActions { get; set; } =
|
|
|
|
|
[
|
|
|
|
|
TaskbarActionId.MinimizeToWindows.ToString(),
|
|
|
|
|
TaskbarActionId.OpenSettings.ToString()
|
|
|
|
|
];
|
|
|
|
|
|
2026-03-02 20:02:14 +08:00
|
|
|
public bool EnableDynamicTaskbarActions { get; set; } = true;
|
2026-02-28 03:00:25 +08:00
|
|
|
|
|
|
|
|
public string TaskbarLayoutMode { get; set; } = "BottomFullRowMacStyle";
|
2026-03-01 00:34:07 +08:00
|
|
|
|
2026-03-02 20:02:14 +08:00
|
|
|
public string ClockDisplayFormat { get; set; } = "HourMinuteSecond";
|
|
|
|
|
|
|
|
|
|
public string StatusBarSpacingMode { get; set; } = "Relaxed";
|
|
|
|
|
|
|
|
|
|
public int StatusBarCustomSpacingPercent { get; set; } = 12;
|
|
|
|
|
|
2026-03-01 00:34:07 +08:00
|
|
|
public int DesktopPageCount { get; set; } = 1;
|
|
|
|
|
|
|
|
|
|
public int CurrentDesktopSurfaceIndex { get; set; } = 0;
|
2026-03-01 16:50:06 +08:00
|
|
|
|
|
|
|
|
public List<DesktopComponentPlacementSnapshot> DesktopComponentPlacements { get; set; } = [];
|
2026-02-28 03:00:25 +08:00
|
|
|
}
|