mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
51 lines
1.4 KiB
C#
51 lines
1.4 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace LanMontainDesktop.Models;
|
|
|
|
public sealed class AppSettingsSnapshot
|
|
{
|
|
public int GridShortSideCells { get; set; } = 12;
|
|
|
|
public string GridSpacingPreset { get; set; } = "Relaxed";
|
|
|
|
public int DesktopEdgeInsetPercent { get; set; } = 18;
|
|
|
|
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;
|
|
|
|
public string LanguageCode { get; set; } = "zh-CN";
|
|
|
|
public string? TimeZoneId { get; set; }
|
|
|
|
public List<string> TopStatusComponentIds { get; set; } = [];
|
|
|
|
public List<string> PinnedTaskbarActions { get; set; } =
|
|
[
|
|
TaskbarActionId.MinimizeToWindows.ToString(),
|
|
TaskbarActionId.OpenSettings.ToString()
|
|
];
|
|
|
|
public bool EnableDynamicTaskbarActions { get; set; } = true;
|
|
|
|
public string TaskbarLayoutMode { get; set; } = "BottomFullRowMacStyle";
|
|
|
|
public string ClockDisplayFormat { get; set; } = "HourMinuteSecond";
|
|
|
|
public string StatusBarSpacingMode { get; set; } = "Relaxed";
|
|
|
|
public int StatusBarCustomSpacingPercent { get; set; } = 12;
|
|
|
|
public int DesktopPageCount { get; set; } = 1;
|
|
|
|
public int CurrentDesktopSurfaceIndex { get; set; } = 0;
|
|
|
|
public List<DesktopComponentPlacementSnapshot> DesktopComponentPlacements { get; set; } = [];
|
|
}
|