1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

feat: Update Notepad to use Metadata (READ ME)

- Potential breaking changes; SAVE your notes before updating
- The new system will store files locally to free up Session data
- Session metadata will be saved in JSON via: `notepad-session.json`
- Local files will be saved in: `/.local/state/DankMaterialShell/notepad-files`
This commit is contained in:
purian23
2025-09-15 17:37:39 -04:00
parent 5186afce06
commit fec921df10
5 changed files with 611 additions and 220 deletions

View File

@@ -1,5 +1,6 @@
import QtQuick
import qs.Common
import qs.Services
import qs.Widgets
Rectangle {
@@ -45,7 +46,7 @@ Rectangle {
anchors.top: parent.top
anchors.rightMargin: SettingsData.topBarNoBackground ? 0 : 4
anchors.topMargin: SettingsData.topBarNoBackground ? 0 : 4
visible: SessionData.notepadContent.length > 0
visible: NotepadStorageService.tabs && NotepadStorageService.tabs.length > 0
opacity: 0.8
}
@@ -68,4 +69,4 @@ Rectangle {
}
}
}