Compare commits

..

No commits in common. "189e9d614a0d5a3d3a44009186764d3b85958b9d" and "771b93c51e2f70b7d5cc41789e2383fe8191326b" have entirely different histories.

11 changed files with 32 additions and 34 deletions

BIN
Assets/Hibernate.svgz Normal file

Binary file not shown.

BIN
Assets/Reboot.svgz Normal file

Binary file not shown.

BIN
Assets/Shutdown.svgz Normal file

Binary file not shown.

BIN
Assets/Suspend.svgz Normal file

Binary file not shown.

View file

Before

Width:  |  Height:  |  Size: 2.6 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB

View file

@ -45,7 +45,7 @@ Column {
color: root.palette.text
renderType: Text.QtRendering
function updateTime() {
text = "" //new Date().toLocaleTimeString(Qt.locale(config.Locale), config.HourFormat == "long" ? Locale.LongFormat : config.HourFormat !== "" ? config.HourFormat : Locale.ShortFormat)
text = new Date().toLocaleTimeString(Qt.locale(config.Locale), config.HourFormat == "long" ? Locale.LongFormat : config.HourFormat !== "" ? config.HourFormat : Locale.ShortFormat)
}
}
@ -55,7 +55,7 @@ Column {
color: root.palette.text
renderType: Text.QtRendering
function updateTime() {
text = "" //new Date().toLocaleDateString(Qt.locale(config.Locale), config.DateFormat == "short" ? Locale.ShortFormat : config.DateFormat !== "" ? config.DateFormat : Locale.LongFormat)
text = new Date().toLocaleDateString(Qt.locale(config.Locale), config.DateFormat == "short" ? Locale.ShortFormat : config.DateFormat !== "" ? config.DateFormat : Locale.LongFormat)
}
}

View file

