internal: fix types for lsp
This commit is contained in:
parent
1b6c19b131
commit
df4b3b85a9
9 changed files with 38 additions and 27 deletions
|
|
@ -4,15 +4,10 @@ JsonObject {
|
|||
property bool persistent: true
|
||||
property bool showOnHover: true
|
||||
property int dragThreshold: 20
|
||||
property Workspaces workspaces: Workspaces {}
|
||||
property Sizes sizes: Sizes {}
|
||||
|
||||
property JsonObject sizes: JsonObject {
|
||||
property int innerHeight: 30
|
||||
property int windowPreviewSize: 400
|
||||
property int trayMenuWidth: 300
|
||||
property int batteryWidth: 250
|
||||
}
|
||||
|
||||
property JsonObject workspaces: JsonObject {
|
||||
component Workspaces: JsonObject {
|
||||
property int shown: 5
|
||||
property bool rounded: true
|
||||
property bool activeIndicator: true
|
||||
|
|
@ -23,4 +18,11 @@ JsonObject {
|
|||
property string occupiedLabel: " "
|
||||
property string activeLabel: " "
|
||||
}
|
||||
|
||||
component Sizes: JsonObject {
|
||||
property int innerHeight: 30
|
||||
property int windowPreviewSize: 400
|
||||
property int trayMenuWidth: 300
|
||||
property int batteryWidth: 250
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,17 +28,17 @@ Singleton {
|
|||
JsonAdapter {
|
||||
id: adapter
|
||||
|
||||
property JsonObject bar: BarConfig {}
|
||||
property JsonObject border: BorderConfig {}
|
||||
property JsonObject dashboard: DashboardConfig {}
|
||||
property JsonObject launcher: LauncherConfig {}
|
||||
property JsonObject notifs: NotifsConfig {}
|
||||
property JsonObject osd: OsdConfig {}
|
||||
property JsonObject session: SessionConfig {}
|
||||
property JsonObject winfo: WInfoConfig {}
|
||||
property JsonObject lock: LockConfig {}
|
||||
property JsonObject services: ServiceConfig {}
|
||||
property JsonObject paths: UserPaths {}
|
||||
property BarConfig bar: BarConfig {}
|
||||
property BorderConfig border: BorderConfig {}
|
||||
property DashboardConfig dashboard: DashboardConfig {}
|
||||
property LauncherConfig launcher: LauncherConfig {}
|
||||
property NotifsConfig notifs: NotifsConfig {}
|
||||
property OsdConfig osd: OsdConfig {}
|
||||
property SessionConfig session: SessionConfig {}
|
||||
property WInfoConfig winfo: WInfoConfig {}
|
||||
property LockConfig lock: LockConfig {}
|
||||
property ServiceConfig services: ServiceConfig {}
|
||||
property UserPaths paths: UserPaths {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,9 @@ import Quickshell.Io
|
|||
JsonObject {
|
||||
property int mediaUpdateInterval: 500
|
||||
property int visualiserBars: 45
|
||||
property Sizes sizes: Sizes {}
|
||||
|
||||
property JsonObject sizes: JsonObject {
|
||||
component Sizes: JsonObject {
|
||||
readonly property int tabIndicatorHeight: 3
|
||||
readonly property int tabIndicatorSpacing: 5
|
||||
readonly property int infoWidth: 200
|
||||
|
|
|
|||
|
|
@ -6,8 +6,10 @@ JsonObject {
|
|||
property string actionPrefix: ">"
|
||||
property bool enableDangerousActions: false // Allow actions that can cause losing data, like shutdown, reboot and logout
|
||||
property int dragThreshold: 50
|
||||
property UseFuzzy useFuzzy: UseFuzzy {}
|
||||
property Sizes sizes: Sizes {}
|
||||
|
||||
property JsonObject useFuzzy: JsonObject {
|
||||
component UseFuzzy: JsonObject {
|
||||
property bool apps: false
|
||||
property bool actions: false
|
||||
property bool schemes: false
|
||||
|
|
@ -15,7 +17,7 @@ JsonObject {
|
|||
property bool wallpapers: false
|
||||
}
|
||||
|
||||
property JsonObject sizes: JsonObject {
|
||||
component Sizes: JsonObject {
|
||||
property int itemWidth: 600
|
||||
property int itemHeight: 57
|
||||
property int wallpaperWidth: 280
|
||||
|
|
|
|||
|
|
@ -2,8 +2,9 @@ import Quickshell.Io
|
|||
|
||||
JsonObject {
|
||||
property int maxNotifs: 5
|
||||
property Sizes sizes: Sizes {}
|
||||
|
||||
property JsonObject sizes: JsonObject {
|
||||
component Sizes: JsonObject {
|
||||
property int border: 100
|
||||
property int clockWidth: 800
|
||||
property int clockHeight: 200
|
||||
|
|
|
|||
|
|
@ -6,8 +6,9 @@ JsonObject {
|
|||
property real clearThreshold: 0.3
|
||||
property int expandThreshold: 20
|
||||
property bool actionOnClick: false
|
||||
property Sizes sizes: Sizes {}
|
||||
|
||||
property JsonObject sizes: JsonObject {
|
||||
component Sizes: JsonObject {
|
||||
property int width: 400
|
||||
property int image: 41
|
||||
property int badge: 20
|
||||
|
|
|
|||
|
|
@ -2,8 +2,9 @@ import Quickshell.Io
|
|||
|
||||
JsonObject {
|
||||
property int hideDelay: 2000
|
||||
property Sizes sizes: Sizes {}
|
||||
|
||||
property JsonObject sizes: JsonObject {
|
||||
component Sizes: JsonObject {
|
||||
property int sliderWidth: 30
|
||||
property int sliderHeight: 150
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,9 @@ import Quickshell.Io
|
|||
|
||||
JsonObject {
|
||||
property int dragThreshold: 30
|
||||
property Sizes sizes: Sizes {}
|
||||
|
||||
property JsonObject sizes: JsonObject {
|
||||
component Sizes: JsonObject {
|
||||
property int button: 80
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,9 @@
|
|||
import Quickshell.Io
|
||||
|
||||
JsonObject {
|
||||
property JsonObject sizes: JsonObject {
|
||||
property Sizes sizes: Sizes {}
|
||||
|
||||
component Sizes: JsonObject {
|
||||
property real heightMult: 0.7
|
||||
property real detailsWidth: 500
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue