78 lines
2.3 KiB
QML
78 lines
2.3 KiB
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
import "../controls"
|
|
import "../../services"
|
|
import "../../theme"
|
|
|
|
SettingsPage {
|
|
SettingsSection {
|
|
padded: true
|
|
RowLayout {
|
|
Layout.fillWidth: true
|
|
spacing: 16
|
|
Image {
|
|
objectName: "aboutCrest"
|
|
Layout.preferredWidth: 96
|
|
Layout.preferredHeight: 96
|
|
source: Qt.resolvedUrl("../../assets/glassmxrph-256.png")
|
|
sourceSize: Qt.size(192, 192)
|
|
fillMode: Image.PreserveAspectFit
|
|
smooth: true
|
|
mipmap: true
|
|
}
|
|
ColumnLayout {
|
|
Layout.fillWidth: true
|
|
spacing: 3
|
|
Text {
|
|
text: "GlassMxrph"
|
|
color: Theme.text
|
|
font.pixelSize: 26
|
|
font.weight: Font.DemiBold
|
|
}
|
|
Text {
|
|
text: "Portable Quickshell desktop suite for Hyprland"
|
|
color: Theme.textSecondary
|
|
font.pixelSize: 12
|
|
wrapMode: Text.Wrap
|
|
Layout.fillWidth: true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
SettingsSection {
|
|
title: "Environment"
|
|
SettingRow {
|
|
title: "Quickshell"
|
|
description: "Tested release"
|
|
Text {
|
|
text: "0.3.1"
|
|
color: Theme.textSecondary
|
|
}
|
|
}
|
|
SettingRow {
|
|
title: "Compositor"
|
|
description: "Tested release"
|
|
Text {
|
|
text: "Hyprland 0.56.2"
|
|
color: Theme.textSecondary
|
|
}
|
|
}
|
|
SettingRow {
|
|
title: "Icons"
|
|
description: Icons.available ? "Using the installed " + Icons.family : "Install a Nerd Font (e.g. Symbols Nerd Font) for icon glyphs"
|
|
Text {
|
|
text: Icons.available ? "Nerd Font" : "Letters"
|
|
color: Theme.textSecondary
|
|
}
|
|
}
|
|
SettingRow {
|
|
title: "Configuration"
|
|
description: ConfigService.directory + "/config.json"
|
|
Text {
|
|
text: ConfigService.writable ? "Writable" : "Read-only"
|
|
color: ConfigService.writable ? Theme.textSecondary : Theme.urgent
|
|
}
|
|
}
|
|
}
|
|
}
|