quickshell: should be everything I want now
This commit is contained in:
20
quickshell/Noctalia/NText.qml
Normal file
20
quickshell/Noctalia/NText.qml
Normal file
@@ -0,0 +1,20 @@
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import qs.Constants
|
||||
import qs.Noctalia
|
||||
|
||||
Text {
|
||||
id: root
|
||||
|
||||
property string family: Fonts.primary
|
||||
property real pointSize: Style.fontSizeM
|
||||
property real fontScale: 1
|
||||
|
||||
font.family: root.family
|
||||
font.weight: Style.fontWeightMedium
|
||||
font.pointSize: root.pointSize * fontScale
|
||||
color: Color.mOnSurface
|
||||
elide: Text.ElideRight
|
||||
wrapMode: Text.NoWrap
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
}
|
||||
Reference in New Issue
Block a user