mirror of
https://github.com/Keyitdev/sddm-astronaut-theme.git
synced 2026-09-24 02:22:09 +00:00
Update: Added support for user's full name (GECOS) and removed AllowUppercaseLettersInUsernames option in config, fixed many typos.
This commit is contained in:
@@ -42,7 +42,7 @@ Column {
|
|||||||
id: dateLabel
|
id: dateLabel
|
||||||
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
||||||
color: config.DateTextColor
|
color: config.DateTextColor
|
||||||
font.pointSize: root.font.pointSize * 2
|
font.pointSize: root.font.pointSize * 2
|
||||||
font.bold: true
|
font.bold: true
|
||||||
|
|||||||
+75
-30
@@ -9,12 +9,37 @@ import QtQuick.Controls 2.15
|
|||||||
|
|
||||||
Column {
|
Column {
|
||||||
id: inputContainer
|
id: inputContainer
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
property ComboBox exposeSession: sessionSelect.exposeSession
|
property ComboBox exposeSession: sessionSelect.exposeSession
|
||||||
property bool failed
|
property bool failed
|
||||||
|
|
||||||
|
function triggerLogin() {
|
||||||
|
var typedUser = username.text
|
||||||
|
var targetUser = typedUser
|
||||||
|
|
||||||
|
if (config.UseRealName == "true") {
|
||||||
|
for (var i = 0; i < userRegistry.list.length; i++) {
|
||||||
|
var u = userRegistry.list[i]
|
||||||
|
if (typedUser === u.realName || typedUser === u.name) {
|
||||||
|
targetUser = u.name
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
for (var j = 0; j < userRegistry.list.length; j++) {
|
||||||
|
var u2 = userRegistry.list[j]
|
||||||
|
if (typedUser === u2.name) {
|
||||||
|
targetUser = u2.name
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
sddm.login(targetUser, password.text, sessionSelect.selectedSession)
|
||||||
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: errorMessageField
|
id: errorMessageField
|
||||||
|
|
||||||
@@ -28,13 +53,13 @@ Column {
|
|||||||
|
|
||||||
width: parent.width
|
width: parent.width
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
|
||||||
text: failed ? config.TranslateLoginFailedWarning || textConstants.loginFailed + "!" : keyboard.capsLock ? config.TranslateCapslockWarning || textConstants.capslockWarning : null
|
text: failed ? config.TranslateLoginFailedWarning || textConstants.loginFailed + "!" : keyboard.capsLock ? config.TranslateCapslockWarning || textConstants.capslockWarning : null
|
||||||
font.pointSize: root.font.pointSize * 0.8
|
font.pointSize: root.font.pointSize * 0.8
|
||||||
font.italic: true
|
font.italic: true
|
||||||
color: config.WarningColor
|
color: config.WarningColor
|
||||||
opacity: 0
|
opacity: 0
|
||||||
|
|
||||||
states: [
|
states: [
|
||||||
State {
|
State {
|
||||||
name: "fail"
|
name: "fail"
|
||||||
@@ -81,10 +106,13 @@ Column {
|
|||||||
|
|
||||||
model: userModel
|
model: userModel
|
||||||
currentIndex: model.lastIndex
|
currentIndex: model.lastIndex
|
||||||
textRole: "name"
|
textRole: config.UseRealName == "true" ? "realName" : "name"
|
||||||
|
valueRole: "name"
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
displayText: config.UseRealName == "true" ? (currentText ? currentText : currentValue) : currentText
|
||||||
|
|
||||||
onActivated: {
|
onActivated: {
|
||||||
username.text = currentText
|
username.text = displayText
|
||||||
}
|
}
|
||||||
|
|
||||||
property var popkey: config.RightToLeftLayout == "true" ? Qt.Key_Right : Qt.Key_Left
|
property var popkey: config.RightToLeftLayout == "true" ? Qt.Key_Right : Qt.Key_Left
|
||||||
@@ -101,18 +129,18 @@ Column {
|
|||||||
// minus padding
|
// minus padding
|
||||||
width: popupHandler.width - 20
|
width: popupHandler.width - 20
|
||||||
anchors.horizontalCenter: popupHandler.horizontalCenter
|
anchors.horizontalCenter: popupHandler.horizontalCenter
|
||||||
|
|
||||||
contentItem: Text {
|
contentItem: Text {
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
|
||||||
text: model.name
|
text: config.UseRealName == "true" ? (model.realName || model.name) : model.name
|
||||||
font.pointSize: root.font.pointSize * 0.8
|
font.pointSize: root.font.pointSize * 0.8
|
||||||
font.capitalization: Font.AllLowercase
|
font.capitalization: Font.MixedCase
|
||||||
font.family: root.font.family
|
font.family: root.font.family
|
||||||
color: config.DropdownTextColor
|
color: config.DropdownTextColor
|
||||||
}
|
}
|
||||||
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
color: selectUser.highlightedIndex === index ? config.DropdownSelectedBackgroundColor : "transparent"
|
color: selectUser.highlightedIndex === index ? config.DropdownSelectedBackgroundColor : "transparent"
|
||||||
}
|
}
|
||||||
@@ -120,19 +148,19 @@ Column {
|
|||||||
|
|
||||||
indicator: Button {
|
indicator: Button {
|
||||||
id: usernameIcon
|
id: usernameIcon
|
||||||
|
|
||||||
width: selectUser.height * 1
|
width: selectUser.height * 1
|
||||||
height: parent.height
|
height: parent.height
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
anchors.leftMargin: selectUser.height * 0
|
anchors.leftMargin: selectUser.height * 0
|
||||||
|
|
||||||
icon.height: parent.height * 0.25
|
icon.height: parent.height * 0.25
|
||||||
icon.width: parent.height * 0.25
|
icon.width: parent.height * 0.25
|
||||||
enabled: false
|
enabled: false
|
||||||
icon.color: config.UserIconColor
|
icon.color: config.UserIconColor
|
||||||
icon.source: Qt.resolvedUrl("../Assets/User.svg")
|
icon.source: Qt.resolvedUrl("../Assets/User.svg")
|
||||||
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
border.color: "transparent"
|
border.color: "transparent"
|
||||||
@@ -156,7 +184,7 @@ Column {
|
|||||||
|
|
||||||
contentItem: ListView {
|
contentItem: ListView {
|
||||||
implicitHeight: contentHeight + 20
|
implicitHeight: contentHeight + 20
|
||||||
|
|
||||||
clip: true
|
clip: true
|
||||||
model: selectUser.popup.visible ? selectUser.delegateModel : null
|
model: selectUser.popup.visible ? selectUser.delegateModel : null
|
||||||
currentIndex: selectUser.highlightedIndex
|
currentIndex: selectUser.highlightedIndex
|
||||||
@@ -220,15 +248,15 @@ Column {
|
|||||||
horizontalAlignment: TextInput.AlignHCenter
|
horizontalAlignment: TextInput.AlignHCenter
|
||||||
z: 1
|
z: 1
|
||||||
|
|
||||||
text: config.ForceLastUser == "true" ? selectUser.currentText : null
|
text: config.ForceLastUser == "true" ? selectUser.displayText : null
|
||||||
color: config.LoginFieldTextColor
|
color: config.LoginFieldTextColor
|
||||||
font.bold: true
|
font.bold: true
|
||||||
font.capitalization: config.AllowUppercaseLettersInUsernames == "false" ? Font.AllLowercase : Font.MixedCase
|
font.capitalization: Font.MixedCase
|
||||||
placeholderText: config.TranslatePlaceholderUsername || textConstants.userName
|
placeholderText: config.TranslatePlaceholderUsername || textConstants.userName
|
||||||
placeholderTextColor: config.PlaceholderTextColor
|
placeholderTextColor: config.PlaceholderTextColor
|
||||||
selectByMouse: true
|
selectByMouse: true
|
||||||
renderType: Text.QtRendering
|
renderType: Text.QtRendering
|
||||||
|
|
||||||
onFocusChanged:{
|
onFocusChanged:{
|
||||||
if(focus)
|
if(focus)
|
||||||
selectAll()
|
selectAll()
|
||||||
@@ -241,8 +269,8 @@ Column {
|
|||||||
border.width: parent.activeFocus ? 2 : 1
|
border.width: parent.activeFocus ? 2 : 1
|
||||||
radius: config.RoundCorners || 0
|
radius: config.RoundCorners || 0
|
||||||
}
|
}
|
||||||
|
|
||||||
onAccepted: config.AllowUppercaseLettersInUsernames == "false" ? sddm.login(username.text.toLowerCase(), password.text, sessionSelect.selectedSession) : sddm.login(username.text, password.text, sessionSelect.selectedSession)
|
onAccepted: triggerLogin()
|
||||||
KeyNavigation.down: passwordIcon
|
KeyNavigation.down: passwordIcon
|
||||||
|
|
||||||
states: [
|
states: [
|
||||||
@@ -261,24 +289,24 @@ Column {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: passwordField
|
id: passwordField
|
||||||
|
|
||||||
height: root.font.pointSize * 4.5
|
height: root.font.pointSize * 4.5
|
||||||
width: parent.width / 2
|
width: parent.width / 2
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
id: passwordIcon
|
id: passwordIcon
|
||||||
|
|
||||||
height: parent.height
|
height: parent.height
|
||||||
width: selectUser.height * 1
|
width: selectUser.height * 1
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: selectUser.height * 0
|
anchors.leftMargin: selectUser.height * 0
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
z: 2
|
z: 2
|
||||||
|
|
||||||
icon.height: parent.height * 0.25
|
icon.height: parent.height * 0.25
|
||||||
icon.width: parent.height * 0.25
|
icon.width: parent.height * 0.25
|
||||||
icon.color: config.PasswordIconColor
|
icon.color: config.PasswordIconColor
|
||||||
@@ -350,7 +378,7 @@ Column {
|
|||||||
width: parent.width
|
width: parent.width
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
horizontalAlignment: TextInput.AlignHCenter
|
horizontalAlignment: TextInput.AlignHCenter
|
||||||
|
|
||||||
font.bold: true
|
font.bold: true
|
||||||
color: config.PasswordFieldTextColor
|
color: config.PasswordFieldTextColor
|
||||||
focus: config.PasswordFocus == "true" ? true : false
|
focus: config.PasswordFocus == "true" ? true : false
|
||||||
@@ -361,7 +389,7 @@ Column {
|
|||||||
passwordMaskDelay: config.HideCompletePassword == "true" ? undefined : 1000
|
passwordMaskDelay: config.HideCompletePassword == "true" ? undefined : 1000
|
||||||
renderType: Text.QtRendering
|
renderType: Text.QtRendering
|
||||||
selectByMouse: true
|
selectByMouse: true
|
||||||
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
color: config.PasswordFieldBackgroundColor
|
color: config.PasswordFieldBackgroundColor
|
||||||
opacity: 0.2
|
opacity: 0.2
|
||||||
@@ -369,7 +397,7 @@ Column {
|
|||||||
border.width: parent.activeFocus ? 2 : 1
|
border.width: parent.activeFocus ? 2 : 1
|
||||||
radius: config.RoundCorners || 0
|
radius: config.RoundCorners || 0
|
||||||
}
|
}
|
||||||
onAccepted: config.AllowUppercaseLettersInUsernames == "false" ? sddm.login(username.text.toLowerCase(), password.text, sessionSelect.selectedSession) : sddm.login(username.text, password.text, sessionSelect.selectedSession)
|
onAccepted: triggerLogin()
|
||||||
KeyNavigation.down: loginButton
|
KeyNavigation.down: loginButton
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -394,7 +422,7 @@ Column {
|
|||||||
duration: 150
|
duration: 150
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
@@ -407,7 +435,7 @@ Column {
|
|||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
||||||
visible: config.HideLoginButton == "true" ? false : true
|
visible: config.HideLoginButton == "true" ? false : true
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
id: loginButton
|
id: loginButton
|
||||||
|
|
||||||
@@ -415,7 +443,7 @@ Column {
|
|||||||
implicitWidth: parent.width
|
implicitWidth: parent.width
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
|
||||||
text: config.TranslateLogin || textConstants.login
|
text: config.TranslateLogin || textConstants.login
|
||||||
enabled: config.AllowEmptyPassword == "true" || username.text != "" && password.text != "" ? true : false
|
enabled: config.AllowEmptyPassword == "true" || username.text != "" && password.text != "" ? true : false
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
@@ -502,14 +530,31 @@ Column {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
onClicked: config.AllowUppercaseLettersInUsernames == "false" ? sddm.login(username.text.toLowerCase(), password.text, sessionSelect.selectedSession) : sddm.login(username.text, password.text, sessionSelect.selectedSession)
|
onClicked: triggerLogin()
|
||||||
Keys.onReturnPressed: clicked()
|
Keys.onReturnPressed: clicked()
|
||||||
Keys.onEnterPressed: clicked()
|
Keys.onEnterPressed: clicked()
|
||||||
|
|
||||||
KeyNavigation.down: config.HideSystemButtons == "true" ? virtualKeyboard : systemButtons.children[0]
|
KeyNavigation.down: config.HideSystemButtons == "true" ? virtualKeyboard : systemButtons.children[0]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Item {
|
||||||
|
id: userRegistry
|
||||||
|
visible: false
|
||||||
|
property var list: []
|
||||||
|
|
||||||
|
Repeater {
|
||||||
|
model: userModel
|
||||||
|
Item {
|
||||||
|
Component.onCompleted: {
|
||||||
|
var currentList = userRegistry.list
|
||||||
|
currentList.push({ "name": model.name, "realName": model.realName || "" })
|
||||||
|
userRegistry.list = currentList
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: sddm
|
target: sddm
|
||||||
function onLoginSucceeded() {}
|
function onLoginSucceeded() {}
|
||||||
|
|||||||
@@ -39,10 +39,10 @@ ColumnLayout {
|
|||||||
Layout.preferredHeight: root.height / 5
|
Layout.preferredHeight: root.height / 5
|
||||||
Layout.maximumHeight: root.height / 5
|
Layout.maximumHeight: root.height / 5
|
||||||
Layout.leftMargin: p != "0" ? a == "left" ? -p : a == "right" ? p : 0 : 0
|
Layout.leftMargin: p != "0" ? a == "left" ? -p : a == "right" ? p : 0 : 0
|
||||||
|
|
||||||
exposedSession: input.exposeSession
|
exposedSession: input.exposeSession
|
||||||
}
|
}
|
||||||
|
|
||||||
SessionButton {
|
SessionButton {
|
||||||
id: sessionSelect
|
id: sessionSelect
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ Item {
|
|||||||
|
|
||||||
height: root.font.pointSize
|
height: root.font.pointSize
|
||||||
width: parent.width / 2
|
width: parent.width / 2
|
||||||
|
|
||||||
property var selectedSession: selectSession.currentIndex
|
property var selectedSession: selectSession.currentIndex
|
||||||
property string textConstantSession
|
property string textConstantSession
|
||||||
property int loginButtonWidth
|
property int loginButtonWidth
|
||||||
@@ -29,7 +29,7 @@ Item {
|
|||||||
model: sessionModel
|
model: sessionModel
|
||||||
currentIndex: model.lastIndex
|
currentIndex: model.lastIndex
|
||||||
textRole: "name"
|
textRole: "name"
|
||||||
|
|
||||||
Keys.onPressed: function(event) {
|
Keys.onPressed: function(event) {
|
||||||
if ((event.key == Qt.Key_Left || event.key == Qt.Key_Right) && !popup.opened) {
|
if ((event.key == Qt.Key_Left || event.key == Qt.Key_Right) && !popup.opened) {
|
||||||
popup.open();
|
popup.open();
|
||||||
@@ -40,7 +40,7 @@ Item {
|
|||||||
// minus padding
|
// minus padding
|
||||||
width: popupHandler.width - 20
|
width: popupHandler.width - 20
|
||||||
anchors.horizontalCenter: popupHandler.horizontalCenter
|
anchors.horizontalCenter: popupHandler.horizontalCenter
|
||||||
|
|
||||||
contentItem: Text {
|
contentItem: Text {
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
@@ -50,7 +50,7 @@ Item {
|
|||||||
font.family: root.font.family
|
font.family: root.font.family
|
||||||
color: config.DropdownTextColor
|
color: config.DropdownTextColor
|
||||||
}
|
}
|
||||||
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
color: selectSession.highlightedIndex === index ? config.DropdownSelectedBackgroundColor : "transparent"
|
color: selectSession.highlightedIndex === index ? config.DropdownSelectedBackgroundColor : "transparent"
|
||||||
}
|
}
|
||||||
@@ -64,7 +64,7 @@ Item {
|
|||||||
id: displayedItem
|
id: displayedItem
|
||||||
|
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
|
||||||
text: (config.TranslateSessionSelection || "Session") + " (" + selectSession.currentText + ")"
|
text: (config.TranslateSessionSelection || "Session") + " (" + selectSession.currentText + ")"
|
||||||
color: config.SessionButtonTextColor
|
color: config.SessionButtonTextColor
|
||||||
font.pointSize: root.font.pointSize * 0.8
|
font.pointSize: root.font.pointSize * 0.8
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ RowLayout {
|
|||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
id: systemButtons
|
id: systemButtons
|
||||||
|
|
||||||
model: [shutdown, reboot, suspend, hibernate]
|
model: [shutdown, reboot, suspend, hibernate]
|
||||||
|
|
||||||
RoundButton {
|
RoundButton {
|
||||||
@@ -37,7 +37,7 @@ RowLayout {
|
|||||||
display: AbstractButton.TextUnderIcon
|
display: AbstractButton.TextUnderIcon
|
||||||
visible: config.HideSystemButtons != "true" && (config.BypassSystemButtonsChecks == "true" ? 1 : modelData[2])
|
visible: config.HideSystemButtons != "true" && (config.BypassSystemButtonsChecks == "true" ? 1 : modelData[2])
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
height: 2
|
height: 2
|
||||||
width: parent.width
|
width: parent.width
|
||||||
@@ -51,7 +51,7 @@ RowLayout {
|
|||||||
index == 0 ? sddm.powerOff() : index == 1 ? sddm.reboot() : index == 2 ? sddm.suspend() : sddm.hibernate()
|
index == 0 ? sddm.powerOff() : index == 1 ? sddm.reboot() : index == 2 ? sddm.suspend() : sddm.hibernate()
|
||||||
}
|
}
|
||||||
KeyNavigation.left: index > 0 ? parent.children[index-1] : null
|
KeyNavigation.left: index > 0 ? parent.children[index-1] : null
|
||||||
|
|
||||||
states: [
|
states: [
|
||||||
State {
|
State {
|
||||||
name: "pressed"
|
name: "pressed"
|
||||||
@@ -94,4 +94,4 @@ RowLayout {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import QtQuick.VirtualKeyboard 2.3
|
|||||||
|
|
||||||
InputPanel {
|
InputPanel {
|
||||||
id: virtualKeyboard
|
id: virtualKeyboard
|
||||||
|
|
||||||
property bool activated: false
|
property bool activated: false
|
||||||
active: activated && Qt.inputMethod.visible
|
active: activated && Qt.inputMethod.visible
|
||||||
visible: active
|
visible: active
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ Item {
|
|||||||
visible: virtualKeyboard.status == Loader.Ready && config.HideVirtualKeyboard == "false"
|
visible: virtualKeyboard.status == Loader.Ready && config.HideVirtualKeyboard == "false"
|
||||||
checkable: true
|
checkable: true
|
||||||
onClicked: virtualKeyboard.switchState()
|
onClicked: virtualKeyboard.switchState()
|
||||||
|
|
||||||
Keys.onReturnPressed: {
|
Keys.onReturnPressed: {
|
||||||
toggle();
|
toggle();
|
||||||
virtualKeyboard.switchState();
|
virtualKeyboard.switchState();
|
||||||
@@ -68,4 +68,4 @@ Item {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ Pane {
|
|||||||
|
|
||||||
font.family: config.Font
|
font.family: config.Font
|
||||||
font.pointSize: config.FontSize !== "" ? config.FontSize : parseInt(height / 80) || 13
|
font.pointSize: config.FontSize !== "" ? config.FontSize : parseInt(height / 80) || 13
|
||||||
|
|
||||||
focus: true
|
focus: true
|
||||||
|
|
||||||
property bool leftleft: config.HaveFormBackground == "true" &&
|
property bool leftleft: config.HaveFormBackground == "true" &&
|
||||||
@@ -57,7 +57,7 @@ Pane {
|
|||||||
height: parent.height
|
height: parent.height
|
||||||
width: parent.width
|
width: parent.width
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: tintLayer
|
id: tintLayer
|
||||||
|
|
||||||
@@ -103,7 +103,7 @@ Pane {
|
|||||||
anchors.horizontalCenter: config.VirtualKeyboardPosition == "center" ? parent.horizontalCenter : undefined;
|
anchors.horizontalCenter: config.VirtualKeyboardPosition == "center" ? parent.horizontalCenter : undefined;
|
||||||
anchors.right: config.VirtualKeyboardPosition == "right" ? parent.right : undefined;
|
anchors.right: config.VirtualKeyboardPosition == "right" ? parent.right : undefined;
|
||||||
z: 1
|
z: 1
|
||||||
|
|
||||||
state: "hidden"
|
state: "hidden"
|
||||||
property bool keyboardActive: item ? item.active : false
|
property bool keyboardActive: item ? item.active : false
|
||||||
|
|
||||||
@@ -179,7 +179,7 @@ Pane {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
id: backgroundPlaceholderImage
|
id: backgroundPlaceholderImage
|
||||||
|
|
||||||
@@ -190,10 +190,10 @@ Pane {
|
|||||||
|
|
||||||
AnimatedImage {
|
AnimatedImage {
|
||||||
id: backgroundImage
|
id: backgroundImage
|
||||||
|
|
||||||
MediaPlayer {
|
MediaPlayer {
|
||||||
id: player
|
id: player
|
||||||
|
|
||||||
videoOutput: videoOutput
|
videoOutput: videoOutput
|
||||||
autoPlay: true
|
autoPlay: true
|
||||||
playbackRate: config.BackgroundSpeed == "" ? 1.0 : config.BackgroundSpeed
|
playbackRate: config.BackgroundSpeed == "" ? 1.0 : config.BackgroundSpeed
|
||||||
@@ -206,7 +206,7 @@ Pane {
|
|||||||
|
|
||||||
VideoOutput {
|
VideoOutput {
|
||||||
id: videoOutput
|
id: videoOutput
|
||||||
|
|
||||||
fillMode: config.CropBackground == "true" ? VideoOutput.PreserveAspectCrop : VideoOutput.PreserveAspectFit
|
fillMode: config.CropBackground == "true" ? VideoOutput.PreserveAspectCrop : VideoOutput.PreserveAspectFit
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
}
|
}
|
||||||
@@ -267,14 +267,14 @@ Pane {
|
|||||||
|
|
||||||
MultiEffect {
|
MultiEffect {
|
||||||
id: blur
|
id: blur
|
||||||
|
|
||||||
height: parent.height
|
height: parent.height
|
||||||
|
|
||||||
// width: config.FullBlur == "true" ? parent.width : form.width
|
// width: config.FullBlur == "true" ? parent.width : form.width
|
||||||
// anchors.centerIn: config.FullBlur == "true" ? parent : form
|
// anchors.centerIn: config.FullBlur == "true" ? parent : form
|
||||||
|
|
||||||
// This solves problem when FullBlur and HaveFormBackground is set to true but PartialBlur is false and FormPosition isn't center.
|
// This solves problem when FullBlur and HaveFormBackground is set to true but PartialBlur is false and FormPosition isn't center.
|
||||||
width: (config.FullBlur == "true" && config.PartialBlur == "false" && config.FormPosition != "center" ) ? parent.width - formBackground.width : config.FullBlur == "true" ? parent.width : form.width
|
width: (config.FullBlur == "true" && config.PartialBlur == "false" && config.FormPosition != "center" ) ? parent.width - formBackground.width : config.FullBlur == "true" ? parent.width : form.width
|
||||||
anchors.centerIn: config.FullBlur == "true" ? backgroundImage : form
|
anchors.centerIn: config.FullBlur == "true" ? backgroundImage : form
|
||||||
|
|
||||||
source: config.FullBlur == "true" ? backgroundImage : blurMask
|
source: config.FullBlur == "true" ? backgroundImage : blurMask
|
||||||
|
|||||||
+10
-8
@@ -4,7 +4,7 @@
|
|||||||
ScreenWidth="1920"
|
ScreenWidth="1920"
|
||||||
ScreenHeight="1080"
|
ScreenHeight="1080"
|
||||||
ScreenPadding=""
|
ScreenPadding=""
|
||||||
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
||||||
|
|
||||||
Font="Open Sans"
|
Font="Open Sans"
|
||||||
FontSize="13"
|
FontSize="13"
|
||||||
@@ -23,7 +23,7 @@ DateFormat="dddd d MMMM"
|
|||||||
# Default Locale.LongFormat.
|
# Default Locale.LongFormat.
|
||||||
|
|
||||||
HeaderText=""
|
HeaderText=""
|
||||||
# You can put somehting fun.
|
# You can put something fun.
|
||||||
|
|
||||||
#################### Background ####################
|
#################### Background ####################
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ DimBackground="0.0"
|
|||||||
CropBackground="true"
|
CropBackground="true"
|
||||||
# Default false.
|
# Default false.
|
||||||
# Crop or fit background.
|
# Crop or fit background.
|
||||||
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
|
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
|
||||||
BackgroundHorizontalAlignment="center"
|
BackgroundHorizontalAlignment="center"
|
||||||
# Default: center, Options: left, center, right.
|
# Default: center, Options: left, center, right.
|
||||||
# Horizontal position of the background picture.
|
# Horizontal position of the background picture.
|
||||||
@@ -130,16 +130,18 @@ HideVirtualKeyboard="false"
|
|||||||
HideSystemButtons="false"
|
HideSystemButtons="false"
|
||||||
HideLoginButton="false"
|
HideLoginButton="false"
|
||||||
|
|
||||||
|
UseRealName="true"
|
||||||
|
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
|
||||||
|
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
|
||||||
|
|
||||||
ForceLastUser="true"
|
ForceLastUser="true"
|
||||||
# If set to true last successfully logged in user appeares automatically in the username field.
|
# If set to true last successfully logged in user appears automatically in the username field.
|
||||||
PasswordFocus="true"
|
PasswordFocus="true"
|
||||||
# Automaticaly focuses password field.
|
# Automatically focuses password field.
|
||||||
HideCompletePassword="true"
|
HideCompletePassword="true"
|
||||||
# Hides the password while typing.
|
# Hides the password while typing.
|
||||||
AllowEmptyPassword="false"
|
AllowEmptyPassword="false"
|
||||||
# Enable login for users without a password.
|
# Enable login for users without a password.
|
||||||
AllowUppercaseLettersInUsernames="false"
|
|
||||||
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
|
|
||||||
BypassSystemButtonsChecks="false"
|
BypassSystemButtonsChecks="false"
|
||||||
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
||||||
RightToLeftLayout="false"
|
RightToLeftLayout="false"
|
||||||
@@ -159,4 +161,4 @@ TranslateReboot=""
|
|||||||
TranslateShutdown=""
|
TranslateShutdown=""
|
||||||
TranslateSessionSelection=""
|
TranslateSessionSelection=""
|
||||||
TranslateVirtualKeyboardButtonOn=""
|
TranslateVirtualKeyboardButtonOn=""
|
||||||
TranslateVirtualKeyboardButtonOff=""
|
TranslateVirtualKeyboardButtonOff=""
|
||||||
|
|||||||
+10
-8
@@ -4,7 +4,7 @@
|
|||||||
ScreenWidth="1920"
|
ScreenWidth="1920"
|
||||||
ScreenHeight="1080"
|
ScreenHeight="1080"
|
||||||
ScreenPadding="5"
|
ScreenPadding="5"
|
||||||
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
||||||
|
|
||||||
Font="ESPACION"
|
Font="ESPACION"
|
||||||
FontSize="12"
|
FontSize="12"
|
||||||
@@ -23,7 +23,7 @@ DateFormat="dddd d"
|
|||||||
# Default Locale.LongFormat.
|
# Default Locale.LongFormat.
|
||||||
|
|
||||||
HeaderText=""
|
HeaderText=""
|
||||||
# You can put somehting fun.
|
# You can put something fun.
|
||||||
|
|
||||||
#################### Background ####################
|
#################### Background ####################
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ DimBackground="0.0"
|
|||||||
CropBackground="true"
|
CropBackground="true"
|
||||||
# Default false.
|
# Default false.
|
||||||
# Crop or fit background.
|
# Crop or fit background.
|
||||||
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
|
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
|
||||||
BackgroundHorizontalAlignment="center"
|
BackgroundHorizontalAlignment="center"
|
||||||
# Default: center, Options: left, center, right.
|
# Default: center, Options: left, center, right.
|
||||||
# Horizontal position of the background picture.
|
# Horizontal position of the background picture.
|
||||||
@@ -130,16 +130,18 @@ HideVirtualKeyboard="false"
|
|||||||
HideSystemButtons="false"
|
HideSystemButtons="false"
|
||||||
HideLoginButton="false"
|
HideLoginButton="false"
|
||||||
|
|
||||||
|
UseRealName="true"
|
||||||
|
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
|
||||||
|
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
|
||||||
|
|
||||||
ForceLastUser="true"
|
ForceLastUser="true"
|
||||||
# If set to true last successfully logged in user appeares automatically in the username field.
|
# If set to true last successfully logged in user appears automatically in the username field.
|
||||||
PasswordFocus="true"
|
PasswordFocus="true"
|
||||||
# Automaticaly focuses password field.
|
# Automatically focuses password field.
|
||||||
HideCompletePassword="true"
|
HideCompletePassword="true"
|
||||||
# Hides the password while typing.
|
# Hides the password while typing.
|
||||||
AllowEmptyPassword="false"
|
AllowEmptyPassword="false"
|
||||||
# Enable login for users without a password.
|
# Enable login for users without a password.
|
||||||
AllowUppercaseLettersInUsernames="false"
|
|
||||||
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
|
|
||||||
BypassSystemButtonsChecks="false"
|
BypassSystemButtonsChecks="false"
|
||||||
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
||||||
RightToLeftLayout="false"
|
RightToLeftLayout="false"
|
||||||
@@ -159,4 +161,4 @@ TranslateReboot=""
|
|||||||
TranslateShutdown=""
|
TranslateShutdown=""
|
||||||
TranslateSessionSelection=""
|
TranslateSessionSelection=""
|
||||||
TranslateVirtualKeyboardButtonOn=""
|
TranslateVirtualKeyboardButtonOn=""
|
||||||
TranslateVirtualKeyboardButtonOff=""
|
TranslateVirtualKeyboardButtonOff=""
|
||||||
|
|||||||
+10
-8
@@ -4,7 +4,7 @@
|
|||||||
ScreenWidth="1920"
|
ScreenWidth="1920"
|
||||||
ScreenHeight="1080"
|
ScreenHeight="1080"
|
||||||
ScreenPadding="0"
|
ScreenPadding="0"
|
||||||
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
||||||
|
|
||||||
Font="KogniGear"
|
Font="KogniGear"
|
||||||
FontSize="12"
|
FontSize="12"
|
||||||
@@ -23,7 +23,7 @@ DateFormat="M/dd 2077"
|
|||||||
# Default Locale.LongFormat.
|
# Default Locale.LongFormat.
|
||||||
|
|
||||||
HeaderText="Loading ..."
|
HeaderText="Loading ..."
|
||||||
# You can put somehting fun.
|
# You can put something fun.
|
||||||
|
|
||||||
#################### Background ####################
|
#################### Background ####################
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ DimBackground="0.0"
|
|||||||
CropBackground="true"
|
CropBackground="true"
|
||||||
# Default false.
|
# Default false.
|
||||||
# Crop or fit background.
|
# Crop or fit background.
|
||||||
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
|
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
|
||||||
BackgroundHorizontalAlignment="center"
|
BackgroundHorizontalAlignment="center"
|
||||||
# Default: center, Options: left, center, right.
|
# Default: center, Options: left, center, right.
|
||||||
# Horizontal position of the background picture.
|
# Horizontal position of the background picture.
|
||||||
@@ -130,16 +130,18 @@ HideVirtualKeyboard="true"
|
|||||||
HideSystemButtons="true"
|
HideSystemButtons="true"
|
||||||
HideLoginButton="false"
|
HideLoginButton="false"
|
||||||
|
|
||||||
|
UseRealName="true"
|
||||||
|
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
|
||||||
|
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
|
||||||
|
|
||||||
ForceLastUser="true"
|
ForceLastUser="true"
|
||||||
# If set to true last successfully logged in user appeares automatically in the username field.
|
# If set to true last successfully logged in user appears automatically in the username field.
|
||||||
PasswordFocus="true"
|
PasswordFocus="true"
|
||||||
# Automaticaly focuses password field.
|
# Automatically focuses password field.
|
||||||
HideCompletePassword="true"
|
HideCompletePassword="true"
|
||||||
# Hides the password while typing.
|
# Hides the password while typing.
|
||||||
AllowEmptyPassword="false"
|
AllowEmptyPassword="false"
|
||||||
# Enable login for users without a password.
|
# Enable login for users without a password.
|
||||||
AllowUppercaseLettersInUsernames="true"
|
|
||||||
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
|
|
||||||
BypassSystemButtonsChecks="false"
|
BypassSystemButtonsChecks="false"
|
||||||
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
||||||
RightToLeftLayout="false"
|
RightToLeftLayout="false"
|
||||||
@@ -159,4 +161,4 @@ TranslateReboot=""
|
|||||||
TranslateShutdown=""
|
TranslateShutdown=""
|
||||||
TranslateSessionSelection=""
|
TranslateSessionSelection=""
|
||||||
TranslateVirtualKeyboardButtonOn=""
|
TranslateVirtualKeyboardButtonOn=""
|
||||||
TranslateVirtualKeyboardButtonOff=""
|
TranslateVirtualKeyboardButtonOff=""
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
ScreenWidth="1920"
|
ScreenWidth="1920"
|
||||||
ScreenHeight="1080"
|
ScreenHeight="1080"
|
||||||
ScreenPadding=""
|
ScreenPadding=""
|
||||||
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
||||||
|
|
||||||
Font="pixelon"
|
Font="pixelon"
|
||||||
FontSize="12"
|
FontSize="12"
|
||||||
@@ -23,7 +23,7 @@ DateFormat="dddd d"
|
|||||||
# Default Locale.LongFormat.
|
# Default Locale.LongFormat.
|
||||||
|
|
||||||
HeaderText=""
|
HeaderText=""
|
||||||
# You can put somehting fun.
|
# You can put something fun.
|
||||||
|
|
||||||
#################### Background ####################
|
#################### Background ####################
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ DimBackground="0.0"
|
|||||||
CropBackground="true"
|
CropBackground="true"
|
||||||
# Default false.
|
# Default false.
|
||||||
# Crop or fit background.
|
# Crop or fit background.
|
||||||
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
|
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
|
||||||
BackgroundHorizontalAlignment="center"
|
BackgroundHorizontalAlignment="center"
|
||||||
# Default: center, Options: left, center, right.
|
# Default: center, Options: left, center, right.
|
||||||
# Horizontal position of the background picture.
|
# Horizontal position of the background picture.
|
||||||
@@ -130,16 +130,18 @@ HideVirtualKeyboard="false"
|
|||||||
HideSystemButtons="true"
|
HideSystemButtons="true"
|
||||||
HideLoginButton="false"
|
HideLoginButton="false"
|
||||||
|
|
||||||
|
UseRealName="true"
|
||||||
|
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
|
||||||
|
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
|
||||||
|
|
||||||
ForceLastUser="true"
|
ForceLastUser="true"
|
||||||
# If set to true last successfully logged in user appeares automatically in the username field.
|
# If set to true last successfully logged in user appears automatically in the username field.
|
||||||
PasswordFocus="true"
|
PasswordFocus="true"
|
||||||
# Automaticaly focuses password field.
|
# Automatically focuses password field.
|
||||||
HideCompletePassword="true"
|
HideCompletePassword="true"
|
||||||
# Hides the password while typing.
|
# Hides the password while typing.
|
||||||
AllowEmptyPassword="false"
|
AllowEmptyPassword="false"
|
||||||
# Enable login for users without a password.
|
# Enable login for users without a password.
|
||||||
AllowUppercaseLettersInUsernames="false"
|
|
||||||
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
|
|
||||||
BypassSystemButtonsChecks="false"
|
BypassSystemButtonsChecks="false"
|
||||||
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
||||||
RightToLeftLayout="false"
|
RightToLeftLayout="false"
|
||||||
@@ -159,4 +161,4 @@ TranslateReboot=""
|
|||||||
TranslateShutdown=""
|
TranslateShutdown=""
|
||||||
TranslateSessionSelection=""
|
TranslateSessionSelection=""
|
||||||
TranslateVirtualKeyboardButtonOn=""
|
TranslateVirtualKeyboardButtonOn=""
|
||||||
TranslateVirtualKeyboardButtonOff=""
|
TranslateVirtualKeyboardButtonOff=""
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
ScreenWidth="1920"
|
ScreenWidth="1920"
|
||||||
ScreenHeight="1080"
|
ScreenHeight="1080"
|
||||||
ScreenPadding=""
|
ScreenPadding=""
|
||||||
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
||||||
|
|
||||||
Font="Thunderman"
|
Font="Thunderman"
|
||||||
FontSize="12"
|
FontSize="12"
|
||||||
@@ -23,7 +23,7 @@ DateFormat="dddd d"
|
|||||||
# Default Locale.LongFormat.
|
# Default Locale.LongFormat.
|
||||||
|
|
||||||
HeaderText=""
|
HeaderText=""
|
||||||
# You can put somehting fun.
|
# You can put something fun.
|
||||||
|
|
||||||
#################### Background ####################
|
#################### Background ####################
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ DimBackground="0.0"
|
|||||||
CropBackground="true"
|
CropBackground="true"
|
||||||
# Default false.
|
# Default false.
|
||||||
# Crop or fit background.
|
# Crop or fit background.
|
||||||
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
|
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
|
||||||
BackgroundHorizontalAlignment="center"
|
BackgroundHorizontalAlignment="center"
|
||||||
# Default: center, Options: left, center, right.
|
# Default: center, Options: left, center, right.
|
||||||
# Horizontal position of the background picture.
|
# Horizontal position of the background picture.
|
||||||
@@ -130,16 +130,18 @@ HideVirtualKeyboard="false"
|
|||||||
HideSystemButtons="false"
|
HideSystemButtons="false"
|
||||||
HideLoginButton="false"
|
HideLoginButton="false"
|
||||||
|
|
||||||
|
UseRealName="true"
|
||||||
|
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
|
||||||
|
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
|
||||||
|
|
||||||
ForceLastUser="true"
|
ForceLastUser="true"
|
||||||
# If set to true last successfully logged in user appeares automatically in the username field.
|
# If set to true last successfully logged in user appears automatically in the username field.
|
||||||
PasswordFocus="true"
|
PasswordFocus="true"
|
||||||
# Automaticaly focuses password field.
|
# Automatically focuses password field.
|
||||||
HideCompletePassword="true"
|
HideCompletePassword="true"
|
||||||
# Hides the password while typing.
|
# Hides the password while typing.
|
||||||
AllowEmptyPassword="false"
|
AllowEmptyPassword="false"
|
||||||
# Enable login for users without a password.
|
# Enable login for users without a password.
|
||||||
AllowUppercaseLettersInUsernames="false"
|
|
||||||
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
|
|
||||||
BypassSystemButtonsChecks="false"
|
BypassSystemButtonsChecks="false"
|
||||||
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
||||||
RightToLeftLayout="false"
|
RightToLeftLayout="false"
|
||||||
@@ -159,4 +161,4 @@ TranslateReboot=""
|
|||||||
TranslateShutdown=""
|
TranslateShutdown=""
|
||||||
TranslateSessionSelection=""
|
TranslateSessionSelection=""
|
||||||
TranslateVirtualKeyboardButtonOn=""
|
TranslateVirtualKeyboardButtonOn=""
|
||||||
TranslateVirtualKeyboardButtonOff=""
|
TranslateVirtualKeyboardButtonOff=""
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
ScreenWidth="1920"
|
ScreenWidth="1920"
|
||||||
ScreenHeight="1080"
|
ScreenHeight="1080"
|
||||||
ScreenPadding=""
|
ScreenPadding=""
|
||||||
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
||||||
|
|
||||||
Font="Electroharmonix"
|
Font="Electroharmonix"
|
||||||
FontSize="12"
|
FontSize="12"
|
||||||
@@ -23,7 +23,7 @@ DateFormat="dddd d"
|
|||||||
# Default Locale.LongFormat.
|
# Default Locale.LongFormat.
|
||||||
|
|
||||||
HeaderText=""
|
HeaderText=""
|
||||||
# You can put somehting fun.
|
# You can put something fun.
|
||||||
|
|
||||||
#################### Background ####################
|
#################### Background ####################
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ DimBackground="0.0"
|
|||||||
CropBackground="true"
|
CropBackground="true"
|
||||||
# Default false.
|
# Default false.
|
||||||
# Crop or fit background.
|
# Crop or fit background.
|
||||||
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
|
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
|
||||||
BackgroundHorizontalAlignment="center"
|
BackgroundHorizontalAlignment="center"
|
||||||
# Default: center, Options: left, center, right.
|
# Default: center, Options: left, center, right.
|
||||||
# Horizontal position of the background picture.
|
# Horizontal position of the background picture.
|
||||||
@@ -130,16 +130,18 @@ HideVirtualKeyboard="false"
|
|||||||
HideSystemButtons="false"
|
HideSystemButtons="false"
|
||||||
HideLoginButton="false"
|
HideLoginButton="false"
|
||||||
|
|
||||||
|
UseRealName="true"
|
||||||
|
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
|
||||||
|
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
|
||||||
|
|
||||||
ForceLastUser="true"
|
ForceLastUser="true"
|
||||||
# If set to true last successfully logged in user appeares automatically in the username field.
|
# If set to true last successfully logged in user appears automatically in the username field.
|
||||||
PasswordFocus="true"
|
PasswordFocus="true"
|
||||||
# Automaticaly focuses password field.
|
# Automatically focuses password field.
|
||||||
HideCompletePassword="true"
|
HideCompletePassword="true"
|
||||||
# Hides the password while typing.
|
# Hides the password while typing.
|
||||||
AllowEmptyPassword="false"
|
AllowEmptyPassword="false"
|
||||||
# Enable login for users without a password.
|
# Enable login for users without a password.
|
||||||
AllowUppercaseLettersInUsernames="false"
|
|
||||||
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
|
|
||||||
BypassSystemButtonsChecks="false"
|
BypassSystemButtonsChecks="false"
|
||||||
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
||||||
RightToLeftLayout="false"
|
RightToLeftLayout="false"
|
||||||
@@ -159,4 +161,4 @@ TranslateReboot=""
|
|||||||
TranslateShutdown=""
|
TranslateShutdown=""
|
||||||
TranslateSessionSelection=""
|
TranslateSessionSelection=""
|
||||||
TranslateVirtualKeyboardButtonOn=""
|
TranslateVirtualKeyboardButtonOn=""
|
||||||
TranslateVirtualKeyboardButtonOff=""
|
TranslateVirtualKeyboardButtonOff=""
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
ScreenWidth="1920"
|
ScreenWidth="1920"
|
||||||
ScreenHeight="1080"
|
ScreenHeight="1080"
|
||||||
ScreenPadding=""
|
ScreenPadding=""
|
||||||
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
||||||
|
|
||||||
Font="arcadeclassic"
|
Font="arcadeclassic"
|
||||||
FontSize="11"
|
FontSize="11"
|
||||||
@@ -23,7 +23,7 @@ DateFormat="dddd d"
|
|||||||
# Default Locale.LongFormat.
|
# Default Locale.LongFormat.
|
||||||
|
|
||||||
HeaderText=""
|
HeaderText=""
|
||||||
# You can put somehting fun.
|
# You can put something fun.
|
||||||
|
|
||||||
#################### Background ####################
|
#################### Background ####################
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ DimBackground="0.0"
|
|||||||
CropBackground="true"
|
CropBackground="true"
|
||||||
# Default false.
|
# Default false.
|
||||||
# Crop or fit background.
|
# Crop or fit background.
|
||||||
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
|
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
|
||||||
BackgroundHorizontalAlignment="center"
|
BackgroundHorizontalAlignment="center"
|
||||||
# Default: center, Options: left, center, right.
|
# Default: center, Options: left, center, right.
|
||||||
# Horizontal position of the background picture.
|
# Horizontal position of the background picture.
|
||||||
@@ -130,16 +130,18 @@ HideVirtualKeyboard="true"
|
|||||||
HideSystemButtons="true"
|
HideSystemButtons="true"
|
||||||
HideLoginButton="true"
|
HideLoginButton="true"
|
||||||
|
|
||||||
|
UseRealName="true"
|
||||||
|
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
|
||||||
|
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
|
||||||
|
|
||||||
ForceLastUser="true"
|
ForceLastUser="true"
|
||||||
# If set to true last successfully logged in user appeares automatically in the username field.
|
# If set to true last successfully logged in user appears automatically in the username field.
|
||||||
PasswordFocus="true"
|
PasswordFocus="true"
|
||||||
# Automaticaly focuses password field.
|
# Automatically focuses password field.
|
||||||
HideCompletePassword="true"
|
HideCompletePassword="true"
|
||||||
# Hides the password while typing.
|
# Hides the password while typing.
|
||||||
AllowEmptyPassword="false"
|
AllowEmptyPassword="false"
|
||||||
# Enable login for users without a password.
|
# Enable login for users without a password.
|
||||||
AllowUppercaseLettersInUsernames="false"
|
|
||||||
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
|
|
||||||
BypassSystemButtonsChecks="false"
|
BypassSystemButtonsChecks="false"
|
||||||
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
||||||
RightToLeftLayout="false"
|
RightToLeftLayout="false"
|
||||||
@@ -159,4 +161,4 @@ TranslateReboot=""
|
|||||||
TranslateShutdown=""
|
TranslateShutdown=""
|
||||||
TranslateSessionSelection=""
|
TranslateSessionSelection=""
|
||||||
TranslateVirtualKeyboardButtonOn=""
|
TranslateVirtualKeyboardButtonOn=""
|
||||||
TranslateVirtualKeyboardButtonOff=""
|
TranslateVirtualKeyboardButtonOff=""
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
ScreenWidth="1920"
|
ScreenWidth="1920"
|
||||||
ScreenHeight="1080"
|
ScreenHeight="1080"
|
||||||
ScreenPadding=""
|
ScreenPadding=""
|
||||||
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
||||||
|
|
||||||
Font="arcadeclassic"
|
Font="arcadeclassic"
|
||||||
FontSize="11"
|
FontSize="11"
|
||||||
@@ -23,7 +23,7 @@ DateFormat="dddd d"
|
|||||||
# Default Locale.LongFormat.
|
# Default Locale.LongFormat.
|
||||||
|
|
||||||
HeaderText=""
|
HeaderText=""
|
||||||
# You can put somehting fun.
|
# You can put something fun.
|
||||||
|
|
||||||
#################### Background ####################
|
#################### Background ####################
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ DimBackground="0.0"
|
|||||||
CropBackground="true"
|
CropBackground="true"
|
||||||
# Default false.
|
# Default false.
|
||||||
# Crop or fit background.
|
# Crop or fit background.
|
||||||
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
|
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
|
||||||
BackgroundHorizontalAlignment="center"
|
BackgroundHorizontalAlignment="center"
|
||||||
# Default: center, Options: left, center, right.
|
# Default: center, Options: left, center, right.
|
||||||
# Horizontal position of the background picture.
|
# Horizontal position of the background picture.
|
||||||
@@ -130,16 +130,18 @@ HideVirtualKeyboard="true"
|
|||||||
HideSystemButtons="true"
|
HideSystemButtons="true"
|
||||||
HideLoginButton="true"
|
HideLoginButton="true"
|
||||||
|
|
||||||
|
UseRealName="true"
|
||||||
|
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
|
||||||
|
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
|
||||||
|
|
||||||
ForceLastUser="true"
|
ForceLastUser="true"
|
||||||
# If set to true last successfully logged in user appeares automatically in the username field.
|
# If set to true last successfully logged in user appears automatically in the username field.
|
||||||
PasswordFocus="true"
|
PasswordFocus="true"
|
||||||
# Automaticaly focuses password field.
|
# Automatically focuses password field.
|
||||||
HideCompletePassword="true"
|
HideCompletePassword="true"
|
||||||
# Hides the password while typing.
|
# Hides the password while typing.
|
||||||
AllowEmptyPassword="false"
|
AllowEmptyPassword="false"
|
||||||
# Enable login for users without a password.
|
# Enable login for users without a password.
|
||||||
AllowUppercaseLettersInUsernames="false"
|
|
||||||
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
|
|
||||||
BypassSystemButtonsChecks="false"
|
BypassSystemButtonsChecks="false"
|
||||||
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
||||||
RightToLeftLayout="false"
|
RightToLeftLayout="false"
|
||||||
@@ -159,4 +161,4 @@ TranslateReboot=""
|
|||||||
TranslateShutdown=""
|
TranslateShutdown=""
|
||||||
TranslateSessionSelection=""
|
TranslateSessionSelection=""
|
||||||
TranslateVirtualKeyboardButtonOn=""
|
TranslateVirtualKeyboardButtonOn=""
|
||||||
TranslateVirtualKeyboardButtonOff=""
|
TranslateVirtualKeyboardButtonOff=""
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
ScreenWidth="1920"
|
ScreenWidth="1920"
|
||||||
ScreenHeight="1080"
|
ScreenHeight="1080"
|
||||||
ScreenPadding=""
|
ScreenPadding=""
|
||||||
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
||||||
|
|
||||||
Font="Fragile Bombers Attack"
|
Font="Fragile Bombers Attack"
|
||||||
FontSize="15"
|
FontSize="15"
|
||||||
@@ -23,7 +23,7 @@ DateFormat="dddd d"
|
|||||||
# Default Locale.LongFormat.
|
# Default Locale.LongFormat.
|
||||||
|
|
||||||
HeaderText=""
|
HeaderText=""
|
||||||
# You can put somehting fun.
|
# You can put something fun.
|
||||||
|
|
||||||
#################### Background ####################
|
#################### Background ####################
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ DimBackground="0.0"
|
|||||||
CropBackground="true"
|
CropBackground="true"
|
||||||
# Default false.
|
# Default false.
|
||||||
# Crop or fit background.
|
# Crop or fit background.
|
||||||
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
|
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
|
||||||
BackgroundHorizontalAlignment="center"
|
BackgroundHorizontalAlignment="center"
|
||||||
# Default: center, Options: left, center, right.
|
# Default: center, Options: left, center, right.
|
||||||
# Horizontal position of the background picture.
|
# Horizontal position of the background picture.
|
||||||
@@ -130,16 +130,18 @@ HideVirtualKeyboard="true"
|
|||||||
HideSystemButtons="true"
|
HideSystemButtons="true"
|
||||||
HideLoginButton="false"
|
HideLoginButton="false"
|
||||||
|
|
||||||
|
UseRealName="true"
|
||||||
|
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
|
||||||
|
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
|
||||||
|
|
||||||
ForceLastUser="true"
|
ForceLastUser="true"
|
||||||
# If set to true last successfully logged in user appeares automatically in the username field.
|
# If set to true last successfully logged in user appears automatically in the username field.
|
||||||
PasswordFocus="true"
|
PasswordFocus="true"
|
||||||
# Automaticaly focuses password field.
|
# Automatically focuses password field.
|
||||||
HideCompletePassword="true"
|
HideCompletePassword="true"
|
||||||
# Hides the password while typing.
|
# Hides the password while typing.
|
||||||
AllowEmptyPassword="false"
|
AllowEmptyPassword="false"
|
||||||
# Enable login for users without a password.
|
# Enable login for users without a password.
|
||||||
AllowUppercaseLettersInUsernames="false"
|
|
||||||
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
|
|
||||||
BypassSystemButtonsChecks="false"
|
BypassSystemButtonsChecks="false"
|
||||||
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
||||||
RightToLeftLayout="false"
|
RightToLeftLayout="false"
|
||||||
@@ -159,4 +161,4 @@ TranslateReboot=""
|
|||||||
TranslateShutdown=""
|
TranslateShutdown=""
|
||||||
TranslateSessionSelection=""
|
TranslateSessionSelection=""
|
||||||
TranslateVirtualKeyboardButtonOn=""
|
TranslateVirtualKeyboardButtonOn=""
|
||||||
TranslateVirtualKeyboardButtonOff=""
|
TranslateVirtualKeyboardButtonOff=""
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
ScreenWidth="1920"
|
ScreenWidth="1920"
|
||||||
ScreenHeight="1080"
|
ScreenHeight="1080"
|
||||||
ScreenPadding=""
|
ScreenPadding=""
|
||||||
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
|
||||||
|
|
||||||
Font="Open Sans"
|
Font="Open Sans"
|
||||||
FontSize=""
|
FontSize=""
|
||||||
@@ -23,7 +23,7 @@ DateFormat="dddd d"
|
|||||||
# Default Locale.LongFormat.
|
# Default Locale.LongFormat.
|
||||||
|
|
||||||
HeaderText=""
|
HeaderText=""
|
||||||
# You can put somehting fun.
|
# You can put something fun.
|
||||||
|
|
||||||
#################### Background ####################
|
#################### Background ####################
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ DimBackground="0.0"
|
|||||||
CropBackground="true"
|
CropBackground="true"
|
||||||
# Default false.
|
# Default false.
|
||||||
# Crop or fit background.
|
# Crop or fit background.
|
||||||
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
|
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
|
||||||
BackgroundHorizontalAlignment="center"
|
BackgroundHorizontalAlignment="center"
|
||||||
# Default: center, Options: left, center, right.
|
# Default: center, Options: left, center, right.
|
||||||
# Horizontal position of the background picture.
|
# Horizontal position of the background picture.
|
||||||
@@ -130,16 +130,18 @@ HideVirtualKeyboard="false"
|
|||||||
HideSystemButtons="false"
|
HideSystemButtons="false"
|
||||||
HideLoginButton="false"
|
HideLoginButton="false"
|
||||||
|
|
||||||
|
UseRealName="true"
|
||||||
|
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
|
||||||
|
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
|
||||||
|
|
||||||
ForceLastUser="true"
|
ForceLastUser="true"
|
||||||
# If set to true last successfully logged in user appeares automatically in the username field.
|
# If set to true last successfully logged in user appears automatically in the username field.
|
||||||
PasswordFocus="true"
|
PasswordFocus="true"
|
||||||
# Automaticaly focuses password field.
|
# Automatically focuses password field.
|
||||||
HideCompletePassword="true"
|
HideCompletePassword="true"
|
||||||
# Hides the password while typing.
|
# Hides the password while typing.
|
||||||
AllowEmptyPassword="false"
|
AllowEmptyPassword="false"
|
||||||
# Enable login for users without a password.
|
# Enable login for users without a password.
|
||||||
AllowUppercaseLettersInUsernames="false"
|
|
||||||
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
|
|
||||||
BypassSystemButtonsChecks="false"
|
BypassSystemButtonsChecks="false"
|
||||||
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
|
||||||
RightToLeftLayout="false"
|
RightToLeftLayout="false"
|
||||||
@@ -159,4 +161,4 @@ TranslateReboot=""
|
|||||||
TranslateShutdown=""
|
TranslateShutdown=""
|
||||||
TranslateSessionSelection=""
|
TranslateSessionSelection=""
|
||||||
TranslateVirtualKeyboardButtonOn=""
|
TranslateVirtualKeyboardButtonOn=""
|
||||||
TranslateVirtualKeyboardButtonOff=""
|
TranslateVirtualKeyboardButtonOff=""
|
||||||
|
|||||||
+2
-2
@@ -5,11 +5,11 @@ Author=keyitdev
|
|||||||
Website=https://github.com/Keyitdev/sddm-astronaut-theme
|
Website=https://github.com/Keyitdev/sddm-astronaut-theme
|
||||||
License=GPL-3.0-or-later
|
License=GPL-3.0-or-later
|
||||||
Type=sddm-theme
|
Type=sddm-theme
|
||||||
Version=1.3
|
Version=1.4
|
||||||
ConfigFile=Themes/astronaut.conf
|
ConfigFile=Themes/astronaut.conf
|
||||||
Screenshot=Previews/astronaut.png
|
Screenshot=Previews/astronaut.png
|
||||||
MainScript=Main.qml
|
MainScript=Main.qml
|
||||||
TranslationsDirectory=translations
|
TranslationsDirectory=translations
|
||||||
Theme-Id=sddm-astronaut-theme
|
Theme-Id=sddm-astronaut-theme
|
||||||
Theme-API=2.0
|
Theme-API=2.0
|
||||||
QtVersion=6
|
QtVersion=6
|
||||||
|
|||||||
Reference in New Issue
Block a user