mirror of
https://github.com/belsabbagh/dotfiles.git
synced 2026-04-11 09:36:46 +00:00
quickshell and hyprland additions
This commit is contained in:
27
.config/quickshell/caelestia/components/SectionHeader.qml
Normal file
27
.config/quickshell/caelestia/components/SectionHeader.qml
Normal file
@@ -0,0 +1,27 @@
|
||||
import qs.components
|
||||
import qs.services
|
||||
import qs.config
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
|
||||
ColumnLayout {
|
||||
id: root
|
||||
|
||||
required property string title
|
||||
property string description: ""
|
||||
|
||||
spacing: 0
|
||||
|
||||
StyledText {
|
||||
Layout.topMargin: Appearance.spacing.large
|
||||
text: root.title
|
||||
font.pointSize: Appearance.font.size.larger
|
||||
font.weight: 500
|
||||
}
|
||||
|
||||
StyledText {
|
||||
visible: root.description !== ""
|
||||
text: root.description
|
||||
color: Colours.palette.m3outline
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user