@ -75,7 +75,6 @@ Column {
text: model.name
font.pointSize: root.font.pointSize * 0.8
font.capitalization: Font.Capitalize
font.family: config.Font
color: selectUser.highlightedIndex === index ? root.palette.highlight.hslLightness >= 0.7 ? "#16161E" : "white" : root.palette.window.hslLightness >= 0.8 ? root.palette.highlight.hslLightness >= 0.8 ? "#16161E" : root.palette.highlight : "white"
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
@ -315,7 +314,6 @@ Column {
horizontalAlignment: Text.AlignLeft
anchors.left: indicator.right
anchors.leftMargin: indicator.width / 2
font.family: config.Font
font.pointSize: root.font.pointSize * 0.8
color: root.palette.text
}
@ -472,7 +470,6 @@ Column {
text: parent.text
color: config.OverrideLoginButtonTextColor != "" ? config.OverrideLoginButtonTextColor : root.palette.highlight.hslLightness >= 0.7 ? "#16161E" : "white"
font.pointSize: root.font.pointSize
font.family: config.Font
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
opacity: 0.5

View file

@ -91,7 +91,6 @@ Item {
anchors.left: parent.left
anchors.leftMargin: 3
font.pointSize: root.font.pointSize * 0.8
font.family: config.Font
Keys.onReleased: parent.popup.open()
}

View file

@ -30,10 +30,10 @@ RowLayout {
spacing: root.font.pointSize
property var suspend: ["", config.TranslateSuspend || textConstants.suspend, sddm.canSuspend]
property var hibernate: ["", config.TranslateHibernate || textConstants.hibernate, sddm.canHibernate]
property var reboot: ["", config.TranslateReboot || textConstants.reboot, sddm.canReboot]
property var shutdown: ["", config.TranslateShutdown || textConstants.shutdown, sddm.canPowerOff]
property var suspend: ["Suspend", config.TranslateSuspend || textConstants.suspend, sddm.canSuspend]
property var hibernate: ["Hibernate", config.TranslateHibernate || textConstants.hibernate, sddm.canHibernate]
property var reboot: ["Reboot", config.TranslateReboot || textConstants.reboot, sddm.canReboot]
property var shutdown: ["Shutdown", config.TranslateShutdown || textConstants.shutdown, sddm.canPowerOff]
property Control exposedSession
@ -44,9 +44,11 @@ RowLayout {
RoundButton {
text: modelData[1]
font.family: config.Font
font.pointSize: root.font.pointSize * 1.5
font.pointSize: root.font.pointSize * 0.8
Layout.alignment: Qt.AlignHCenter
icon.source: modelData ? Qt.resolvedUrl("../Assets/" + modelData[0] + ".svgz") : ""
icon.height: 2 * Math.round((root.font.pointSize * 3) / 2)
icon.width: 2 * Math.round((root.font.pointSize * 3) / 2)
display: AbstractButton.TextUnderIcon
visible: config.ForceHideSystemButtons != "true" && modelData[2]
hoverEnabled: true

View file

@ -45,7 +45,7 @@ Pane {
palette.window: config.BackgroundColor
font.family: config.Font
font.pointSize: config.FontSize !== "" ? config.FontSize : parseInt(height / 70)
font.pointSize: config.FontSize !== "" ? config.FontSize : parseInt(height / 80)
focus: true
property bool leftleft: config.HaveFormBackground == "true" &&
@ -89,9 +89,9 @@ Pane {
id: formBackground
anchors.fill: form
anchors.centerIn: form
color: "#222222"
color: root.palette.window
visible: config.HaveFormBackground == "true" ? true : false
opacity: 0.6
opacity: config.PartialBlur == "true" ? 0.3 : 1
z: 1
}
@ -99,7 +99,7 @@ Pane {
id: form
height: virtualKeyboard.state == "visible" ? parent.height - virtualKeyboard.implicitHeight : parent.height
width: parent.width / 3
width: parent.width / 2.5
anchors.horizontalCenter: config.FormPosition == "center" ? parent.horizontalCenter : undefined
anchors.left: config.FormPosition == "left" ? parent.left : undefined
anchors.right: config.FormPosition == "right" ? parent.right : undefined

View file

@ -1,9 +1,9 @@
[General]
Background="Assets/main.png"
Background="Backgrounds/lock.png"
## Path relative to the theme root directory. Most standard image file formats are allowed including support for transparency. (e.g. background.jpeg/illustration.GIF/Foto.png/undraw.svgz)
DimBackgroundImage="0.6"
DimBackgroundImage="0.0"
## Double between 0 and 1 used for the alpha channel of a darkening overlay. Use to darken your background image on the fly.
ScaleImageCropped="true"
@ -18,7 +18,7 @@ ScreenHeight="1080"
## [Blur Settings]
FullBlur="false"
PartialBlur="true"
PartialBlur="false"
## Enable or disable the blur effect; if HaveFormBackground is set to true then PartialBlur will trigger the BackgroundColor of the form element to be partially transparent and blend with the blur.
BlurRadius="0"
@ -28,10 +28,10 @@ BlurRadius="0"
## [Design Customizations]
HaveFormBackground="false"
HaveFormBackground="true"
## Have a full opacity background color behind the form that takes slightly more than 1/3 of screen estate; if PartialBlur is set to true then HaveFormBackground will trigger the BackgroundColor of the form element to be partially transparent and blend with the blur.
FormPosition="center"
FormPosition="right"
## Position of the form which takes roughly 1/3 of screen estate. Can be left, center or right.
BackgroundImageHAlignment="right"
@ -47,10 +47,10 @@ MainColor="#ffffff"
AccentColor="#3fb36d"
## Used for elements in focus/hover/pressed. Should be contrasting to the background and the MainColor to achieve the best effect.
BackgroundColor="#22222"
BackgroundColor="#222222b2"
## Used for the user and session selection background as well as for ScreenPadding and FormBackground when either is true. If PartialBlur and FormBackground are both enabled this color will blend with the blur effect.
OverrideLoginButtonTextColor="#eeeeee"
OverrideLoginButtonTextColor="#ffffff"
## The text of the login button may become difficult to read depending on your color choices. Use this option to set it independently for legibility.
InterfaceShadowSize="6"
@ -59,13 +59,13 @@ InterfaceShadowSize="6"
InterfaceShadowOpacity="0.6"
## Double between 0 and 1. Alpha channel of the shadow behind the user and session selection background. Decrease or increase if it looks bad on your background.
RoundCorners="10"
RoundCorners="20"
## Integer in pixels. Radius of the input fields and the login button. Empty for square. Can cause bad antialiasing of the fields.
ScreenPadding="0"
## Integer in pixels. Increase or delete this to have a padding of color BackgroundColor all around your screen. This makes your login greeter appear as if it was a canvas. Cool!
Font="Mononoki Nerd Font"
Font="JetBrainsMono Nerd Font"
## If you want to choose a custom font it will have to be available to the X root user. See https://wiki.archlinux.org/index.php/fonts#Manual_installation
FontSize=""
@ -106,17 +106,17 @@ AllowBadUsernames="false"
Locale=""
## The time and date locale should usually be set in your system settings. Only hard set this if something is not working by default or you want a seperate locale setting in your login screen.
HourFormat=""
## Defaults to Locale.ShortFormat - Accepts "long" or a custom string like "hh:mm". See http://doc.qt.io/qt-5/qml-qtqml-date.html
HourFormat="hh:mm AP"
## Defaults to Locale.ShortFormat - Accepts "long" or a custom string like "hh:mm A". See http://doc.qt.io/qt-5/qml-qtqml-date.html
DateFormat=""
## Defaults to Locale.LongFormat - Accepts "short" or a custom string like "dddd, d MMM". See http://doc.qt.io/qt-5/qml-qtqml-date.html
DateFormat="dddd  MMM d"
## Defaults to Locale.LongFormat - Accepts "short" or a custom string like "dddd, d 'of' MMMM". See http://doc.qt.io/qt-5/qml-qtqml-date.html
## [Translations]
HeaderText="Kamaji"
HeaderText="One Of Lifes True Delights"
## Header can be empty to not display any greeting at all. Keep it short.
## SDDM may lack proper translation for every element. Suger defaults to SDDM translations. Please help translate SDDM as much as possible for your language: https://github.com/sddm/sddm/wiki/Localization. These are in order as they appear on screen.
@ -128,9 +128,9 @@ TranslateLogin=""
TranslateLoginFailedWarning=""
TranslateCapslockWarning=""
TranslateSession=""
TranslateSuspend=""
TranslateHibernate=""
TranslateReboot=""
TranslateShutdown=""
TranslateSuspend=""
TranslateHibernate=""
TranslateReboot=""
TranslateShutdown=""
TranslateVirtualKeyboardButton=""
## These don't necessarily need to translate anything. You can enter whatever you want here.