summaryrefslogtreecommitdiff
path: root/modules/controlcenter/WindowTitle.qml
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-03-16 17:07:54 -0400
committerFreya Murphy <freya@freyacat.org>2026-03-16 17:07:54 -0400
commitbb6717666a669aa81cda28896ed292ca5af55ece (patch)
tree5f3c5fed20fd3bf8fe38e10d7e09b81558c64a79 /modules/controlcenter/WindowTitle.qml
parentadd date to clock (diff)
downloadcaelestia-shell-bb6717666a669aa81cda28896ed292ca5af55ece.tar.gz
caelestia-shell-bb6717666a669aa81cda28896ed292ca5af55ece.tar.bz2
caelestia-shell-bb6717666a669aa81cda28896ed292ca5af55ece.zip
change things
Diffstat (limited to 'modules/controlcenter/WindowTitle.qml')
-rw-r--r--modules/controlcenter/WindowTitle.qml51
1 files changed, 0 insertions, 51 deletions
diff --git a/modules/controlcenter/WindowTitle.qml b/modules/controlcenter/WindowTitle.qml
deleted file mode 100644
index fb71608..0000000
--- a/modules/controlcenter/WindowTitle.qml
+++ /dev/null
@@ -1,51 +0,0 @@
-import qs.components
-import qs.services
-import qs.config
-import Quickshell
-import QtQuick
-
-StyledRect {
- id: root
-
- required property ShellScreen screen
- required property Session session
-
- implicitHeight: text.implicitHeight + Appearance.padding.normal
- color: Colours.tPalette.m3surfaceContainer
-
- StyledText {
- id: text
-
- anchors.horizontalCenter: parent.horizontalCenter
- anchors.bottom: parent.bottom
-
- text: qsTr("Caelestia Settings - %1").arg(root.session.active)
- font.capitalization: Font.Capitalize
- font.pointSize: Appearance.font.size.larger
- font.weight: 500
- }
-
- Item {
- anchors.right: parent.right
- anchors.top: parent.top
- anchors.margins: Appearance.padding.normal
-
- implicitWidth: implicitHeight
- implicitHeight: closeIcon.implicitHeight + Appearance.padding.small
-
- StateLayer {
- radius: Appearance.rounding.full
-
- function onClicked(): void {
- QsWindow.window.destroy();
- }
- }
-
- MaterialIcon {
- id: closeIcon
-
- anchors.centerIn: parent
- text: "close"
- }
- }
-}