mirror of
https://github.com/luneko/SweetTokyoNight.git
synced 2025-12-16 16:39:52 +01:00
KDE: Improve lockscreen to match sddm
This commit is contained in:
44
kde/look-and-feel/contents/lockscreen/config.qml
Normal file
44
kde/look-and-feel/contents/lockscreen/config.qml
Normal file
@@ -0,0 +1,44 @@
|
||||
import QtQuick 2.5
|
||||
import QtQuick.Controls 2.5 as QQC2
|
||||
import QtQuick.Layouts 1.1
|
||||
|
||||
ColumnLayout {
|
||||
property alias cfg_alwaysShowClock: alwaysClock.checked
|
||||
property alias cfg_showMediaControls: showMediaControls.checked
|
||||
|
||||
spacing: 0
|
||||
|
||||
RowLayout {
|
||||
spacing: units.largeSpacing / 2
|
||||
|
||||
QQC2.Label {
|
||||
Layout.minimumWidth: formAlignment - units.largeSpacing //to match wallpaper config...
|
||||
horizontalAlignment: Text.AlignRight
|
||||
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Clock:")
|
||||
}
|
||||
QQC2.CheckBox {
|
||||
id: alwaysClock
|
||||
text: i18ndc("plasma_lookandfeel_org.kde.lookandfeel", "verb, to show something", "Always show")
|
||||
}
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
spacing: units.largeSpacing / 2
|
||||
|
||||
QQC2.Label {
|
||||
Layout.minimumWidth: formAlignment - units.largeSpacing //to match wallpaper config...
|
||||
horizontalAlignment: Text.AlignRight
|
||||
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Media controls:")
|
||||
}
|
||||
QQC2.CheckBox {
|
||||
id: showMediaControls
|
||||
text: i18ndc("plasma_lookandfeel_org.kde.lookandfeel", "verb, to show something", "Show")
|
||||
}
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user