mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-01 07:05:48 +00:00

新增电源插件右键菜单支持配置的功能 Log: 新增电源插件右键菜单支持配置的功能 Task: https://pms.uniontech.com/task-view-114011.html Influence: 任务栏电源按钮右键菜单 Change-Id: I97f050a10360b1893d17b2a12e3157286edf3fd6
17 lines
717 B
JSON
17 lines
717 B
JSON
{
|
||
"magic":"dsg.config.meta",
|
||
"version":"1.0",
|
||
"contents":{
|
||
"contextMenu":{
|
||
"value": ["Shutdown", "Reboot", "Suspend", "Hibernate", "Lock", "Logout", "SwitchUser", "PowerSettings"],
|
||
"serial": 0,
|
||
"flags": [],
|
||
"name": "ContextMenu",
|
||
"name[zh_CN]": "电源按钮右键菜单",
|
||
"description[zh_CN]": "电源界面的右键菜单内容,如需不显示某个选项,移除即可;默认值:\"Shutdown\", \"Reboot\", \"Suspend\", \"Hibernate\", \"Lock\", \"Logout\", \"SwitchUser\", \"PowerSettings\";",
|
||
"description":"",
|
||
"permissions":"readwrite",
|
||
"visibility":"private"
|
||
}
|
||
}
|
||
} |