dedup, monospace font for icons
This commit is contained in:
parent
cd45c2d9cf
commit
00838e1d64
18 changed files with 67 additions and 80 deletions
|
|
@ -10,18 +10,12 @@ Row {
|
|||
readonly property MprisPlayer player: Mpris.players.values[0] ?? null
|
||||
readonly property bool playing: player?.playbackState === MprisPlaybackState.Playing
|
||||
|
||||
Text {
|
||||
text: root.playing ? "" : (root.player?.playbackState === MprisPlaybackState.Paused ? "" : "")
|
||||
color: M.Theme.base05
|
||||
font.pixelSize: M.Theme.fontSize + 1
|
||||
font.family: M.Theme.fontFamily
|
||||
M.BarIcon {
|
||||
icon: root.playing ? "" : (root.player?.playbackState === MprisPlaybackState.Paused ? "" : "")
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
Text {
|
||||
text: root.player?.identity ?? ""
|
||||
color: M.Theme.base05
|
||||
font.pixelSize: M.Theme.fontSize
|
||||
font.family: M.Theme.fontFamily
|
||||
M.BarLabel {
|
||||
label: root.player?.identity ?? ""
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue