mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-21 08:19:58 -05:00
add center title config option
This commit is contained in:
@@ -65,7 +65,12 @@ ApplicationWindow {
|
||||
implicitHeight: Math.max(welcomeText.implicitHeight, windowControlsRow.implicitHeight)
|
||||
StyledText {
|
||||
id: welcomeText
|
||||
anchors.centerIn: parent
|
||||
anchors {
|
||||
left: ConfigOptions.windows.centerTitle ? undefined : parent.left
|
||||
horizontalCenter: ConfigOptions.windows.centerTitle ? parent.horizontalCenter : undefined
|
||||
verticalCenter: parent.verticalCenter
|
||||
leftMargin: 12
|
||||
}
|
||||
color: Appearance.colors.colOnLayer0
|
||||
text: "Yooooo hi there"
|
||||
font.pixelSize: Appearance.font.pixelSize.title
|
||||
|
||||
Reference in New Issue
Block a user