mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
allow user to configure window decorations(CSD/SSD) (#1839)
* allow user to configure window decorations(CSD/SSD) * rename piliplus.desktop to com.example.piliplus.desktop * update --------- Co-authored-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -56,6 +56,16 @@ List<SettingsModel> get styleSettings => [
|
||||
needReboot: true,
|
||||
),
|
||||
],
|
||||
if (Platform.isLinux)
|
||||
const SwitchModel(
|
||||
title: '使用SSD(Server-Side Decoration)',
|
||||
subtitle: '(Linux)强制使用Server-Side Decoration',
|
||||
leading: Icon(Icons.web_asset),
|
||||
setKey: SettingBoxKey.useSSD,
|
||||
defaultVal: false,
|
||||
needReboot: true,
|
||||
onChanged: GStorage.syncToDisk,
|
||||
),
|
||||
SwitchModel(
|
||||
title: '横屏适配',
|
||||
subtitle: '启用横屏布局与逻辑,平板、折叠屏等可开启;建议全屏方向设为【不改变当前方向】',
|
||||
|
||||
Reference in New Issue
Block a user