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
|
|
@ -3,10 +3,11 @@ import QtQuick.Effects
|
|||
import Quickshell
|
||||
import Quickshell.Widgets
|
||||
import "." as M
|
||||
import "../services" as S
|
||||
|
||||
M.BarSection {
|
||||
id: root
|
||||
spacing: M.Theme.moduleSpacing
|
||||
spacing: S.Theme.moduleSpacing
|
||||
tooltip: M.NiriIpc.focusedAppId ? M.NiriIpc.focusedAppId + "\n" + M.NiriIpc.focusedTitle : M.NiriIpc.focusedTitle
|
||||
|
||||
readonly property string _iconSource: {
|
||||
|
|
@ -25,7 +26,7 @@ M.BarSection {
|
|||
id: _icon
|
||||
visible: root._iconSource !== ""
|
||||
source: root._iconSource
|
||||
implicitSize: M.Theme.fontSize + 2
|
||||
implicitSize: S.Theme.fontSize + 2
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
layer.enabled: true
|
||||
layer.effect: MultiEffect {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue