diff --git a/Assets/Hibernate.svg b/Assets/Hibernate.svg new file mode 100644 index 0000000..b877ee6 --- /dev/null +++ b/Assets/Hibernate.svg @@ -0,0 +1,35 @@ + + + + + + + image/svg+xml + + + + + + + + diff --git a/Assets/Hibernate.svgz b/Assets/Hibernate.svgz deleted file mode 100644 index c6aab4d..0000000 Binary files a/Assets/Hibernate.svgz and /dev/null differ diff --git a/Assets/Reboot.svg b/Assets/Reboot.svg new file mode 100644 index 0000000..7b21d73 --- /dev/null +++ b/Assets/Reboot.svg @@ -0,0 +1,36 @@ + + + + + + + image/svg+xml + + + + + + + + + diff --git a/Assets/Reboot.svgz b/Assets/Reboot.svgz deleted file mode 100644 index 1958f78..0000000 Binary files a/Assets/Reboot.svgz and /dev/null differ diff --git a/Assets/Shutdown.svg b/Assets/Shutdown.svg new file mode 100644 index 0000000..a19a695 --- /dev/null +++ b/Assets/Shutdown.svg @@ -0,0 +1,31 @@ + + + + + + + image/svg+xml + + + + + + + diff --git a/Assets/Shutdown.svgz b/Assets/Shutdown.svgz deleted file mode 100644 index 4845675..0000000 Binary files a/Assets/Shutdown.svgz and /dev/null differ diff --git a/Assets/Suspend.svg b/Assets/Suspend.svg new file mode 100644 index 0000000..ecd2961 --- /dev/null +++ b/Assets/Suspend.svg @@ -0,0 +1,31 @@ + + + + + + + image/svg+xml + + + + + + + diff --git a/Assets/Suspend.svgz b/Assets/Suspend.svgz deleted file mode 100644 index dd230f7..0000000 Binary files a/Assets/Suspend.svgz and /dev/null differ diff --git a/Assets/User.svg b/Assets/User.svg new file mode 100644 index 0000000..f0ccc59 --- /dev/null +++ b/Assets/User.svg @@ -0,0 +1,52 @@ + +image/svg+xml \ No newline at end of file diff --git a/Assets/User.svgz b/Assets/User.svgz deleted file mode 100644 index e8bbdbf..0000000 Binary files a/Assets/User.svgz and /dev/null differ diff --git a/Components/Clock.qml b/Components/Clock.qml index 45b240e..1aa7265 100644 --- a/Components/Clock.qml +++ b/Components/Clock.qml @@ -4,8 +4,8 @@ // Config created by https://github.com/MarianArlt // Config modified by keyitdev https://github.com/keyitdev -import QtQuick 2.11 -import QtQuick.Controls 2.4 +import QtQuick 2.15 +import QtQuick.Controls 2.15 Column { id: clock diff --git a/Components/Input.qml b/Components/Input.qml index 4d92eb6..86d9dbb 100644 --- a/Components/Input.qml +++ b/Components/Input.qml @@ -4,10 +4,10 @@ // Config created by https://github.com/MarianArlt // Config modified by keyitdev https://github.com/keyitdev -import QtQuick 2.11 -import QtQuick.Layouts 1.11 -import QtQuick.Controls 2.4 -import QtGraphicalEffects 1.0 +import QtQuick 2.15 +import QtQuick.Layouts 1.15 +import QtQuick.Controls 2.15 +import Qt5Compat.GraphicalEffects Column { id: inputContainer @@ -78,7 +78,7 @@ Column { icon.width: parent.height * 0.25 enabled: false icon.color: root.palette.text - icon.source: Qt.resolvedUrl("../Assets/User.svgz") + icon.source: Qt.resolvedUrl("../Assets/User.svg") } background: Rectangle { diff --git a/Components/LoginForm.qml b/Components/LoginForm.qml index a078952..4a7d66a 100644 --- a/Components/LoginForm.qml +++ b/Components/LoginForm.qml @@ -4,8 +4,8 @@ // Config created by https://github.com/MarianArlt // Config modified by keyitdev https://github.com/keyitdev -import QtQuick 2.11 -import QtQuick.Layouts 1.11 +import QtQuick 2.15 +import QtQuick.Layouts 1.15 import SddmComponents 2.0 as SDDM ColumnLayout { diff --git a/Components/SessionButton.qml b/Components/SessionButton.qml index 21cced4..1c9d0ee 100644 --- a/Components/SessionButton.qml +++ b/Components/SessionButton.qml @@ -4,9 +4,9 @@ // Config created by https://github.com/MarianArlt // Config modified by keyitdev https://github.com/keyitdev -import QtQuick 2.11 -import QtQuick.Controls 2.4 -import QtGraphicalEffects 1.0 +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import Qt5Compat.GraphicalEffects Item { id: sessionButton diff --git a/Components/SystemButtons.qml b/Components/SystemButtons.qml index a0404a4..9f2dedc 100644 --- a/Components/SystemButtons.qml +++ b/Components/SystemButtons.qml @@ -4,9 +4,9 @@ // Config created by https://github.com/MarianArlt // Config modified by keyitdev https://github.com/keyitdev -import QtQuick 2.11 -import QtQuick.Layouts 1.11 -import QtQuick.Controls 2.4 +import QtQuick 2.15 +import QtQuick.Layouts 1.15 +import QtQuick.Controls 2.15 RowLayout { @@ -28,7 +28,7 @@ RowLayout { text: modelData[1] font.pointSize: root.font.pointSize * 0.8 Layout.alignment: Qt.AlignHCenter - icon.source: modelData ? Qt.resolvedUrl("../Assets/" + modelData[0] + ".svgz") : "" + icon.source: modelData ? Qt.resolvedUrl("../Assets/" + modelData[0] + ".svg") : "" icon.height: 2 * Math.round((root.font.pointSize * 3) / 2) icon.width: 2 * Math.round((root.font.pointSize * 3) / 2) display: AbstractButton.TextUnderIcon diff --git a/Components/UserList.qml b/Components/UserList.qml index a0e69da..29ff78c 100644 --- a/Components/UserList.qml +++ b/Components/UserList.qml @@ -4,9 +4,9 @@ // Config created by https://github.com/MarianArlt // Config modified by keyitdev https://github.com/keyitdev -import QtQuick 2.11 -import QtQuick.Controls 2.4 -import QtGraphicalEffects 1.0 +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import Qt5Compat.GraphicalEffects Item { id: usernameField @@ -63,7 +63,7 @@ Item { icon.width: parent.height * 0.25 enabled: false icon.color: root.palette.text - icon.source: Qt.resolvedUrl("../Assets/User.svgz") + icon.source: Qt.resolvedUrl("../Assets/User.svg") } background: Rectangle { diff --git a/Components/VirtualKeyboard.qml b/Components/VirtualKeyboard.qml index da09faf..ce83f55 100644 --- a/Components/VirtualKeyboard.qml +++ b/Components/VirtualKeyboard.qml @@ -4,7 +4,7 @@ // Config created by https://github.com/MarianArlt // Config modified by keyitdev https://github.com/keyitdev -import QtQuick 2.11 +import QtQuick 2.15 import QtQuick.VirtualKeyboard 2.3 InputPanel { diff --git a/Main.qml b/Main.qml old mode 100644 new mode 100755 index c14eea5..2faf78c --- a/Main.qml +++ b/Main.qml @@ -4,10 +4,10 @@ // Config created by https://github.com/MarianArlt // Config modified by keyitdev https://github.com/keyitdev -import QtQuick 2.11 -import QtQuick.Layouts 1.11 -import QtQuick.Controls 2.4 -import QtGraphicalEffects 1.0 +import QtQuick 2.15 +import QtQuick.Layouts 1.15 +import QtQuick.Controls 2.15 +import Qt5Compat.GraphicalEffects import "Components" Pane { diff --git a/Backgrounds/background.png b/background.png similarity index 100% rename from Backgrounds/background.png rename to background.png diff --git a/metadata.desktop b/metadata.desktop old mode 100644 new mode 100755 index 0b9e7a5..ee5c013 --- a/metadata.desktop +++ b/metadata.desktop @@ -5,8 +5,11 @@ Author=keyitdev License=GPL-3.0-or-later Type=sddm-theme Version=1.0 +Website=https://github.com/Keyitdev/sddm-astronaut-theme Screenshot=Previews/preview.png MainScript=Main.qml ConfigFile=theme.conf TranslationsDirectory=translations -Theme-Id=sddm-astronaut-theme \ No newline at end of file +Theme-Id=sddm-astronaut-theme +Theme-API=2.0 +QtVersion=6 diff --git a/theme.conf b/theme.conf old mode 100644 new mode 100755 index 6f09033..47bda59 --- a/theme.conf +++ b/theme.conf @@ -1,6 +1,6 @@ [General] -Background="Backgrounds/background.png" +Background="background.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.0"