Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/Config.qml
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,7 @@ Singleton {
property bool rotateCoverArt: true
property bool dashboardPersistTabs: true
property int dashboardMaxPersistentTabs: 2
property bool obsidianEnabled: true
}
}

Expand Down
7 changes: 7 additions & 0 deletions modules/widgets/dashboard/controls/BindsPanel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,13 @@ Item {
onClicked: function () {
Config.keybindsLoader.reload();
}
},
{
icon: Icons.file,
tooltip: "Open JSON",
onClicked: function () {
Qt.openUrlExternally("file://" + Config.keybindsPath);
}
}
]
}
Expand Down
33 changes: 33 additions & 0 deletions modules/widgets/dashboard/controls/ShellPanel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,10 @@ Item {
text: "System"
sectionId: "system"
}
SectionButton {
text: "Dashboard"
sectionId: "dashboard"
}
}

// ═══════════════════════════════════════════════════════════════
Expand Down Expand Up @@ -1850,6 +1854,35 @@ Item {
}
}
}

// ═══════════════════════════════════════════════════════════════
// DASHBOARD SECTION
// ═══════════════════════════════════════════════════════════════
ColumnLayout {
visible: root.currentSection === "dashboard"
Layout.fillWidth: true
spacing: 8

Text {
text: "Notes"
font.family: Config.theme.font
font.pixelSize: Styling.fontSize(-1)
font.weight: Font.Medium
color: Colors.overSurfaceVariant
Layout.bottomMargin: -4
}

ToggleRow {
label: "Obsidian Integration"
checked: Config.performance.obsidianEnabled ?? true
onToggled: value => {
if (value !== Config.performance.obsidianEnabled) {
GlobalStates.markShellChanged();
Config.performance.obsidianEnabled = value;
}
}
}
}
}
}
}
Expand Down
Loading