Compare commits

...

10 commits

Author SHA1 Message Date
WanderingPenwing 189e9d614a changed size 2024-08-01 02:52:27 +02:00
WanderingPenwing 72f8432a34 fixed hibernate button 2024-08-01 02:49:32 +02:00
WanderingPenwing e61bcac22b button patch 2024-08-01 02:44:48 +02:00
WanderingPenwing e0a3d1b57a changed buttons 2024-08-01 02:19:19 +02:00
WanderingPenwing 468c5ef256 overhaul 2024-08-01 02:02:31 +02:00
WanderingPenwing c2f07a5f6a same wallpaper as env 2024-07-31 23:33:35 +02:00
WanderingPenwing f21b847fc1 changed background 2024-07-31 23:26:26 +02:00
WanderingPenwing 5cc141b15e better time 2024-07-07 22:52:35 +02:00
WanderingPenwing 000112967e better date 2024-07-07 22:49:13 +02:00
WanderingPenwing 9b3208ab40 shorter greeting 2024-07-07 22:43:53 +02:00
11 changed files with 34 additions and 32 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

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 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)
} }
} }

View file

@ -75,6 +75,7 @@ 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
@ -314,6 +315,7 @@ 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
} }
@ -470,6 +472,7 @@ 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

View file

@ -91,6 +91,7 @@ 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()
} }

View file

@ -30,10 +30,10 @@ RowLayout {
spacing: root.font.pointSize spacing: root.font.pointSize
property var suspend: ["Suspend", config.TranslateSuspend || textConstants.suspend, sddm.canSuspend] property var suspend: ["", config.TranslateSuspend || textConstants.suspend, sddm.canSuspend]
property var hibernate: ["Hibernate", config.TranslateHibernate || textConstants.hibernate, sddm.canHibernate] property var hibernate: ["", config.TranslateHibernate || textConstants.hibernate, sddm.canHibernate]
property var reboot: ["Reboot", config.TranslateReboot || textConstants.reboot, sddm.canReboot] property var reboot: ["", config.TranslateReboot || textConstants.reboot, sddm.canReboot]
property var shutdown: ["Shutdown", config.TranslateShutdown || textConstants.shutdown, sddm.canPowerOff] property var shutdown: ["", config.TranslateShutdown || textConstants.shutdown, sddm.canPowerOff]
property Control exposedSession property Control exposedSession
@ -44,11 +44,9 @@ RowLayout {
RoundButton { RoundButton {
text: modelData[1] text: modelData[1]
font.pointSize: root.font.pointSize * 0.8 font.family: config.Font
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

View file

@ -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 / 80) font.pointSize: config.FontSize !== "" ? config.FontSize : parseInt(height / 70)
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: root.palette.window color: "#222222"
visible: config.HaveFormBackground == "true" ? true : false visible: config.HaveFormBackground == "true" ? true : false
opacity: config.PartialBlur == "true" ? 0.3 : 1 opacity: 0.6
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 / 2.5 width: parent.width / 3
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

View file

@ -1,9 +1,9 @@
[General] [General]
Background="Backgrounds/lock.png" Background="Assets/main.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.0" DimBackgroundImage="0.6"
## 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="false" PartialBlur="true"
## 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="true" HaveFormBackground="false"
## 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="right" FormPosition="center"
## 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="#222222b2" BackgroundColor="#22222"
## 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="#ffffff" OverrideLoginButtonTextColor="#eeeeee"
## 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="20" RoundCorners="10"
## 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="JetBrainsMono Nerd Font" Font="Mononoki 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="hh:mm AP" HourFormat=""
## 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 ## Defaults to Locale.ShortFormat - Accepts "long" or a custom string like "hh:mm". See http://doc.qt.io/qt-5/qml-qtqml-date.html
DateFormat="dddd  MMM d" DateFormat=""
## 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 ## 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
## [Translations] ## [Translations]
HeaderText="One Of Lifes True Delights" HeaderText="Kamaji"
## 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.