diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-14 18:19:36 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-14 18:19:36 +0200 |
| commit | 299cd762de30b5ae162cf599e929b61752645077 (patch) | |
| tree | 2cee2ace27e81fa354370598c8e50aded73e9000 /desktop/modules/sound | |
| parent | 562273597fa3831363d9ac4a30b7263b7bc69b3e (diff) | |
| download | quickshell-299cd762de30b5ae162cf599e929b61752645077.tar.gz quickshell-299cd762de30b5ae162cf599e929b61752645077.zip | |
feat(desktop): pin glyphs to Inconsolata Nerd Font
Glyphs are Nerd Font private-use codepoints, and relying on per-codepoint fontconfig fallback from Noto Sans let the same codepoint resolve to a different glyph in a different Nerd Font.
A Theme.iconFamily now names the render family once, and every glyph Text uses it, while fontFamily stays Noto Sans for words and labels. The ethernet glyph moves from \uf6ff to \uef44, the fa-ethernet codepoint present in Inconsolata.
Diffstat (limited to 'desktop/modules/sound')
| -rw-r--r-- | desktop/modules/sound/Osd.qml | 4 | ||||
| -rw-r--r-- | desktop/modules/sound/SoundPage.qml | 4 | ||||
| -rw-r--r-- | desktop/modules/sound/TransportButton.qml | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/desktop/modules/sound/Osd.qml b/desktop/modules/sound/Osd.qml index 677d211..424b9c3 100644 --- a/desktop/modules/sound/Osd.qml +++ b/desktop/modules/sound/Osd.qml @@ -112,7 +112,7 @@ Scope { anchors.verticalCenter: parent.verticalCenter width: 30 horizontalAlignment: Text.AlignHCenter - font.family: Theme.fontFamily + font.family: Theme.iconFamily font.pixelSize: 24 color: win.muted ? Theme.red : Theme.accent text: { @@ -200,7 +200,7 @@ Scope { anchors.centerIn: parent visible: Player.artUrl === "" || parent.children[0].status !== Image.Ready text: "" - font { family: Theme.fontFamily; pixelSize: 20 } + font { family: Theme.iconFamily; pixelSize: 20 } color: Theme.overlay } } diff --git a/desktop/modules/sound/SoundPage.qml b/desktop/modules/sound/SoundPage.qml index 7a757c9..31f9e7c 100644 --- a/desktop/modules/sound/SoundPage.qml +++ b/desktop/modules/sound/SoundPage.qml @@ -79,7 +79,7 @@ Column { Text { anchors.verticalCenter: parent.verticalCenter text: page.stateIcon(audio, modelData.label === "Input") - font { family: Theme.fontFamily; pixelSize: Theme.fontSize } + font { family: Theme.iconFamily; pixelSize: Theme.fontSize } color: audio?.muted ? Theme.red : Theme.accent } @@ -120,7 +120,7 @@ Column { Text { id: chevron text: section.expanded ? "\uf077" : "\uf078" - font { family: Theme.fontFamily; pixelSize: Theme.fontSize - 4 } + font { family: Theme.iconFamily; pixelSize: Theme.fontSize - 4 } color: Theme.overlay } } diff --git a/desktop/modules/sound/TransportButton.qml b/desktop/modules/sound/TransportButton.qml index 2c1f498..b6dd53f 100644 --- a/desktop/modules/sound/TransportButton.qml +++ b/desktop/modules/sound/TransportButton.qml @@ -25,7 +25,7 @@ Rectangle { Text { anchors.centerIn: parent text: btn.glyph - font { family: Theme.fontFamily; pixelSize: 14 } + font { family: Theme.iconFamily; pixelSize: 14 } color: Theme.text } |
