move things around, steal things from noctalia and new settings
This commit is contained in:
parent
819aa5d242
commit
7c5d08eb3f
@ -17,7 +17,7 @@ Variants {
|
||||
bottom: true
|
||||
}
|
||||
margins {
|
||||
top: Settings.config.barHeight + Settings.config.margins + 10
|
||||
top: Settings.config.floating ? Settings.config.barHeight + Settings.config.margins + 10 : Settings.config.barHeight + 10
|
||||
right: 10
|
||||
left: 10
|
||||
}
|
||||
|
||||
@ -7,26 +7,25 @@ import Quickshell.Io
|
||||
Singleton {
|
||||
id: root
|
||||
property alias config: settingsAdapter
|
||||
property alias currentWall: settingsAdapter.currentWall
|
||||
|
||||
onConfigChanged: {
|
||||
settingsView.writeAdapter();
|
||||
}
|
||||
FileView {
|
||||
id: settingsView
|
||||
|
||||
path: "/home/lucy/.config/quickshell/settings/config.json"
|
||||
watchChanges: true
|
||||
onFileChanged: reload()
|
||||
|
||||
onAdapterUpdated: writeAdapter()
|
||||
adapter: JsonAdapter {
|
||||
id: settingsAdapter
|
||||
property var margins: 20
|
||||
property var currentWall: ""
|
||||
property var barHeight: 20
|
||||
property var barHeight: 30
|
||||
property var font: ""
|
||||
property var fontSize: 14
|
||||
property var rounding: 10
|
||||
property var wallDir: "file:///home/lucy/.walls/"
|
||||
property bool floating: false
|
||||
property bool floating: true
|
||||
property int paddingTop: 10
|
||||
property int paddingSides: 10
|
||||
property var generateScheme: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user