24 lines
545 B
QML
24 lines
545 B
QML
pragma Singleton
|
|
import Quickshell
|
|
import Quickshell.Io
|
|
|
|
Singleton {
|
|
id: root
|
|
property alias config: settingsAdapter
|
|
FileView {
|
|
id: settingsView
|
|
path: "file:///home/lucy/.config/qs.json"
|
|
onFileChanged: reload()
|
|
watchChanges: true
|
|
adapter: JsonAdapter {
|
|
id: settingsAdapter
|
|
property int barHeight
|
|
property int rounding
|
|
property bool floating
|
|
property string font
|
|
property int fontSize
|
|
property int margins
|
|
}
|
|
}
|
|
}
|