mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
settings db + autofmt
This commit is contained in:
@@ -350,13 +350,40 @@
|
||||
"subTab": 0,
|
||||
"subTabLabel": "common.appearance"
|
||||
},
|
||||
{
|
||||
"labelKey": "panels.bar.behavior-workspace-scroll-label",
|
||||
"descriptionKey": "panels.bar.behavior-workspace-scroll-description",
|
||||
"widget": "NComboBox",
|
||||
"tab": 4,
|
||||
"tabLabel": "panels.bar.title",
|
||||
"subTab": 2,
|
||||
"subTabLabel": "common.behavior"
|
||||
},
|
||||
{
|
||||
"labelKey": "panels.general.reverse-scrolling-label",
|
||||
"descriptionKey": "panels.general.reverse-scrolling-description",
|
||||
"widget": "NToggle",
|
||||
"tab": 4,
|
||||
"tabLabel": "panels.bar.title",
|
||||
"subTab": 2,
|
||||
"subTabLabel": "common.behavior"
|
||||
},
|
||||
{
|
||||
"labelKey": "panels.bar.behavior-wheel-wrap-label",
|
||||
"descriptionKey": "panels.bar.behavior-wheel-wrap-description",
|
||||
"widget": "NToggle",
|
||||
"tab": 4,
|
||||
"tabLabel": "panels.bar.title",
|
||||
"subTab": 2,
|
||||
"subTabLabel": "common.behavior"
|
||||
},
|
||||
{
|
||||
"labelKey": "panels.bar.monitor-override-settings",
|
||||
"descriptionKey": "panels.bar.monitor-override-settings-description",
|
||||
"widget": "NToggle",
|
||||
"tab": 4,
|
||||
"tabLabel": "panels.bar.title",
|
||||
"subTab": 2,
|
||||
"subTab": 3,
|
||||
"subTabLabel": "common.monitors"
|
||||
},
|
||||
{
|
||||
@@ -892,14 +919,6 @@
|
||||
"tabLabel": "common.general",
|
||||
"subTab": null
|
||||
},
|
||||
{
|
||||
"labelKey": "panels.general.reverse-scrolling-label",
|
||||
"descriptionKey": "panels.general.reverse-scrolling-description",
|
||||
"widget": "NToggle",
|
||||
"tab": 0,
|
||||
"tabLabel": "common.general",
|
||||
"subTab": null
|
||||
},
|
||||
{
|
||||
"labelKey": "panels.general.keybinds-title",
|
||||
"descriptionKey": "panels.general.keybinds-description",
|
||||
|
||||
+2
-2
@@ -342,7 +342,7 @@ Item {
|
||||
onClicked: mouse => {
|
||||
if (mouse.button === Qt.RightButton) {
|
||||
if (bar.isPointOverWidget(mouse.x, mouse.y))
|
||||
return;
|
||||
return;
|
||||
// Click is on empty bar background - open control center
|
||||
var controlCenterPanel = PanelService.getPanel("controlCenterPanel", screen);
|
||||
|
||||
@@ -374,7 +374,7 @@ Item {
|
||||
target: bar
|
||||
acceptedDevices: PointerDevice.Mouse | PointerDevice.TouchPad
|
||||
enabled: bar.barWheelAction !== "none"
|
||||
|
||||
|
||||
onWheel: function (event) {
|
||||
if (bar.barWheelCooldown)
|
||||
return;
|
||||
|
||||
@@ -18,20 +18,20 @@ ColumnLayout {
|
||||
description: I18n.tr("panels.bar.behavior-workspace-scroll-description")
|
||||
model: {
|
||||
var items = [
|
||||
{
|
||||
"key": "none",
|
||||
"name": "Nothing"
|
||||
},
|
||||
{
|
||||
"key": "workspace",
|
||||
"name": "Workspace"
|
||||
}
|
||||
];
|
||||
{
|
||||
"key": "none",
|
||||
"name": "Nothing"
|
||||
},
|
||||
{
|
||||
"key": "workspace",
|
||||
"name": "Workspace"
|
||||
}
|
||||
];
|
||||
if (CompositorService.isNiri) {
|
||||
items.push({
|
||||
"key": "content",
|
||||
"name": "Content"
|
||||
});
|
||||
"key": "content",
|
||||
"name": "Content"
|
||||
});
|
||||
}
|
||||
return items;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user