default modules to enabled, add window title debug logging
This commit is contained in:
parent
5deb6e7b62
commit
d8cef95b6f
2 changed files with 27 additions and 23 deletions
|
|
@ -8,85 +8,85 @@ QtObject {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
property var workspaces: ({
|
property var workspaces: ({
|
||||||
enable: false
|
enable: true
|
||||||
})
|
})
|
||||||
property var tray: ({
|
property var tray: ({
|
||||||
enable: false
|
enable: true
|
||||||
})
|
})
|
||||||
property var windowTitle: ({
|
property var windowTitle: ({
|
||||||
enable: false
|
enable: true
|
||||||
})
|
})
|
||||||
property var clock: ({
|
property var clock: ({
|
||||||
enable: false
|
enable: true
|
||||||
})
|
})
|
||||||
property var notifications: ({
|
property var notifications: ({
|
||||||
enable: false,
|
enable: true,
|
||||||
timeout: 3000,
|
timeout: 3000,
|
||||||
maxPopups: 4,
|
maxPopups: 4,
|
||||||
maxVisible: 10,
|
maxVisible: 10,
|
||||||
maxHistory: -1
|
maxHistory: -1
|
||||||
})
|
})
|
||||||
property var mpris: ({
|
property var mpris: ({
|
||||||
enable: false
|
enable: true
|
||||||
})
|
})
|
||||||
property var volume: ({
|
property var volume: ({
|
||||||
enable: false
|
enable: true
|
||||||
})
|
})
|
||||||
property var bluetooth: ({
|
property var bluetooth: ({
|
||||||
enable: false
|
enable: true
|
||||||
})
|
})
|
||||||
property var backlight: ({
|
property var backlight: ({
|
||||||
enable: false,
|
enable: true,
|
||||||
step: 5
|
step: 5
|
||||||
})
|
})
|
||||||
property var network: ({
|
property var network: ({
|
||||||
enable: false
|
enable: true
|
||||||
})
|
})
|
||||||
property var powerProfile: ({
|
property var powerProfile: ({
|
||||||
enable: false
|
enable: true
|
||||||
})
|
})
|
||||||
property var idleInhibitor: ({
|
property var idleInhibitor: ({
|
||||||
enable: false
|
enable: true
|
||||||
})
|
})
|
||||||
property var weather: ({
|
property var weather: ({
|
||||||
enable: false,
|
enable: true,
|
||||||
args: ["--nerd"],
|
args: ["--nerd"],
|
||||||
interval: 3600000
|
interval: 3600000
|
||||||
})
|
})
|
||||||
property var temperature: ({
|
property var temperature: ({
|
||||||
enable: false,
|
enable: true,
|
||||||
warm: 80,
|
warm: 80,
|
||||||
hot: 90
|
hot: 90
|
||||||
})
|
})
|
||||||
property var cpu: ({
|
property var cpu: ({
|
||||||
enable: false
|
enable: true
|
||||||
})
|
})
|
||||||
property var memory: ({
|
property var memory: ({
|
||||||
enable: false
|
enable: true
|
||||||
})
|
})
|
||||||
property var disk: ({
|
property var disk: ({
|
||||||
enable: false,
|
enable: true,
|
||||||
interval: 30000
|
interval: 30000
|
||||||
})
|
})
|
||||||
property var battery: ({
|
property var battery: ({
|
||||||
enable: false,
|
enable: true,
|
||||||
warning: 25,
|
warning: 25,
|
||||||
critical: 15
|
critical: 15
|
||||||
})
|
})
|
||||||
property var privacy: ({
|
property var privacy: ({
|
||||||
enable: false
|
enable: true
|
||||||
})
|
})
|
||||||
property var screenCorners: ({
|
property var screenCorners: ({
|
||||||
enable: false
|
enable: true
|
||||||
})
|
})
|
||||||
property var power: ({
|
property var power: ({
|
||||||
enable: false
|
enable: true
|
||||||
})
|
})
|
||||||
property var backgroundOverlay: ({
|
property var backgroundOverlay: ({
|
||||||
enable: false
|
enable: true
|
||||||
})
|
})
|
||||||
property var overviewBackdrop: ({
|
property var overviewBackdrop: ({
|
||||||
enable: false
|
enable: true
|
||||||
})
|
})
|
||||||
property var statsDaemon: ({
|
property var statsDaemon: ({
|
||||||
interval: -1
|
interval: -1
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,10 @@ M.BarSection {
|
||||||
spacing: M.Theme.moduleSpacing
|
spacing: M.Theme.moduleSpacing
|
||||||
visible: M.Modules.windowTitle.enable && M.NiriIpc.focusedTitle !== ""
|
visible: M.Modules.windowTitle.enable && M.NiriIpc.focusedTitle !== ""
|
||||||
|
|
||||||
|
onVisibleChanged: console.log("WindowTitle visible=" + visible + " enable=" + M.Modules.windowTitle.enable + " title='" + M.NiriIpc.focusedTitle + "' width=" + width)
|
||||||
|
onWidthChanged: if (visible)
|
||||||
|
console.log("WindowTitle width=" + width + " centerSection.x would need bar ref")
|
||||||
|
|
||||||
tooltip: M.NiriIpc.focusedAppId ? M.NiriIpc.focusedAppId + "\n" + M.NiriIpc.focusedTitle : M.NiriIpc.focusedTitle
|
tooltip: M.NiriIpc.focusedAppId ? M.NiriIpc.focusedAppId + "\n" + M.NiriIpc.focusedTitle : M.NiriIpc.focusedTitle
|
||||||
|
|
||||||
readonly property string _iconSource: {
|
readonly property string _iconSource: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue