Compare commits
No commits in common. "189e9d614a0d5a3d3a44009186764d3b85958b9d" and "771b93c51e2f70b7d5cc41789e2383fe8191326b" have entirely different histories.
189e9d614a
...
771b93c51e
BIN
Assets/Hibernate.svgz
Normal file
BIN
Assets/Hibernate.svgz
Normal file
Binary file not shown.
BIN
Assets/Reboot.svgz
Normal file
BIN
Assets/Reboot.svgz
Normal file
Binary file not shown.
BIN
Assets/Shutdown.svgz
Normal file
BIN
Assets/Shutdown.svgz
Normal file
Binary file not shown.
BIN
Assets/Suspend.svgz
Normal file
BIN
Assets/Suspend.svgz
Normal file
Binary file not shown.
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 2.6 MiB |
|
@ -45,7 +45,7 @@ Column {
|
||||||
color: root.palette.text
|
color: root.palette.text
|
||||||
renderType: Text.QtRendering
|
renderType: Text.QtRendering
|
||||||
function updateTime() {
|
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
|
color: root.palette.text
|
||||||
renderType: Text.QtRendering
|
renderType: Text.QtRendering
|
||||||
function updateTime() {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,6 @@ Column {
|
||||||
text: model.name
|
text: model.name
|
||||||
font.pointSize: root.font.pointSize * 0.8
|
font.pointSize: root.font.pointSize * 0.8
|
||||||
font.capitalization: Font.Capitalize
|
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"
|
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
|
verticalAlignment: Text.AlignVCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
@ -315,7 +314,6 @@ Column {
|
||||||
horizontalAlignment: Text.AlignLeft
|
horizontalAlignment: Text.AlignLeft
|
||||||
anchors.left: indicator.right
|
anchors.left: indicator.right
|
||||||
anchors.leftMargin: indicator.width / 2
|
anchors.leftMargin: indicator.width / 2
|
||||||
font.family: config.Font
|
|
||||||
font.pointSize: root.font.pointSize * 0.8
|
font.pointSize: root.font.pointSize * 0.8
|
||||||
color: root.palette.text
|
color: root.palette.text
|
||||||
}
|
}
|
||||||
|
@ -472,7 +470,6 @@ Column {
|
||||||
text: parent.text
|
text: parent.text
|
||||||
color: config.OverrideLoginButtonTextColor != "" ? config.OverrideLoginButtonTextColor : root.palette.highlight.hslLightness >= 0.7 ? "#16161E" : "white"
|
color: config.OverrideLoginButtonTextColor != "" ? config.OverrideLoginButtonTextColor : root.palette.highlight.hslLightness >= 0.7 ? "#16161E" : "white"
|
||||||
font.pointSize: root.font.pointSize
|
font.pointSize: root.font.pointSize
|
||||||
font.family: config.Font
|
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
opacity: 0.5
|
opacity: 0.5
|
||||||
|
|
|
@ -91,7 +91,6 @@ Item {
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: 3
|
anchors.leftMargin: 3
|
||||||
font.pointSize: root.font.pointSize * 0.8
|
font.pointSize: root.font.pointSize * 0.8
|
||||||
font.family: config.Font
|
|
||||||
Keys.onReleased: parent.popup.open()
|
Keys.onReleased: parent.popup.open()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -30,10 +30,10 @@ RowLayout {
|
||||||
|
|
||||||
spacing: root.font.pointSize
|
spacing: root.font.pointSize
|
||||||
|
|
||||||
property var suspend: [" ", config.TranslateSuspend || textConstants.suspend, sddm.canSuspend]
|
property var suspend: ["Suspend", config.TranslateSuspend || textConstants.suspend, sddm.canSuspend]
|
||||||
property var hibernate: [" ", config.TranslateHibernate || textConstants.hibernate, sddm.canHibernate]
|
property var hibernate: ["Hibernate", config.TranslateHibernate || textConstants.hibernate, sddm.canHibernate]
|
||||||
property var reboot: [" ", config.TranslateReboot || textConstants.reboot, sddm.canReboot]
|
property var reboot: ["Reboot", config.TranslateReboot || textConstants.reboot, sddm.canReboot]
|
||||||
property var shutdown: [" ", config.TranslateShutdown || textConstants.shutdown, sddm.canPowerOff]
|
property var shutdown: ["Shutdown", config.TranslateShutdown || textConstants.shutdown, sddm.canPowerOff]
|
||||||
|
|
||||||
property Control exposedSession
|
property Control exposedSession
|
||||||
|
|
||||||
|
@ -44,9 +44,11 @@ RowLayout {
|
||||||
|
|
||||||
RoundButton {
|
RoundButton {
|
||||||
text: modelData[1]
|
text: modelData[1]
|
||||||
font.family: config.Font
|
font.pointSize: root.font.pointSize * 0.8
|
||||||
font.pointSize: root.font.pointSize * 1.5
|
|
||||||
Layout.alignment: Qt.AlignHCenter
|
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
|
display: AbstractButton.TextUnderIcon
|
||||||
visible: config.ForceHideSystemButtons != "true" && modelData[2]
|
visible: config.ForceHideSystemButtons != "true" && modelData[2]
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
|
8
Main.qml
8
Main.qml
|
@ -45,7 +45,7 @@ Pane {
|
||||||
palette.window: config.BackgroundColor
|
palette.window: config.BackgroundColor
|
||||||
|
|
||||||
font.family: config.Font
|
font.family: config.Font
|
||||||
font.pointSize: config.FontSize !== "" ? config.FontSize : parseInt(height / 70)
|
font.pointSize: config.FontSize !== "" ? config.FontSize : parseInt(height / 80)
|
||||||
focus: true
|
focus: true
|
||||||
|
|
||||||
property bool leftleft: config.HaveFormBackground == "true" &&
|
property bool leftleft: config.HaveFormBackground == "true" &&
|
||||||
|
@ -89,9 +89,9 @@ Pane {
|
||||||
id: formBackground
|
id: formBackground
|
||||||
anchors.fill: form
|
anchors.fill: form
|
||||||
anchors.centerIn: form
|
anchors.centerIn: form
|
||||||
color: "#222222"
|
color: root.palette.window
|
||||||
visible: config.HaveFormBackground == "true" ? true : false
|
visible: config.HaveFormBackground == "true" ? true : false
|
||||||
opacity: 0.6
|
opacity: config.PartialBlur == "true" ? 0.3 : 1
|
||||||
z: 1
|
z: 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ Pane {
|
||||||
id: form
|
id: form
|
||||||
|
|
||||||
height: virtualKeyboard.state == "visible" ? parent.height - virtualKeyboard.implicitHeight : parent.height
|
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.horizontalCenter: config.FormPosition == "center" ? parent.horizontalCenter : undefined
|
||||||
anchors.left: config.FormPosition == "left" ? parent.left : undefined
|
anchors.left: config.FormPosition == "left" ? parent.left : undefined
|
||||||
anchors.right: config.FormPosition == "right" ? parent.right : undefined
|
anchors.right: config.FormPosition == "right" ? parent.right : undefined
|
||||||
|
|
36
theme.conf
36
theme.conf
|
@ -1,9 +1,9 @@
|
||||||
[General]
|
[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)
|
## 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.
|
## 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"
|
ScaleImageCropped="true"
|
||||||
|
@ -18,7 +18,7 @@ ScreenHeight="1080"
|
||||||
## [Blur Settings]
|
## [Blur Settings]
|
||||||
|
|
||||||
FullBlur="false"
|
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.
|
## 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"
|
BlurRadius="0"
|
||||||
|
@ -28,10 +28,10 @@ BlurRadius="0"
|
||||||
|
|
||||||
## [Design Customizations]
|
## [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.
|
## 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.
|
## Position of the form which takes roughly 1/3 of screen estate. Can be left, center or right.
|
||||||
|
|
||||||
BackgroundImageHAlignment="right"
|
BackgroundImageHAlignment="right"
|
||||||
|
@ -47,10 +47,10 @@ MainColor="#ffffff"
|
||||||
AccentColor="#3fb36d"
|
AccentColor="#3fb36d"
|
||||||
## Used for elements in focus/hover/pressed. Should be contrasting to the background and the MainColor to achieve the best effect.
|
## 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.
|
## 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.
|
## 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"
|
InterfaceShadowSize="6"
|
||||||
|
@ -59,13 +59,13 @@ InterfaceShadowSize="6"
|
||||||
InterfaceShadowOpacity="0.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.
|
## 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.
|
## Integer in pixels. Radius of the input fields and the login button. Empty for square. Can cause bad antialiasing of the fields.
|
||||||
|
|
||||||
ScreenPadding="0"
|
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!
|
## 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
|
## 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=""
|
FontSize=""
|
||||||
|
@ -106,17 +106,17 @@ AllowBadUsernames="false"
|
||||||
Locale=""
|
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.
|
## 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=""
|
HourFormat="hh:mm AP"
|
||||||
## Defaults to Locale.ShortFormat - Accepts "long" or a custom string like "hh:mm". See http://doc.qt.io/qt-5/qml-qtqml-date.html
|
## 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=""
|
DateFormat="dddd MMM d"
|
||||||
## 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
|
## 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]
|
## [Translations]
|
||||||
|
|
||||||
HeaderText="Kamaji"
|
HeaderText="One Of Life’s True Delights"
|
||||||
## Header can be empty to not display any greeting at all. Keep it short.
|
## 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.
|
## 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=""
|
TranslateLoginFailedWarning=""
|
||||||
TranslateCapslockWarning=""
|
TranslateCapslockWarning=""
|
||||||
TranslateSession=""
|
TranslateSession=""
|
||||||
TranslateSuspend=" "
|
TranslateSuspend=""
|
||||||
TranslateHibernate=" "
|
TranslateHibernate=""
|
||||||
TranslateReboot=" "
|
TranslateReboot=""
|
||||||
TranslateShutdown=" "
|
TranslateShutdown=""
|
||||||
TranslateVirtualKeyboardButton=""
|
TranslateVirtualKeyboardButton=""
|
||||||
## These don't necessarily need to translate anything. You can enter whatever you want here.
|
## These don't necessarily need to translate anything. You can enter whatever you want here.
|
||||||
|
|
Loading…
Reference in a new issue