use Dimensions config
This commit is contained in:
parent
dd6d45c4b6
commit
6df0784136
7 changed files with 147 additions and 63 deletions
44
config/Dimensions.qml
Normal file
44
config/Dimensions.qml
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
pragma Singleton
|
||||
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
|
||||
Singleton {
|
||||
id: root
|
||||
|
||||
property int radius: 8
|
||||
|
||||
property Bar bar: Bar {}
|
||||
property Clock clock: Clock {}
|
||||
property Workspace workspace: Workspace {}
|
||||
|
||||
component Bar: QtObject {
|
||||
id: bar
|
||||
|
||||
property int spacing: 6
|
||||
property int border: 2
|
||||
property int height: 50
|
||||
property int verticalMargins: 4
|
||||
property int horizontalMargins: 6
|
||||
property int verticalPadding: 2
|
||||
property int horizontalPadding: 6
|
||||
}
|
||||
|
||||
component Clock: QtObject {
|
||||
id: clock
|
||||
|
||||
property int fontSize: 14
|
||||
property int width: 230
|
||||
property int height: 30
|
||||
}
|
||||
|
||||
component Workspace: QtObject {
|
||||
id: workspace
|
||||
|
||||
property int spacing: 5
|
||||
property int width: 30
|
||||
property int height: 30
|
||||
property int verticalPadding: 6
|
||||
property int horizontalPadding: 7
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue