move Theme, SystemStats, Modules to shell/services/
This commit is contained in:
parent
197f6976e0
commit
989182d603
59 changed files with 432 additions and 388 deletions
|
|
@ -1,10 +1,11 @@
|
|||
import QtQuick
|
||||
import Quickshell.Io
|
||||
import "." as M
|
||||
import "../services" as S
|
||||
|
||||
M.BarSection {
|
||||
id: root
|
||||
spacing: M.Theme.moduleSpacing
|
||||
spacing: S.Theme.moduleSpacing
|
||||
tooltip: root.weatherTooltip
|
||||
|
||||
property string weatherTooltip: ""
|
||||
|
|
@ -12,7 +13,7 @@ M.BarSection {
|
|||
Process {
|
||||
id: proc
|
||||
running: true
|
||||
command: ["wttrbar"].concat(M.Modules.weather.args)
|
||||
command: ["wttrbar"].concat(S.Modules.weather.args)
|
||||
stdout: StdioCollector {
|
||||
onStreamFinished: {
|
||||
try {
|
||||
|
|
@ -27,7 +28,7 @@ M.BarSection {
|
|||
}
|
||||
}
|
||||
Timer {
|
||||
interval: M.Modules.weather.interval || 3600000
|
||||
interval: S.Modules.weather.interval || 3600000
|
||||
running: true
|
||||
repeat: true
|
||||
onTriggered: proc.running = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue