plugin: rust-side modules + theme services with serde-typed config
This commit is contained in:
parent
a86e90e927
commit
f34f3f2f4e
95 changed files with 2477 additions and 1011 deletions
|
|
@ -4,10 +4,11 @@ import Quickshell
|
|||
import Quickshell.Widgets
|
||||
import "." as M
|
||||
import "../services" as S
|
||||
import NovaStats as NS
|
||||
|
||||
M.BarModule {
|
||||
id: root
|
||||
spacing: S.Theme.moduleSpacing
|
||||
spacing: NS.ThemeService.moduleSpacing
|
||||
tooltip: S.NiriIpc.focusedAppId ? S.NiriIpc.focusedAppId + "\n" + S.NiriIpc.focusedTitle : S.NiriIpc.focusedTitle
|
||||
cursorShape: Qt.ArrowCursor
|
||||
|
||||
|
|
@ -27,7 +28,7 @@ M.BarModule {
|
|||
id: _icon
|
||||
visible: root._iconSource !== ""
|
||||
source: root._iconSource
|
||||
implicitSize: S.Theme.fontSize + 2
|
||||
implicitSize: NS.ThemeService.fontSize + 2
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
layer.enabled: true
|
||||
layer.effect: MultiEffect {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue