clean up
This commit is contained in:
parent
36b22b46ce
commit
52f4948275
2 changed files with 1 additions and 30 deletions
|
|
@ -1,29 +0,0 @@
|
|||
pragma Singleton
|
||||
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import QtQuick
|
||||
|
||||
|
||||
Singleton {
|
||||
id: root
|
||||
property alias s: stateAdapter
|
||||
property alias v: state
|
||||
FileView {
|
||||
id: state
|
||||
path: Qt.resolvedUrl(Quickshell.shellDir + "/settings/state.json")
|
||||
watchChanges: true
|
||||
onLoadFailed: {
|
||||
writeAdapter()
|
||||
}
|
||||
onAdapterUpdated: writeAdapter()
|
||||
onFileChanged: reload()
|
||||
adapter: JsonAdapter {
|
||||
id: stateAdapter
|
||||
property bool themeSwitcherVisible: false
|
||||
}
|
||||
|
||||
}
|
||||
Component.onCompleted: console.log("say gex")
|
||||
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"appearance": {
|
||||
"currentTheme": "base16-gruvbox-dark-hard",
|
||||
"currentTheme": "base16-github-dark",
|
||||
"font": "Roboto Medium",
|
||||
"fontSize": 14,
|
||||
"iconSize": 14,
|
||||
|
|
|
|||
Loading…
Reference in a new issue