diff --git a/.config/quickshell/InoriShio/Widgets/Bar.qml b/.config/quickshell/InoriShio/Widgets/Bar.qml deleted file mode 100644 index e7c5c2c..0000000 --- a/.config/quickshell/InoriShio/Widgets/Bar.qml +++ /dev/null @@ -1,30 +0,0 @@ -// Bar.qml -import Quickshell -import qs.Widgets - -Scope { - // no more time object - - Variants { - model: Quickshell.screens - - PanelWindow { - required property var modelData - screen: modelData - - anchors { - top: true - left: true - right: true - } - - implicitHeight: 30 - - Clock { - anchors.centerIn: parent - - // no more time binding - } - } - } -} diff --git a/.config/quickshell/InoriShio/Widgets/Clock.qml b/.config/quickshell/InoriShio/Widgets/Clock.qml deleted file mode 100644 index ac1a0cc..0000000 --- a/.config/quickshell/InoriShio/Widgets/Clock.qml +++ /dev/null @@ -1,9 +0,0 @@ -// ClockWidget.qml -import QtQuick - -Text { - // we no longer need time as an input - - // directly access the time property from the Time singleton - text: Time.time -} diff --git a/.config/quickshell/InoriShio/Widgets/Time.qml b/.config/quickshell/InoriShio/Widgets/Time.qml deleted file mode 100644 index e662fcd..0000000 --- a/.config/quickshell/InoriShio/Widgets/Time.qml +++ /dev/null @@ -1,20 +0,0 @@ -// Time.qml -pragma Singleton - -import Quickshell -import QtQuick - -Singleton { - id: root - // an expression can be broken across multiple lines using {} - readonly property string time: { - // The passed format string matches the default output of - // the `date` command. - Qt.formatDateTime(clock.date, "ddd MMM d hh:mm:ss AP t yyyy") - } - - SystemClock { - id: clock - precision: SystemClock.Seconds - } -} diff --git a/.config/quickshell/InoriShio/shell.qml b/.config/quickshell/InoriShio/shell.qml deleted file mode 100644 index 19be722..0000000 --- a/.config/quickshell/InoriShio/shell.qml +++ /dev/null @@ -1,7 +0,0 @@ -// shell.qml -import Quickshell -import qs.Widgets - -Scope { - Bar {} -} diff --git a/.config/quickshell/QtLock/Backgrounds/Bocchi.mp4 b/.config/quickshell/QtLock/Backgrounds/Bocchi.mp4 deleted file mode 100644 index c6bff11..0000000 Binary files a/.config/quickshell/QtLock/Backgrounds/Bocchi.mp4 and /dev/null differ diff --git a/.config/quickshell/QtLock/LockSurface.qml b/.config/quickshell/QtLock/LockSurface.qml deleted file mode 100644 index 0978ab0..0000000 --- a/.config/quickshell/QtLock/LockSurface.qml +++ /dev/null @@ -1,41 +0,0 @@ -import QtQuick -import Quickshell -import Quickshell.Wayland - -WlSessionLockSurface { - id: lockSurface - - // match monitor resolution - anchors.fill: screen - - Rectangle { - anchors.fill: parent - color: "#000000bb" - - Column { - anchors.centerIn: parent - spacing: 12 - - Text { - text: "Locked" - color: "white" - font.pointSize: 24 - } - - TextField { - id: password - width: 240 - placeholderText: "Password" - echoMode: TextInput.Password - - Keys.onReturnPressed: { - if (password.text === "hello") { - locker.unlock() - } else { - password.text = "" - } - } - } - } - } -} diff --git a/.config/quickshell/QtLock/Modules/Clock.qml b/.config/quickshell/QtLock/Modules/Clock.qml deleted file mode 100644 index 18507f0..0000000 --- a/.config/quickshell/QtLock/Modules/Clock.qml +++ /dev/null @@ -1,70 +0,0 @@ -// Config created by Keyitdev https://github.com/Keyitdev/sddm-astronaut-theme -// Copyright (C) 2022-2025 Keyitdev -// Based on https://github.com/MarianArlt/sddm-sugar-dark -// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html - -import QtQuick 2.15 -import QtQuick.Controls 2.15 - -Column { - id: clock - - width: parent.width / 2 - spacing: 0 - - Label { - id:headerTextLabel - - anchors.horizontalCenter: parent.horizontalCenter - - font.pointSize: root.font.pointSize * 4 - color: config.HeaderTextColor - renderType: Text.QtRendering - text: config.HeaderText - } - - Label { - id: timeLabel - - anchors.horizontalCenter: parent.horizontalCenter - - font.pointSize: root.font.pointSize * 9 - font.bold: true - color: config.TimeTextColor - renderType: Text.QtRendering - - function updateTime() { - text = new Date().toLocaleTimeString(Qt.locale(config.Locale), config.HourFormat == "long" ? Locale.LongFormat : config.HourFormat !== "" ? config.HourFormat : Locale.ShortFormat) - } - } - - Label { - id: dateLabel - - anchors.horizontalCenter: parent.horizontalCenter - - color: config.DateTextColor - font.pointSize: root.font.pointSize * 3 - font.bold: true - renderType: Text.QtRendering - - function updateTime() { - text = new Date().toLocaleDateString(Qt.locale(config.Locale), config.DateFormat == "short" ? Locale.ShortFormat : config.DateFormat !== "" ? config.DateFormat : Locale.LongFormat) - } - } - - Timer { - interval: 1000 - repeat: true - running: true - onTriggered: { - dateLabel.updateTime() - timeLabel.updateTime() - } - } - - Component.onCompleted: { - dateLabel.updateTime() - timeLabel.updateTime() - } -} diff --git a/.config/quickshell/QtLock/Modules/Input.qml b/.config/quickshell/QtLock/Modules/Input.qml deleted file mode 100644 index e489603..0000000 --- a/.config/quickshell/QtLock/Modules/Input.qml +++ /dev/null @@ -1,526 +0,0 @@ -// Config created by Keyitdev https://github.com/Keyitdev/sddm-astronaut-theme -// Copyright (C) 2022-2025 Keyitdev -// Based on https://github.com/MarianArlt/sddm-sugar-dark -// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html - -import QtQuick 2.15 -import QtQuick.Layouts 1.15 -import QtQuick.Controls 2.15 - -Column { - id: inputContainer - - Layout.fillWidth: true - - property ComboBox exposeSession: sessionSelect.exposeSession - property bool failed - - Item { - id: errorMessageField - - // change also in selectSession - height: root.font.pointSize * 2 - width: parent.width / 2 - anchors.horizontalCenter: parent.horizontalCenter - - Label { - id: errorMessage - - width: parent.width - horizontalAlignment: Text.AlignHCenter - - text: failed ? config.TranslateLoginFailedWarning || textConstants.loginFailed + "!" : keyboard.capsLock ? config.TranslateCapslockWarning || textConstants.capslockWarning : null - font.pointSize: root.font.pointSize * 0.8 - font.italic: true - color: config.WarningColor - opacity: 0 - - states: [ - State { - name: "fail" - when: failed - PropertyChanges { - target: errorMessage - opacity: 1 - } - }, - State { - name: "capslock" - when: keyboard.capsLock - PropertyChanges { - target: errorMessage - opacity: 1 - } - } - ] - transitions: [ - Transition { - PropertyAnimation { - properties: "opacity" - duration: 100 - } - } - ] - } - } - - Item { - id: usernameField - - height: root.font.pointSize * 4.5 - width: parent.width / 2 - anchors.horizontalCenter: parent.horizontalCenter - - ComboBox { - id: selectUser - - width: parent.height - height: parent.height - anchors.left: parent.left - z: 2 - - model: userModel - currentIndex: model.lastIndex - textRole: "name" - hoverEnabled: true - onActivated: { - username.text = currentText - } - - property var popkey: config.RightToLeftLayout == "true" ? Qt.Key_Right : Qt.Key_Left - Keys.onPressed: function(event) { - if (event.key == Qt.Key_Down && !popup.opened) - username.forceActiveFocus(); - if ((event.key == Qt.Key_Up || event.key == popkey) && !popup.opened) - popup.open(); - } - KeyNavigation.down: username - KeyNavigation.right: username - - delegate: ItemDelegate { - // minus padding - width: popupHandler.width - 20 - anchors.horizontalCenter: popupHandler.horizontalCenter - - contentItem: Text { - verticalAlignment: Text.AlignVCenter - horizontalAlignment: Text.AlignHCenter - - text: model.name - font.pointSize: root.font.pointSize * 0.8 - font.capitalization: Font.AllLowercase - font.family: root.font.family - color: config.DropdownTextColor - } - - background: Rectangle { - color: selectUser.highlightedIndex === index ? config.DropdownSelectedBackgroundColor : "transparent" - } - } - - indicator: Button { - id: usernameIcon - - width: selectUser.height * 1 - height: parent.height - anchors.left: parent.left - anchors.verticalCenter: parent.verticalCenter - anchors.leftMargin: selectUser.height * 0 - - icon.height: parent.height * 0.25 - icon.width: parent.height * 0.25 - enabled: false - icon.color: config.UserIconColor - icon.source: Qt.resolvedUrl("../Assets/User.svg") - - background: Rectangle { - color: "transparent" - border.color: "transparent" - } - } - - background: Rectangle { - color: "transparent" - border.color: "transparent" - } - - popup: Popup { - id: popupHandler - - implicitHeight: contentItem.implicitHeight - width: usernameField.width - y: parent.height - username.height / 3 - x: config.RightToLeftLayout == "true" ? -loginButton.width + selectUser.width : 0 - rightMargin: config.RightToLeftLayout == "true" ? root.padding + usernameField.width / 2 : undefined - padding: 10 - - contentItem: ListView { - implicitHeight: contentHeight + 20 - - clip: true - model: selectUser.popup.visible ? selectUser.delegateModel : null - currentIndex: selectUser.highlightedIndex - ScrollIndicator.vertical: ScrollIndicator { } - } - - background: Rectangle { - radius: config.RoundCorners / 2 - color: config.DropdownBackgroundColor - layer.enabled: true - } - - enter: Transition { - NumberAnimation { property: "opacity"; from: 0; to: 1 } - } - } - - states: [ - State { - name: "pressed" - when: selectUser.down - PropertyChanges { - target: usernameIcon - icon.color: Qt.lighter(config.HoverUserIconColor, 1.1) - } - }, - State { - name: "hovered" - when: selectUser.hovered - PropertyChanges { - target: usernameIcon - icon.color: Qt.lighter(config.HoverUserIconColor, 1.2) - } - }, - State { - name: "focused" - when: selectUser.activeFocus - PropertyChanges { - target: usernameIcon - icon.color: config.HoverUserIconColor - } - } - ] - transitions: [ - Transition { - PropertyAnimation { - properties: "color, border.color, icon.color" - duration: 150 - } - } - ] - - } - - TextField { - id: username - - anchors.centerIn: parent - height: root.font.pointSize * 3 - width: parent.width - horizontalAlignment: TextInput.AlignHCenter - z: 1 - - text: config.ForceLastUser == "true" ? selectUser.currentText : null - color: config.LoginFieldTextColor - font.bold: true - font.capitalization: config.AllowUppercaseLettersInUsernames == "false" ? Font.AllLowercase : Font.MixedCase - placeholderText: config.TranslatePlaceholderUsername || textConstants.userName - placeholderTextColor: config.PlaceholderTextColor - selectByMouse: true - renderType: Text.QtRendering - - onFocusChanged:{ - if(focus) - selectAll() - } - - background: Rectangle { - color: config.LoginFieldBackgroundColor - opacity: 0.6 - border.color: "transparent" - border.width: parent.activeFocus ? 2 : 1 - 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) - KeyNavigation.down: passwordIcon - - states: [ - State { - name: "focused" - when: username.activeFocus - PropertyChanges { - target: username.background - border.color: config.HighlightBorderColor - } - PropertyChanges { - target: username - color: Qt.lighter(config.LoginFieldTextColor, 1.15) - } - } - ] - } - } - - Item { - id: passwordField - - height: root.font.pointSize * 4.5 - width: parent.width / 2 - anchors.horizontalCenter: parent.horizontalCenter - - Button { - id: passwordIcon - - height: parent.height - width: selectUser.height * 1 - anchors.left: parent.left - anchors.leftMargin: selectUser.height * 0 - anchors.verticalCenter: parent.verticalCenter - z: 2 - - icon.height: parent.height * 0.25 - icon.width: parent.height * 0.25 - icon.color: config.PasswordIconColor - icon.source: Qt.resolvedUrl("../Assets/Password2.svg") - - background: Rectangle { - color: "transparent" - border.color: "transparent" - } - - states: [ - State { - name: "visiblePasswordFocused" - when: passwordIcon.checked && passwordIcon.activeFocus - PropertyChanges { - target: passwordIcon - icon.source: Qt.resolvedUrl("../Assets/Password.svg") - icon.color: config.HoverPasswordIconColor - } - }, - State { - name: "visiblePasswordHovered" - when: passwordIcon.checked && passwordIcon.hovered - PropertyChanges { - target: passwordIcon - icon.source: Qt.resolvedUrl("../Assets/Password.svg") - icon.color: config.HoverPasswordIconColor - } - }, - State { - name: "visiblePassword" - when: passwordIcon.checked - PropertyChanges { - target: passwordIcon - icon.source: Qt.resolvedUrl("../Assets/Password.svg") - } - }, - State { - name: "hiddenPasswordFocused" - when: passwordIcon.enabled && passwordIcon.activeFocus - PropertyChanges { - target: passwordIcon - icon.source: Qt.resolvedUrl("../Assets/Password2.svg") - icon.color: config.HoverPasswordIconColor - } - }, - State { - name: "hiddenPasswordHovered" - when: passwordIcon.hovered - PropertyChanges { - target: passwordIcon - icon.source: Qt.resolvedUrl("../Assets/Password2.svg") - icon.color: config.HoverPasswordIconColor - } - } - ] - - onClicked: toggle() - Keys.onReturnPressed: toggle() - Keys.onEnterPressed: toggle() - KeyNavigation.down: password - - } - - TextField { - id: password - - height: root.font.pointSize * 3 - width: parent.width - anchors.centerIn: parent - horizontalAlignment: TextInput.AlignHCenter - - font.bold: true - color: config.PasswordFieldTextColor - focus: config.PasswordFocus == "true" ? true : false - echoMode: passwordIcon.checked ? TextInput.Normal : TextInput.Password - placeholderText: config.TranslatePlaceholderPassword || textConstants.password - placeholderTextColor: config.PlaceholderTextColor - passwordCharacter: "•" - passwordMaskDelay: config.HideCompletePassword == "true" ? undefined : 1000 - renderType: Text.QtRendering - selectByMouse: true - - background: Rectangle { - color: config.PasswordFieldBackgroundColor - opacity: 0.6 - border.color: "transparent" - border.width: parent.activeFocus ? 2 : 1 - 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) - KeyNavigation.down: loginButton - } - - states: [ - State { - name: "focused" - when: password.activeFocus - PropertyChanges { - target: password.background - border.color: config.HighlightBorderColor - } - PropertyChanges { - target: password - color: Qt.lighter(config.LoginFieldTextColor, 1.15) - } - } - ] - transitions: [ - Transition { - PropertyAnimation { - properties: "color, border.color" - duration: 150 - } - } - ] - } - - Item { - id: login - - // important - // try 4 or 9 ... - height: root.font.pointSize * 9 - width: parent.width / 2 - anchors.horizontalCenter: parent.horizontalCenter - - visible: config.HideLoginButton == "true" ? false : true - - Button { - id: loginButton - - height: root.font.pointSize * 3 - implicitWidth: parent.width - anchors.horizontalCenter: parent.horizontalCenter - anchors.verticalCenter: parent.verticalCenter - - text: config.TranslateLogin || textConstants.login - enabled: config.AllowEmptyPassword == "true" || username.text != "" && password.text != "" ? true : false - hoverEnabled: true - - contentItem: Text { - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - - font.bold: true - font.pointSize: root.font.pointSize - font.family: root.font.family - color: config.LoginButtonTextColor - text: parent.text - opacity: 0.0 - } - - background: Rectangle { - id: buttonBackground - - color: config.LoginButtonBackgroundColor - opacity: 0.0 - radius: config.RoundCorners || 0 - } - - states: [ - State { - name: "pressed" - when: loginButton.down - PropertyChanges { - target: buttonBackground - color: Qt.darker(config.LoginButtonBackgroundColor, 1.1) - opacity: 0.0 - } - PropertyChanges { - target: loginButton.contentItem - } - }, - State { - name: "hovered" - when: loginButton.hovered - PropertyChanges { - target: buttonBackground - color: Qt.lighter(config.LoginButtonBackgroundColor, 1.15) - opacity: 0.0 - } - PropertyChanges { - target: loginButton.contentItem - opacity: 0.0 - } - }, - State { - name: "focused" - when: loginButton.activeFocus - PropertyChanges { - target: buttonBackground - color: Qt.lighter(config.LoginButtonBackgroundColor, 1.2) - opacity: 0.0 - } - PropertyChanges { - target: loginButton.contentItem - opacity: 0.0 - } - }, - State { - name: "enabled" - when: loginButton.enabled - PropertyChanges { - target: buttonBackground; - color: config.LoginButtonBackgroundColor; - opacity: 0.0 - } - PropertyChanges { - target: loginButton.contentItem; - opacity: 0.0 - } - } - ] - transitions: [ - Transition { - PropertyAnimation { - properties: "opacity, color"; - duration: 300 - } - } - ] - - onClicked: config.AllowUppercaseLettersInUsernames == "false" ? sddm.login(username.text.toLowerCase(), password.text, sessionSelect.selectedSession) : sddm.login(username.text, password.text, sessionSelect.selectedSession) - Keys.onReturnPressed: clicked() - Keys.onEnterPressed: clicked() - } - } - - Connections { - target: sddm - function onLoginSucceeded() {} - function onLoginFailed() { - failed = true - resetError.running ? resetError.stop() && resetError.start() : resetError.start() - } - } - - Timer { - id: resetError - interval: 2000 - onTriggered: failed = false - running: false - } -} diff --git a/.config/quickshell/QtLock/Modules/LoginForm.qml b/.config/quickshell/QtLock/Modules/LoginForm.qml deleted file mode 100644 index ffa462b..0000000 --- a/.config/quickshell/QtLock/Modules/LoginForm.qml +++ /dev/null @@ -1,54 +0,0 @@ -// Config created by Keyitdev https://github.com/Keyitdev/sddm-astronaut-theme -// Copyright (C) 2022-2025 Keyitdev -// Based on https://github.com/MarianArlt/sddm-sugar-dark -// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html - -import QtQuick 2.15 -import QtQuick.Layouts 1.15 -import SddmComponents 2.0 as SDDM - -ColumnLayout { - id: formContainer - SDDM.TextConstants { id: textConstants } - - property int p: config.ScreenPadding == "" ? 0 : config.ScreenPadding - property string a: config.FormPosition - - Clock { - id: clock - - Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom - // important - Layout.preferredHeight: root.height / 2 - Layout.leftMargin: p != "0" ? a == "left" ? -p : a == "right" ? p : 0 : 0 - } - - Input { - id: input - - Layout.alignment: Qt.AlignVCenter - Layout.preferredHeight: root.height / 20 - Layout.leftMargin: p != "0" ? a == "left" ? -p : a == "right" ? p : 0 : 0 - Layout.topMargin: 0 - } - - SystemButtons { - id: systemButtons - - Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom - Layout.preferredHeight: root.height / 5 - Layout.maximumHeight: root.height / 5 - Layout.leftMargin: p != "0" ? a == "left" ? -p : a == "right" ? p : 0 : 0 - - exposedSession: input.exposeSession - } - - SessionButton { - id: sessionSelect - - Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom - Layout.preferredHeight: root.height / 54 - Layout.maximumHeight: root.height / 54 - Layout.leftMargin: p != "0" ? a == "left" ? -p : a == "right" ? p : 0 : 0 - } -} diff --git a/.config/quickshell/QtLock/Modules/SessionButton.qml b/.config/quickshell/QtLock/Modules/SessionButton.qml deleted file mode 100644 index 8c5a1d6..0000000 --- a/.config/quickshell/QtLock/Modules/SessionButton.qml +++ /dev/null @@ -1,149 +0,0 @@ -// Config created by Keyitdev https://github.com/Keyitdev/sddm-astronaut-theme -// Copyright (C) 2022-2025 Keyitdev -// Based on https://github.com/MarianArlt/sddm-sugar-dark -// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html - -import QtQuick 2.15 -import QtQuick.Controls 2.15 - -Item { - id: sessionButton - - height: root.font.pointSize - width: parent.width / 2 - - property var selectedSession: selectSession.currentIndex - property string textConstantSession - property int loginButtonWidth - property ComboBox exposeSession: selectSession - - ComboBox { - id: selectSession - - // important - // change also in errorMessage - height: root.font.pointSize * 2 - anchors.horizontalCenter: parent.horizontalCenter - - hoverEnabled: true - model: sessionModel - currentIndex: model.lastIndex - textRole: "name" - - Keys.onPressed: function(event) { - if ((event.key == Qt.Key_Left || event.key == Qt.Key_Right) && !popup.opened) { - popup.open(); - } - } - - delegate: ItemDelegate { - // minus padding - width: popupHandler.width - 20 - anchors.horizontalCenter: popupHandler.horizontalCenter - - contentItem: Text { - verticalAlignment: Text.AlignVCenter - horizontalAlignment: Text.AlignHCenter - - text: model.name - font.pointSize: root.font.pointSize * 0.8 - font.family: root.font.family - color: config.DropdownTextColor - } - - background: Rectangle { - color: selectSession.highlightedIndex === index ? config.DropdownSelectedBackgroundColor : "transparent" - } - } - - indicator { - visible: false - } - - contentItem: Text { - id: displayedItem - - verticalAlignment: Text.AlignVCenter - - text: (config.TranslateSessionSelection || "Session") + " (" + selectSession.currentText + ")" - color: config.SessionButtonTextColor - font.pointSize: root.font.pointSize * 0.8 - font.family: root.font.family - - Keys.onReleased: parent.popup.open() - } - - background: Rectangle { - height: parent.visualFocus ? 2 : 0 - width: displayedItem.implicitWidth - - color: "transparent" - } - - popup: Popup { - id: popupHandler - - implicitHeight: contentItem.implicitHeight - width: sessionButton.width - y: parent.height - 1 - x: -popupHandler.width/2 + displayedItem.width/2 - padding: 10 - - contentItem: ListView { - implicitHeight: contentHeight + 20 - - clip: true - model: selectSession.popup.visible ? selectSession.delegateModel : null - currentIndex: selectSession.highlightedIndex - ScrollIndicator.vertical: ScrollIndicator { } - } - - background: Rectangle { - radius: config.RoundCorners / 2 - color: config.DropdownBackgroundColor - layer.enabled: true - } - - enter: Transition { - NumberAnimation { property: "opacity"; from: 0; to: 1 } - } - } - - states: [ - State { - name: "pressed" - when: selectSession.down - PropertyChanges { - target: displayedItem - color: Qt.darker(config.HoverSessionButtonTextColor, 1.1) - } - }, - State { - name: "hovered" - when: selectSession.hovered - PropertyChanges { - target: displayedItem - color: Qt.lighter(config.HoverSessionButtonTextColor, 1.1) - } - }, - State { - name: "focused" - when: selectSession.visualFocus - PropertyChanges { - target: displayedItem - color: config.HoverSessionButtonTextColor - } - } - ] - transitions: [ - Transition { - PropertyAnimation { - properties: "color" - duration: 150 - } - } - ] - - } - -} diff --git a/.config/quickshell/QtLock/Modules/SystemButtons.qml b/.config/quickshell/QtLock/Modules/SystemButtons.qml deleted file mode 100644 index e280946..0000000 --- a/.config/quickshell/QtLock/Modules/SystemButtons.qml +++ /dev/null @@ -1,97 +0,0 @@ -// Config created by Keyitdev https://github.com/Keyitdev/sddm-astronaut-theme -// Copyright (C) 2022-2025 Keyitdev -// Based on https://github.com/MarianArlt/sddm-sugar-dark -// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html - -import QtQuick 2.15 -import QtQuick.Layouts 1.15 -import QtQuick.Controls 2.15 - -RowLayout { - - spacing: root.font.pointSize - - property var shutdown: ["Shutdown", config.TranslateShutdown || textConstants.shutdown, sddm.canPowerOff] - property var reboot: ["Reboot", config.TranslateReboot || textConstants.reboot, sddm.canReboot] - property var suspend: ["Suspend", config.TranslateSuspend || textConstants.suspend, sddm.canSuspend] - property var hibernate: ["Hibernate", config.TranslateHibernate || textConstants.hibernate, sddm.canHibernate] - - property ComboBox exposedSession - - Repeater { - id: systemButtons - - model: [shutdown, reboot, suspend, hibernate] - - RoundButton { - Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter - Layout.topMargin: root.font.pointSize * 6.5 - - text: modelData[1] - font.pointSize: root.font.pointSize * 0.8 - 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) - icon.color: config.SystemButtonsIconsColor - palette.buttonText: config.SystemButtonsIconsColor - display: AbstractButton.TextUnderIcon - visible: config.HideSystemButtons != "true" && (config.BypassSystemButtonsChecks == "true" ? 1 : modelData[2]) - hoverEnabled: true - - background: Rectangle { - height: 2 - width: parent.width - - color: "transparent" - } - - Keys.onReturnPressed: clicked() - onClicked: { - parent.forceActiveFocus() - index == 0 ? sddm.powerOff() : index == 1 ? sddm.reboot() : index == 2 ? sddm.suspend() : sddm.hibernate() - } - KeyNavigation.left: index > 0 ? parent.children[index-1] : null - - states: [ - State { - name: "pressed" - when: parent.children[index].down - PropertyChanges { - target: parent.children[index] - icon.color: root.palette.buttonText - palette.buttonText: Qt.darker(root.palette.buttonText, 1.1) - } - }, - State { - name: "hovered" - when: parent.children[index].hovered - PropertyChanges { - target: parent.children[index] - icon.color: root.palette.buttonText - palette.buttonText: Qt.lighter(root.palette.buttonText, 1.1) - } - }, - State { - name: "focused" - when: parent.children[index].activeFocus - PropertyChanges { - target: parent.children[index] - icon.color: root.palette.buttonText - palette.buttonText: root.palette.buttonText - } - } - ] - transitions: [ - Transition { - PropertyAnimation { - properties: "palette.buttonText, border.color" - duration: 150 - } - } - ] - - } - - } - -} diff --git a/.config/quickshell/QtLock/SessionLocker.qml b/.config/quickshell/QtLock/SessionLocker.qml deleted file mode 100644 index 516b178..0000000 --- a/.config/quickshell/QtLock/SessionLocker.qml +++ /dev/null @@ -1,28 +0,0 @@ -import QtQuick -import Quickshell -import Quickshell.Wayland - -QtObject { - id: sessionLocker - - // store the lock object properly - property WlSessionLock lock: WlSessionLock { - id: theLock - - onLocked: { - console.log("Session LOCKED") - } - - onFinished: { - console.log("Session UNLOCKED") - } - } - - function startLock() { - lock.requestLock() - } - - function unlock() { - lock.unlockAndDestroy() - } -} diff --git a/.config/quickshell/QtLock/Shell.qml b/.config/quickshell/QtLock/Shell.qml deleted file mode 100644 index 8bdc719..0000000 --- a/.config/quickshell/QtLock/Shell.qml +++ /dev/null @@ -1,25 +0,0 @@ -import Quickshell -import Quickshell.Wayland -import Quickshell.Hyprland -import QtQuick - -PanelWindow { - id: root - - SessionLocker { - id: locker - } - - // create a lock surface per monitor - Component.onCompleted: { - locker.startLock() - for (let screen of Screens) { - lockSurfaceComponent.createObject(root, { "screen": screen }) - } - } - - Component { - id: lockSurfaceComponent - LockSurface { } - } -} diff --git a/.config/quickshell/QtVideo/Shell.qml b/.config/quickshell/QtVideo/Shell.qml deleted file mode 100644 index 08eb47e..0000000 --- a/.config/quickshell/QtVideo/Shell.qml +++ /dev/null @@ -1,27 +0,0 @@ -import QtQuick -import Quickshell -import QtMultimedia -import Quickshell.Wayland - -PanelWindow { - WlrLayershell.layer: WlrLayer.Background - WlrLayershell.exclusiveZone: 1 - implicitHeight: Screen.height - implicitWidth: Screen.width - anchors { - top: true - bottom: true - right: true - left: true - } - - Video { - visible: true - anchors.fill: parent - source: "file:///home/inorishio/Videos/clips/IHateWomen.mp4" - loops: MediaPlayer.Infinite - autoPlay: true - muted: true - fillMode: VideoOutput.PreserveAspectCrop - } -} diff --git a/.config/quickshell/inorishio-theme/Assets/Hibernate.svg b/.config/quickshell/inorishio-theme/Assets/Hibernate.svg deleted file mode 100644 index b877ee6..0000000 --- a/.config/quickshell/inorishio-theme/Assets/Hibernate.svg +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - image/svg+xml - - - - - - - - diff --git a/.config/quickshell/inorishio-theme/Assets/Password.svg b/.config/quickshell/inorishio-theme/Assets/Password.svg deleted file mode 100644 index e7b0e6a..0000000 --- a/.config/quickshell/inorishio-theme/Assets/Password.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/.config/quickshell/inorishio-theme/Assets/Password2.svg b/.config/quickshell/inorishio-theme/Assets/Password2.svg deleted file mode 100644 index c538c22..0000000 --- a/.config/quickshell/inorishio-theme/Assets/Password2.svg +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/.config/quickshell/inorishio-theme/Assets/Reboot.svg b/.config/quickshell/inorishio-theme/Assets/Reboot.svg deleted file mode 100644 index 7b21d73..0000000 --- a/.config/quickshell/inorishio-theme/Assets/Reboot.svg +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - image/svg+xml - - - - - - - - - diff --git a/.config/quickshell/inorishio-theme/Assets/Shutdown.svg b/.config/quickshell/inorishio-theme/Assets/Shutdown.svg deleted file mode 100644 index a19a695..0000000 --- a/.config/quickshell/inorishio-theme/Assets/Shutdown.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - image/svg+xml - - - - - - - diff --git a/.config/quickshell/inorishio-theme/Assets/Suspend.svg b/.config/quickshell/inorishio-theme/Assets/Suspend.svg deleted file mode 100644 index ecd2961..0000000 --- a/.config/quickshell/inorishio-theme/Assets/Suspend.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - image/svg+xml - - - - - - - diff --git a/.config/quickshell/inorishio-theme/Assets/User.svg b/.config/quickshell/inorishio-theme/Assets/User.svg deleted file mode 100644 index f0ccc59..0000000 --- a/.config/quickshell/inorishio-theme/Assets/User.svg +++ /dev/null @@ -1,52 +0,0 @@ - -image/svg+xml \ No newline at end of file diff --git a/.config/quickshell/inorishio-theme/Backgrounds/Bocchi.mp4 b/.config/quickshell/inorishio-theme/Backgrounds/Bocchi.mp4 deleted file mode 100644 index c6bff11..0000000 Binary files a/.config/quickshell/inorishio-theme/Backgrounds/Bocchi.mp4 and /dev/null differ diff --git a/.config/quickshell/inorishio-theme/Components/Clock.qml b/.config/quickshell/inorishio-theme/Components/Clock.qml deleted file mode 100644 index b73168f..0000000 --- a/.config/quickshell/inorishio-theme/Components/Clock.qml +++ /dev/null @@ -1,70 +0,0 @@ -// Config created by Keyitdev https://github.com/Keyitdev/sddm-astronaut-theme -// Copyright (C) 2022-2025 Keyitdev -// Based on https://github.com/MarianArlt/sddm-sugar-dark -// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html - -import QtQuick 2.15 -import QtQuick.Controls 2.15 - -Column { - id: clock - - width: parent.width / 2 - spacing: 0 - - Label { - id:headerTextLabel - - anchors.horizontalCenter: parent.horizontalCenter - - font.pointSize: root.font.pointSize * 4 - color: config.HeaderTextColor - renderType: Text.NativeRendering - text: config.HeaderText - } - - Label { - id: timeLabel - - anchors.horizontalCenter: parent.horizontalCenter - - font.pointSize: root.font.pointSize * 9 - font.bold: true - color: config.TimeTextColor - renderType: Text.QtRendering - - function updateTime() { - text = new Date().toLocaleTimeString(Qt.locale(config.Locale), config.HourFormat == "long" ? Locale.LongFormat : config.HourFormat !== "" ? config.HourFormat : Locale.ShortFormat) - } - } - - Label { - id: dateLabel - - anchors.horizontalCenter: parent.horizontalCenter - - color: config.DateTextColor - font.pointSize: root.font.pointSize * 3 - font.bold: true - renderType: Text.QtRendering - - function updateTime() { - text = new Date().toLocaleDateString(Qt.locale(config.Locale), config.DateFormat == "short" ? Locale.ShortFormat : config.DateFormat !== "" ? config.DateFormat : Locale.LongFormat) - } - } - - Timer { - interval: 1000 - repeat: true - running: true - onTriggered: { - dateLabel.updateTime() - timeLabel.updateTime() - } - } - - Component.onCompleted: { - dateLabel.updateTime() - timeLabel.updateTime() - } -} diff --git a/.config/quickshell/inorishio-theme/Components/Input.qml b/.config/quickshell/inorishio-theme/Components/Input.qml deleted file mode 100644 index e489603..0000000 --- a/.config/quickshell/inorishio-theme/Components/Input.qml +++ /dev/null @@ -1,526 +0,0 @@ -// Config created by Keyitdev https://github.com/Keyitdev/sddm-astronaut-theme -// Copyright (C) 2022-2025 Keyitdev -// Based on https://github.com/MarianArlt/sddm-sugar-dark -// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html - -import QtQuick 2.15 -import QtQuick.Layouts 1.15 -import QtQuick.Controls 2.15 - -Column { - id: inputContainer - - Layout.fillWidth: true - - property ComboBox exposeSession: sessionSelect.exposeSession - property bool failed - - Item { - id: errorMessageField - - // change also in selectSession - height: root.font.pointSize * 2 - width: parent.width / 2 - anchors.horizontalCenter: parent.horizontalCenter - - Label { - id: errorMessage - - width: parent.width - horizontalAlignment: Text.AlignHCenter - - text: failed ? config.TranslateLoginFailedWarning || textConstants.loginFailed + "!" : keyboard.capsLock ? config.TranslateCapslockWarning || textConstants.capslockWarning : null - font.pointSize: root.font.pointSize * 0.8 - font.italic: true - color: config.WarningColor - opacity: 0 - - states: [ - State { - name: "fail" - when: failed - PropertyChanges { - target: errorMessage - opacity: 1 - } - }, - State { - name: "capslock" - when: keyboard.capsLock - PropertyChanges { - target: errorMessage - opacity: 1 - } - } - ] - transitions: [ - Transition { - PropertyAnimation { - properties: "opacity" - duration: 100 - } - } - ] - } - } - - Item { - id: usernameField - - height: root.font.pointSize * 4.5 - width: parent.width / 2 - anchors.horizontalCenter: parent.horizontalCenter - - ComboBox { - id: selectUser - - width: parent.height - height: parent.height - anchors.left: parent.left - z: 2 - - model: userModel - currentIndex: model.lastIndex - textRole: "name" - hoverEnabled: true - onActivated: { - username.text = currentText - } - - property var popkey: config.RightToLeftLayout == "true" ? Qt.Key_Right : Qt.Key_Left - Keys.onPressed: function(event) { - if (event.key == Qt.Key_Down && !popup.opened) - username.forceActiveFocus(); - if ((event.key == Qt.Key_Up || event.key == popkey) && !popup.opened) - popup.open(); - } - KeyNavigation.down: username - KeyNavigation.right: username - - delegate: ItemDelegate { - // minus padding - width: popupHandler.width - 20 - anchors.horizontalCenter: popupHandler.horizontalCenter - - contentItem: Text { - verticalAlignment: Text.AlignVCenter - horizontalAlignment: Text.AlignHCenter - - text: model.name - font.pointSize: root.font.pointSize * 0.8 - font.capitalization: Font.AllLowercase - font.family: root.font.family - color: config.DropdownTextColor - } - - background: Rectangle { - color: selectUser.highlightedIndex === index ? config.DropdownSelectedBackgroundColor : "transparent" - } - } - - indicator: Button { - id: usernameIcon - - width: selectUser.height * 1 - height: parent.height - anchors.left: parent.left - anchors.verticalCenter: parent.verticalCenter - anchors.leftMargin: selectUser.height * 0 - - icon.height: parent.height * 0.25 - icon.width: parent.height * 0.25 - enabled: false - icon.color: config.UserIconColor - icon.source: Qt.resolvedUrl("../Assets/User.svg") - - background: Rectangle { - color: "transparent" - border.color: "transparent" - } - } - - background: Rectangle { - color: "transparent" - border.color: "transparent" - } - - popup: Popup { - id: popupHandler - - implicitHeight: contentItem.implicitHeight - width: usernameField.width - y: parent.height - username.height / 3 - x: config.RightToLeftLayout == "true" ? -loginButton.width + selectUser.width : 0 - rightMargin: config.RightToLeftLayout == "true" ? root.padding + usernameField.width / 2 : undefined - padding: 10 - - contentItem: ListView { - implicitHeight: contentHeight + 20 - - clip: true - model: selectUser.popup.visible ? selectUser.delegateModel : null - currentIndex: selectUser.highlightedIndex - ScrollIndicator.vertical: ScrollIndicator { } - } - - background: Rectangle { - radius: config.RoundCorners / 2 - color: config.DropdownBackgroundColor - layer.enabled: true - } - - enter: Transition { - NumberAnimation { property: "opacity"; from: 0; to: 1 } - } - } - - states: [ - State { - name: "pressed" - when: selectUser.down - PropertyChanges { - target: usernameIcon - icon.color: Qt.lighter(config.HoverUserIconColor, 1.1) - } - }, - State { - name: "hovered" - when: selectUser.hovered - PropertyChanges { - target: usernameIcon - icon.color: Qt.lighter(config.HoverUserIconColor, 1.2) - } - }, - State { - name: "focused" - when: selectUser.activeFocus - PropertyChanges { - target: usernameIcon - icon.color: config.HoverUserIconColor - } - } - ] - transitions: [ - Transition { - PropertyAnimation { - properties: "color, border.color, icon.color" - duration: 150 - } - } - ] - - } - - TextField { - id: username - - anchors.centerIn: parent - height: root.font.pointSize * 3 - width: parent.width - horizontalAlignment: TextInput.AlignHCenter - z: 1 - - text: config.ForceLastUser == "true" ? selectUser.currentText : null - color: config.LoginFieldTextColor - font.bold: true - font.capitalization: config.AllowUppercaseLettersInUsernames == "false" ? Font.AllLowercase : Font.MixedCase - placeholderText: config.TranslatePlaceholderUsername || textConstants.userName - placeholderTextColor: config.PlaceholderTextColor - selectByMouse: true - renderType: Text.QtRendering - - onFocusChanged:{ - if(focus) - selectAll() - } - - background: Rectangle { - color: config.LoginFieldBackgroundColor - opacity: 0.6 - border.color: "transparent" - border.width: parent.activeFocus ? 2 : 1 - 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) - KeyNavigation.down: passwordIcon - - states: [ - State { - name: "focused" - when: username.activeFocus - PropertyChanges { - target: username.background - border.color: config.HighlightBorderColor - } - PropertyChanges { - target: username - color: Qt.lighter(config.LoginFieldTextColor, 1.15) - } - } - ] - } - } - - Item { - id: passwordField - - height: root.font.pointSize * 4.5 - width: parent.width / 2 - anchors.horizontalCenter: parent.horizontalCenter - - Button { - id: passwordIcon - - height: parent.height - width: selectUser.height * 1 - anchors.left: parent.left - anchors.leftMargin: selectUser.height * 0 - anchors.verticalCenter: parent.verticalCenter - z: 2 - - icon.height: parent.height * 0.25 - icon.width: parent.height * 0.25 - icon.color: config.PasswordIconColor - icon.source: Qt.resolvedUrl("../Assets/Password2.svg") - - background: Rectangle { - color: "transparent" - border.color: "transparent" - } - - states: [ - State { - name: "visiblePasswordFocused" - when: passwordIcon.checked && passwordIcon.activeFocus - PropertyChanges { - target: passwordIcon - icon.source: Qt.resolvedUrl("../Assets/Password.svg") - icon.color: config.HoverPasswordIconColor - } - }, - State { - name: "visiblePasswordHovered" - when: passwordIcon.checked && passwordIcon.hovered - PropertyChanges { - target: passwordIcon - icon.source: Qt.resolvedUrl("../Assets/Password.svg") - icon.color: config.HoverPasswordIconColor - } - }, - State { - name: "visiblePassword" - when: passwordIcon.checked - PropertyChanges { - target: passwordIcon - icon.source: Qt.resolvedUrl("../Assets/Password.svg") - } - }, - State { - name: "hiddenPasswordFocused" - when: passwordIcon.enabled && passwordIcon.activeFocus - PropertyChanges { - target: passwordIcon - icon.source: Qt.resolvedUrl("../Assets/Password2.svg") - icon.color: config.HoverPasswordIconColor - } - }, - State { - name: "hiddenPasswordHovered" - when: passwordIcon.hovered - PropertyChanges { - target: passwordIcon - icon.source: Qt.resolvedUrl("../Assets/Password2.svg") - icon.color: config.HoverPasswordIconColor - } - } - ] - - onClicked: toggle() - Keys.onReturnPressed: toggle() - Keys.onEnterPressed: toggle() - KeyNavigation.down: password - - } - - TextField { - id: password - - height: root.font.pointSize * 3 - width: parent.width - anchors.centerIn: parent - horizontalAlignment: TextInput.AlignHCenter - - font.bold: true - color: config.PasswordFieldTextColor - focus: config.PasswordFocus == "true" ? true : false - echoMode: passwordIcon.checked ? TextInput.Normal : TextInput.Password - placeholderText: config.TranslatePlaceholderPassword || textConstants.password - placeholderTextColor: config.PlaceholderTextColor - passwordCharacter: "•" - passwordMaskDelay: config.HideCompletePassword == "true" ? undefined : 1000 - renderType: Text.QtRendering - selectByMouse: true - - background: Rectangle { - color: config.PasswordFieldBackgroundColor - opacity: 0.6 - border.color: "transparent" - border.width: parent.activeFocus ? 2 : 1 - 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) - KeyNavigation.down: loginButton - } - - states: [ - State { - name: "focused" - when: password.activeFocus - PropertyChanges { - target: password.background - border.color: config.HighlightBorderColor - } - PropertyChanges { - target: password - color: Qt.lighter(config.LoginFieldTextColor, 1.15) - } - } - ] - transitions: [ - Transition { - PropertyAnimation { - properties: "color, border.color" - duration: 150 - } - } - ] - } - - Item { - id: login - - // important - // try 4 or 9 ... - height: root.font.pointSize * 9 - width: parent.width / 2 - anchors.horizontalCenter: parent.horizontalCenter - - visible: config.HideLoginButton == "true" ? false : true - - Button { - id: loginButton - - height: root.font.pointSize * 3 - implicitWidth: parent.width - anchors.horizontalCenter: parent.horizontalCenter - anchors.verticalCenter: parent.verticalCenter - - text: config.TranslateLogin || textConstants.login - enabled: config.AllowEmptyPassword == "true" || username.text != "" && password.text != "" ? true : false - hoverEnabled: true - - contentItem: Text { - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - - font.bold: true - font.pointSize: root.font.pointSize - font.family: root.font.family - color: config.LoginButtonTextColor - text: parent.text - opacity: 0.0 - } - - background: Rectangle { - id: buttonBackground - - color: config.LoginButtonBackgroundColor - opacity: 0.0 - radius: config.RoundCorners || 0 - } - - states: [ - State { - name: "pressed" - when: loginButton.down - PropertyChanges { - target: buttonBackground - color: Qt.darker(config.LoginButtonBackgroundColor, 1.1) - opacity: 0.0 - } - PropertyChanges { - target: loginButton.contentItem - } - }, - State { - name: "hovered" - when: loginButton.hovered - PropertyChanges { - target: buttonBackground - color: Qt.lighter(config.LoginButtonBackgroundColor, 1.15) - opacity: 0.0 - } - PropertyChanges { - target: loginButton.contentItem - opacity: 0.0 - } - }, - State { - name: "focused" - when: loginButton.activeFocus - PropertyChanges { - target: buttonBackground - color: Qt.lighter(config.LoginButtonBackgroundColor, 1.2) - opacity: 0.0 - } - PropertyChanges { - target: loginButton.contentItem - opacity: 0.0 - } - }, - State { - name: "enabled" - when: loginButton.enabled - PropertyChanges { - target: buttonBackground; - color: config.LoginButtonBackgroundColor; - opacity: 0.0 - } - PropertyChanges { - target: loginButton.contentItem; - opacity: 0.0 - } - } - ] - transitions: [ - Transition { - PropertyAnimation { - properties: "opacity, color"; - duration: 300 - } - } - ] - - onClicked: config.AllowUppercaseLettersInUsernames == "false" ? sddm.login(username.text.toLowerCase(), password.text, sessionSelect.selectedSession) : sddm.login(username.text, password.text, sessionSelect.selectedSession) - Keys.onReturnPressed: clicked() - Keys.onEnterPressed: clicked() - } - } - - Connections { - target: sddm - function onLoginSucceeded() {} - function onLoginFailed() { - failed = true - resetError.running ? resetError.stop() && resetError.start() : resetError.start() - } - } - - Timer { - id: resetError - interval: 2000 - onTriggered: failed = false - running: false - } -} diff --git a/.config/quickshell/inorishio-theme/Components/LoginForm.qml b/.config/quickshell/inorishio-theme/Components/LoginForm.qml deleted file mode 100644 index ffa462b..0000000 --- a/.config/quickshell/inorishio-theme/Components/LoginForm.qml +++ /dev/null @@ -1,54 +0,0 @@ -// Config created by Keyitdev https://github.com/Keyitdev/sddm-astronaut-theme -// Copyright (C) 2022-2025 Keyitdev -// Based on https://github.com/MarianArlt/sddm-sugar-dark -// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html - -import QtQuick 2.15 -import QtQuick.Layouts 1.15 -import SddmComponents 2.0 as SDDM - -ColumnLayout { - id: formContainer - SDDM.TextConstants { id: textConstants } - - property int p: config.ScreenPadding == "" ? 0 : config.ScreenPadding - property string a: config.FormPosition - - Clock { - id: clock - - Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom - // important - Layout.preferredHeight: root.height / 2 - Layout.leftMargin: p != "0" ? a == "left" ? -p : a == "right" ? p : 0 : 0 - } - - Input { - id: input - - Layout.alignment: Qt.AlignVCenter - Layout.preferredHeight: root.height / 20 - Layout.leftMargin: p != "0" ? a == "left" ? -p : a == "right" ? p : 0 : 0 - Layout.topMargin: 0 - } - - SystemButtons { - id: systemButtons - - Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom - Layout.preferredHeight: root.height / 5 - Layout.maximumHeight: root.height / 5 - Layout.leftMargin: p != "0" ? a == "left" ? -p : a == "right" ? p : 0 : 0 - - exposedSession: input.exposeSession - } - - SessionButton { - id: sessionSelect - - Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom - Layout.preferredHeight: root.height / 54 - Layout.maximumHeight: root.height / 54 - Layout.leftMargin: p != "0" ? a == "left" ? -p : a == "right" ? p : 0 : 0 - } -} diff --git a/.config/quickshell/inorishio-theme/Components/SessionButton.qml b/.config/quickshell/inorishio-theme/Components/SessionButton.qml deleted file mode 100644 index 8c5a1d6..0000000 --- a/.config/quickshell/inorishio-theme/Components/SessionButton.qml +++ /dev/null @@ -1,149 +0,0 @@ -// Config created by Keyitdev https://github.com/Keyitdev/sddm-astronaut-theme -// Copyright (C) 2022-2025 Keyitdev -// Based on https://github.com/MarianArlt/sddm-sugar-dark -// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html - -import QtQuick 2.15 -import QtQuick.Controls 2.15 - -Item { - id: sessionButton - - height: root.font.pointSize - width: parent.width / 2 - - property var selectedSession: selectSession.currentIndex - property string textConstantSession - property int loginButtonWidth - property ComboBox exposeSession: selectSession - - ComboBox { - id: selectSession - - // important - // change also in errorMessage - height: root.font.pointSize * 2 - anchors.horizontalCenter: parent.horizontalCenter - - hoverEnabled: true - model: sessionModel - currentIndex: model.lastIndex - textRole: "name" - - Keys.onPressed: function(event) { - if ((event.key == Qt.Key_Left || event.key == Qt.Key_Right) && !popup.opened) { - popup.open(); - } - } - - delegate: ItemDelegate { - // minus padding - width: popupHandler.width - 20 - anchors.horizontalCenter: popupHandler.horizontalCenter - - contentItem: Text { - verticalAlignment: Text.AlignVCenter - horizontalAlignment: Text.AlignHCenter - - text: model.name - font.pointSize: root.font.pointSize * 0.8 - font.family: root.font.family - color: config.DropdownTextColor - } - - background: Rectangle { - color: selectSession.highlightedIndex === index ? config.DropdownSelectedBackgroundColor : "transparent" - } - } - - indicator { - visible: false - } - - contentItem: Text { - id: displayedItem - - verticalAlignment: Text.AlignVCenter - - text: (config.TranslateSessionSelection || "Session") + " (" + selectSession.currentText + ")" - color: config.SessionButtonTextColor - font.pointSize: root.font.pointSize * 0.8 - font.family: root.font.family - - Keys.onReleased: parent.popup.open() - } - - background: Rectangle { - height: parent.visualFocus ? 2 : 0 - width: displayedItem.implicitWidth - - color: "transparent" - } - - popup: Popup { - id: popupHandler - - implicitHeight: contentItem.implicitHeight - width: sessionButton.width - y: parent.height - 1 - x: -popupHandler.width/2 + displayedItem.width/2 - padding: 10 - - contentItem: ListView { - implicitHeight: contentHeight + 20 - - clip: true - model: selectSession.popup.visible ? selectSession.delegateModel : null - currentIndex: selectSession.highlightedIndex - ScrollIndicator.vertical: ScrollIndicator { } - } - - background: Rectangle { - radius: config.RoundCorners / 2 - color: config.DropdownBackgroundColor - layer.enabled: true - } - - enter: Transition { - NumberAnimation { property: "opacity"; from: 0; to: 1 } - } - } - - states: [ - State { - name: "pressed" - when: selectSession.down - PropertyChanges { - target: displayedItem - color: Qt.darker(config.HoverSessionButtonTextColor, 1.1) - } - }, - State { - name: "hovered" - when: selectSession.hovered - PropertyChanges { - target: displayedItem - color: Qt.lighter(config.HoverSessionButtonTextColor, 1.1) - } - }, - State { - name: "focused" - when: selectSession.visualFocus - PropertyChanges { - target: displayedItem - color: config.HoverSessionButtonTextColor - } - } - ] - transitions: [ - Transition { - PropertyAnimation { - properties: "color" - duration: 150 - } - } - ] - - } - -} diff --git a/.config/quickshell/inorishio-theme/Components/SystemButtons.qml b/.config/quickshell/inorishio-theme/Components/SystemButtons.qml deleted file mode 100644 index e280946..0000000 --- a/.config/quickshell/inorishio-theme/Components/SystemButtons.qml +++ /dev/null @@ -1,97 +0,0 @@ -// Config created by Keyitdev https://github.com/Keyitdev/sddm-astronaut-theme -// Copyright (C) 2022-2025 Keyitdev -// Based on https://github.com/MarianArlt/sddm-sugar-dark -// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html - -import QtQuick 2.15 -import QtQuick.Layouts 1.15 -import QtQuick.Controls 2.15 - -RowLayout { - - spacing: root.font.pointSize - - property var shutdown: ["Shutdown", config.TranslateShutdown || textConstants.shutdown, sddm.canPowerOff] - property var reboot: ["Reboot", config.TranslateReboot || textConstants.reboot, sddm.canReboot] - property var suspend: ["Suspend", config.TranslateSuspend || textConstants.suspend, sddm.canSuspend] - property var hibernate: ["Hibernate", config.TranslateHibernate || textConstants.hibernate, sddm.canHibernate] - - property ComboBox exposedSession - - Repeater { - id: systemButtons - - model: [shutdown, reboot, suspend, hibernate] - - RoundButton { - Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter - Layout.topMargin: root.font.pointSize * 6.5 - - text: modelData[1] - font.pointSize: root.font.pointSize * 0.8 - 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) - icon.color: config.SystemButtonsIconsColor - palette.buttonText: config.SystemButtonsIconsColor - display: AbstractButton.TextUnderIcon - visible: config.HideSystemButtons != "true" && (config.BypassSystemButtonsChecks == "true" ? 1 : modelData[2]) - hoverEnabled: true - - background: Rectangle { - height: 2 - width: parent.width - - color: "transparent" - } - - Keys.onReturnPressed: clicked() - onClicked: { - parent.forceActiveFocus() - index == 0 ? sddm.powerOff() : index == 1 ? sddm.reboot() : index == 2 ? sddm.suspend() : sddm.hibernate() - } - KeyNavigation.left: index > 0 ? parent.children[index-1] : null - - states: [ - State { - name: "pressed" - when: parent.children[index].down - PropertyChanges { - target: parent.children[index] - icon.color: root.palette.buttonText - palette.buttonText: Qt.darker(root.palette.buttonText, 1.1) - } - }, - State { - name: "hovered" - when: parent.children[index].hovered - PropertyChanges { - target: parent.children[index] - icon.color: root.palette.buttonText - palette.buttonText: Qt.lighter(root.palette.buttonText, 1.1) - } - }, - State { - name: "focused" - when: parent.children[index].activeFocus - PropertyChanges { - target: parent.children[index] - icon.color: root.palette.buttonText - palette.buttonText: root.palette.buttonText - } - } - ] - transitions: [ - Transition { - PropertyAnimation { - properties: "palette.buttonText, border.color" - duration: 150 - } - } - ] - - } - - } - -} diff --git a/.config/quickshell/inorishio-theme/Fonts/ARCADECLASSIC.TTF b/.config/quickshell/inorishio-theme/Fonts/ARCADECLASSIC.TTF deleted file mode 100644 index 394a9f7..0000000 Binary files a/.config/quickshell/inorishio-theme/Fonts/ARCADECLASSIC.TTF and /dev/null differ diff --git a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-Bold.ttf b/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-Bold.ttf deleted file mode 100644 index 4d8f3e5..0000000 Binary files a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-Bold.ttf and /dev/null differ diff --git a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-BoldItalic.ttf b/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-BoldItalic.ttf deleted file mode 100644 index eba75d7..0000000 Binary files a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-BoldItalic.ttf and /dev/null differ diff --git a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-ExtraBold.ttf b/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-ExtraBold.ttf deleted file mode 100644 index db66f6a..0000000 Binary files a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-ExtraBold.ttf and /dev/null differ diff --git a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-ExtraBoldItalic.ttf b/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-ExtraBoldItalic.ttf deleted file mode 100644 index b7611bb..0000000 Binary files a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-ExtraBoldItalic.ttf and /dev/null differ diff --git a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-Italic.ttf b/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-Italic.ttf deleted file mode 100644 index b088474..0000000 Binary files a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-Italic.ttf and /dev/null differ diff --git a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-Light.ttf b/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-Light.ttf deleted file mode 100644 index d01b20c..0000000 Binary files a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-Light.ttf and /dev/null differ diff --git a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-LightItalic.ttf b/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-LightItalic.ttf deleted file mode 100644 index 0441a59..0000000 Binary files a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-LightItalic.ttf and /dev/null differ diff --git a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-Medium.ttf b/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-Medium.ttf deleted file mode 100644 index 6b41918..0000000 Binary files a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-Medium.ttf and /dev/null differ diff --git a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-MediumItalic.ttf b/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-MediumItalic.ttf deleted file mode 100644 index c84fe4f..0000000 Binary files a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-MediumItalic.ttf and /dev/null differ diff --git a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-Regular.ttf b/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-Regular.ttf deleted file mode 100644 index 3a29f26..0000000 Binary files a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-Regular.ttf and /dev/null differ diff --git a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-SemiBold.ttf b/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-SemiBold.ttf deleted file mode 100644 index 219f6e8..0000000 Binary files a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-SemiBold.ttf and /dev/null differ diff --git a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-SemiBoldItalic.ttf b/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-SemiBoldItalic.ttf deleted file mode 100644 index 259ac50..0000000 Binary files a/.config/quickshell/inorishio-theme/Fonts/OpenSans/OpenSans-SemiBoldItalic.ttf and /dev/null differ diff --git a/.config/quickshell/inorishio-theme/Fonts/pixelon.regular.ttf b/.config/quickshell/inorishio-theme/Fonts/pixelon.regular.ttf deleted file mode 100644 index acb3c81..0000000 Binary files a/.config/quickshell/inorishio-theme/Fonts/pixelon.regular.ttf and /dev/null differ diff --git a/.config/quickshell/inorishio-theme/Main.qml b/.config/quickshell/inorishio-theme/Main.qml deleted file mode 100644 index 983ad24..0000000 --- a/.config/quickshell/inorishio-theme/Main.qml +++ /dev/null @@ -1,200 +0,0 @@ -// Config created by Keyitdev https://github.com/Keyitdev/sddm-astronaut-theme -// Copyright (C) 2022-2025 Keyitdev -// Based on https://github.com/MarianArlt/sddm-sugar-dark -// Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html - -import QtQuick 2.15 -import QtQuick.Layouts 1.15 -import QtQuick.Controls 2.15 -import QtQuick.Effects -import QtMultimedia - -import "Components" - -Pane { - id: root - - height: config.ScreenHeight || Screen.height - width: config.ScreenWidth || Screen.ScreenWidth - padding: config.ScreenPadding - - LayoutMirroring.enabled: config.RightToLeftLayout == "true" ? true : Qt.application.layoutDirection === Qt.RightToLeft - LayoutMirroring.childrenInherit: true - - palette.window: config.BackgroundColor - palette.highlight: config.HighlightBackgroundColor - palette.highlightedText: config.HighlightTextColor - palette.buttonText: config.HoverSystemButtonsIconsColor - - font.family: config.Font - font.pointSize: config.FontSize !== "" ? config.FontSize : parseInt(height / 80) || 13 - - focus: true - - property bool leftleft: config.HaveFormBackground == "true" && - config.PartialBlur == "false" && - config.FormPosition == "left" && - config.BackgroundHorizontalAlignment == "left" - - property bool leftcenter: config.HaveFormBackground == "true" && - config.PartialBlur == "false" && - config.FormPosition == "left" && - config.BackgroundHorizontalAlignment == "center" - - property bool rightright: config.HaveFormBackground == "true" && - config.PartialBlur == "false" && - config.FormPosition == "right" && - config.BackgroundHorizontalAlignment == "right" - - property bool rightcenter: config.HaveFormBackground == "true" && - config.PartialBlur == "false" && - config.FormPosition == "right" && - config.BackgroundHorizontalAlignment == "center" - - Item { - id: sizeHelper - - height: parent.height - width: parent.width - anchors.fill: parent - - Rectangle { - id: tintLayer - - height: parent.height - width: parent.width - anchors.fill: parent - z: 1 - color: config.DimBackgroundColor - opacity: config.DimBackground - } - - Rectangle { - id: formBackground - - anchors.fill: form - anchors.centerIn: form - z: 1 - - color: config.FormBackgroundColor - visible: config.HaveFormBackground == "true" ? true : false - opacity: config.PartialBlur == "true" ? 0.3 : 1 - } - - LoginForm { - id: form - - height: parent.height - width: parent.width / 2.5 - anchors.left: config.FormPosition == "left" ? parent.left : undefined - anchors.horizontalCenter: config.FormPosition == "center" ? parent.horizontalCenter : undefined - anchors.right: config.FormPosition == "right" ? parent.right : undefined - z: 1 - } - - Image { - id: backgroundPlaceholderImage - - z: 10 - source: config.BackgroundPlaceholder - visible: false - } - - AnimatedImage { - id: backgroundImage - - MediaPlayer { - id: player - - videoOutput: videoOutput - autoPlay: true - playbackRate: config.BackgroundSpeed == "" ? 1.0 : config.BackgroundSpeed - loops: -1 - onPlayingChanged: { - console.log("Video started.") - backgroundPlaceholderImage.visible = false; - } - } - - VideoOutput { - id: videoOutput - - fillMode: config.CropBackground == "true" ? VideoOutput.PreserveAspectCrop : VideoOutput.PreserveAspectFit - anchors.fill: parent - } - - height: parent.height - width: config.HaveFormBackground == "true" && config.FormPosition != "center" && config.PartialBlur != "true" ? parent.width - formBackground.width : parent.width - anchors.left: leftleft || leftcenter ? formBackground.right : undefined - anchors.right: rightright || rightcenter ? formBackground.left : undefined - - horizontalAlignment: config.BackgroundHorizontalAlignment == "left" ? - Image.AlignLeft : - config.BackgroundHorizontalAlignment == "right" ? - Image.AlignRight : Image.AlignHCenter - - verticalAlignment: config.BackgroundVerticalAlignment == "top" ? - Image.AlignTop : - config.BackgroundVerticalAlignment == "bottom" ? - Image.AlignBottom : Image.AlignVCenter - - speed: config.BackgroundSpeed == "" ? 1.0 : config.BackgroundSpeed - paused: config.PauseBackground == "true" ? 1 : 0 - fillMode: config.CropBackground == "true" ? Image.PreserveAspectCrop : Image.PreserveAspectFit - asynchronous: true - cache: true - clip: true - mipmap: true - - Component.onCompleted:{ - var fileType = config.Background.substring(config.Background.lastIndexOf(".") + 1) - const videoFileTypes = ["avi", "mp4", "mov", "mkv", "m4v", "webm"]; - if (videoFileTypes.includes(fileType)) { - backgroundPlaceholderImage.visible = true; - player.source = Qt.resolvedUrl(config.Background) - player.play(); - } - else{ - backgroundImage.source = config.background || config.Background - } - } - } - - MouseArea { - anchors.fill: backgroundImage - onClicked: parent.forceActiveFocus() - } - - ShaderEffectSource { - id: blurMask - - height: parent.height - width: form.width - anchors.centerIn: form - - sourceItem: backgroundImage - sourceRect: Qt.rect(x,y,width,height) - visible: config.FullBlur == "true" || config.PartialBlur == "true" ? true : false - } - - MultiEffect { - id: blur - - height: parent.height - - // width: config.FullBlur == "true" ? parent.width : form.width - // 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. - 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 - - source: config.FullBlur == "true" ? backgroundImage : blurMask - blurEnabled: true - autoPaddingEnabled: false - blur: config.Blur == "" ? 2.0 : config.Blur - blurMax: config.BlurMax == "" ? 48 : config.BlurMax - visible: config.FullBlur == "true" || config.PartialBlur == "true" ? true : false - } - } -} diff --git a/.config/quickshell/inorishio-theme/README.md b/.config/quickshell/inorishio-theme/README.md deleted file mode 100644 index bf2cd85..0000000 --- a/.config/quickshell/inorishio-theme/README.md +++ /dev/null @@ -1,136 +0,0 @@ -# sddm-astronaut-theme - -![Stars](https://img.shields.io/github/stars/keyitdev/sddm-astronaut-theme?color=dd864a&labelColor=1b1b25&style=for-the-badge) -![Forks](https://img.shields.io/github/forks/keyitdev/sddm-astronaut-theme?color=bf616a&labelColor=1b1b25&style=for-the-badge) -[![Ko-fi](https://img.shields.io/badge/support_me_on_ko--fi-F16061?style=for-the-badge&logo=kofi&logoColor=f5f5f5)](https://ko-fi.com/keyitdev) - -[sddm-astronaut-theme](https://github.com/Keyitdev/sddm-astronaut-theme) is a series of themes for the [SDDM](https://github.com/sddm/sddm/) display manager made by **[Keyitdev](https://github.com/Keyitdev)**. - -It's written using the latest version of Qt, which is **Qt6**. Its key features include **virtual keyboard support** and an **installation script**. This theme also support **animated wallpapers**. You can easily change its appearance by choosing another of the ten pre-made themes or creating your own. Each of these themes was created by modifying just one file - **[config](./Themes/astronaut.conf)**. - -All themes were created for 1080p. However, they should work well in other resolutions. - -## Preview of all themes - -![all_themes.gif](https://github.com/Keyitdev/screenshots/blob/master/sddm-astronaut-theme/master/all_themes.gif?raw=true) - -## Preview of animated themes - -https://github.com/user-attachments/assets/2cfc947e-4621-4e98-b5f3-07d5e224b80c - -

Watch more on Youtube!

-
-

Detailed previews

- -**Astronaut**|**Black hole** -|:--:|:--:| -![astronaut](https://github.com/Keyitdev/screenshots/blob/master/sddm-astronaut-theme/master/astronaut.png?raw=true)|![black_hole](https://github.com/Keyitdev/screenshots/blob/master/sddm-astronaut-theme/master/black_hole.png?raw=true) -**Japanese aesthetic**|**Pixel sakura static** -![japanese_aesthetic](https://github.com/Keyitdev/screenshots/blob/master/sddm-astronaut-theme/master/japanese_aesthetic.png?raw=true)|![pixel_sakura_static](https://github.com/Keyitdev/screenshots/blob/master/sddm-astronaut-theme/master/pixel_sakura_static.png?raw=true) -**Purple leaves**|**Cyberpunk** -![purple_leaves](https://github.com/Keyitdev/screenshots/blob/master/sddm-astronaut-theme/master/purple_leaves.png?raw=true)|![cyberpunk](https://github.com/Keyitdev/screenshots/blob/master/sddm-astronaut-theme/master/cyberpunk.png?raw=true) -**Post-apocalyptic hacker**|**xxx** -![post-apocalyptic_hacker](https://github.com/Keyitdev/screenshots/blob/master/sddm-astronaut-theme/master/post-apocalyptic_hacker.png?raw=true)| - -**Hyprland Kath** - -https://github.com/user-attachments/assets/1d926e76-44f7-4d99-ac6d-d1abcd7ed688 - -**Pixel sakura** - -https://github.com/user-attachments/assets/ea004765-7e84-4a0d-90cd-aaac97679f62 - -**Jake the dog** - -https://github.com/user-attachments/assets/181d48c2-f152-45f5-b568-21145be180f6 - -
- -## Installation - -### Automatic Installation - -```sh -sh -c "$(curl -fsSL https://raw.githubusercontent.com/keyitdev/sddm-astronaut-theme/master/setup.sh)" -``` -> Works on distributions using pacman, xbps-install, dnf, zypper. -> Remember to always read the scripts you run from the internet. - -### Manual Installation - -1. Install **dependencies** - -[`sddm >= 0.21.0`](https://github.com/sddm/sddm), [`qt6 >= 6.8`](https://doc.qt.io/qt-6/index.html), [`qt6-svg >= 6.8`](https://doc.qt.io/qt-6/qtsvg-index.html), [`qt6-virtualkeyboard >= 6.8`](https://doc.qt.io/qt-6/qtvirtualkeyboard-index.html), [`qt6-multimedia >= 6.8`](https://doc.qt.io/qt-6/qtmultimedia-index.html) - -You may also want to install additional video codecs like h.264. - -```sh -sddm qt6-svg qt6-virtualkeyboard qt6-multimedia-ffmpeg # Arch -sddm qt6-svg qt6-virtualkeyboard qt6-multimedia # Void -sddm qt6-qtsvg qt6-qtvirtualkeyboard qt6-qtmultimedia # Fedora -sddm-qt6 libQt6Svg6 qt6-virtualkeyboard qt6-virtualkeyboard-imports qt6-multimedia qt6-multimedia-imports # OpenSUSE -``` - -2. Clone this repository -```sh -sudo git clone -b master --depth 1 https://github.com/keyitdev/sddm-astronaut-theme.git /usr/share/sddm/themes/sddm-astronaut-theme -``` -3. Copy fonts to `/usr/share/fonts/` -```sh -sudo cp -r /usr/share/sddm/themes/sddm-astronaut-theme/Fonts/* /usr/share/fonts/ -``` -4. Edit `/etc/sddm.conf` -```sh -echo "[Theme] -Current=sddm-astronaut-theme" | sudo tee /etc/sddm.conf -``` -5. Edit `/etc/sddm.conf.d/virtualkbd.conf` -```sh -echo "[General] -InputMethod=qtvirtualkeyboard" | sudo tee /etc/sddm.conf.d/virtualkbd.conf -``` - -## Selecting a theme - -You can select theme by editing [metadata](./metadata.desktop) (`/usr/share/sddm/themes/sddm-astronaut-theme/metadata.desktop`). - -Just edit this line: -``` -ConfigFile=Themes/astronaut.conf -``` -All available configs are in [Themes](./Themes/) directory. - -## Previewing a theme - -You can preview the set theme without logging out by runnning: -```sh -sddm-greeter-qt6 --test-mode --theme /usr/share/sddm/themes/sddm-astronaut-theme/ -``` -> Note that depending on the system configuration, the preview may differ slightly from the actual login screen. - -## Sources - -Initially the theme was independed fork of [MarianArlt's theme](https://github.com/MarianArlt/sddm-sugar-dark) but now the project has come a long way and started to significantly deviate from the original. -Many of the wallpapers and fonts used in this project are very popular and copied from one user to another, so I don't know who the original creator is. -I also redesigned many of them, but here are links to some of the orginal artists who created these wonderful wallpapers: - -- Astronaut: [wallpaper](https://wallhaven.cc/w/e76pew), [font](https://fonts.google.com/specimen/Open+Sans/about) -- Black hole: [wallpaper](https://images2.alphacoders.com/114/1141632.jpg), [font](https://www.1001fonts.com/espacion-font.html) -- Japanese aesthetic: [wallpaper](https://imgur.com/a/pua0dYx) by [gharly](https://www.artstation.com/gharly), [font](https://www.1001fonts.com/electroharmonix-font.html) -- Purple leaves: [wallpaper](https://wallha.com/wallpaper/artwork-abstract-leaves-purple-texture-pattern-1414432), [font](https://fonts.google.com/specimen/Open+Sans/about) -- Cyberpunk: [wallpaper](https://images5.alphacoders.com/133/1330479.png) by [patrika](https://alphacoders.com/users/profile/227699/patrika), [font](https://www.1001fonts.com/kognigear-font.html) -- Post-apocalyptic hacker: [wallpaper](https://images.alphacoders.com/137/thumb-1920-1375178.png) by [patrika](https://alphacoders.com/users/profile/227699/patrika), [font](https://www.1001fonts.com/fragile-bombers-font.html) -- Hyprland Kath: [wallpaper](https://motionbgs.com/andvari-last-origin), [font](https://www.1001fonts.com/pixelon-font.html) -- Pixel sakura: [wallpaper](https://imgur.com/gallery/sakura-tree-with-petals-flying-off-t5tg4N8), [font](https://www.1001fonts.com/arcadeclassic-font.html) -- Jake the dog: [wallpaper](https://motionbgs.com/jake-the-dog), [font](https://fontmeme.com/fonts/thunderman-font/) - -## Supporting project - -You can support me simply by dropping a **star** on **[github](https://github.com/Keyitdev/sddm-astronaut-theme)** or giving a **subscription** on **[YouTube](http://www.youtube.com/channel/UCVoGVyAP2sHPQyegwBMJKyQ?sub_confirmation=1)**. - -If you enjoyed it and would like to show your appreciation, you can make a **[donation](https://ko-fi.com/keyitdev)** using **[kofi](https://ko-fi.com/keyitdev)**. - -[![Ko-fi](https://img.shields.io/badge/support_me_on_ko--fi-F16061?style=for-the-badge&logo=kofi&logoColor=f5f5f5)](https://ko-fi.com/keyitdev) - -Distributed under the **[GPLv3+](https://www.gnu.org/licenses/gpl-3.0.html) License**. -Copyright (C) 2022-2025 Keyitdev. diff --git a/.config/quickshell/inorishio-theme/Themes/inorishio_aesthetic.conf b/.config/quickshell/inorishio-theme/Themes/inorishio_aesthetic.conf deleted file mode 100644 index db6e86c..0000000 --- a/.config/quickshell/inorishio-theme/Themes/inorishio_aesthetic.conf +++ /dev/null @@ -1,152 +0,0 @@ -[General] -#################### General #################### - -ScreenWidth="2560" -ScreenHeight="1440" -ScreenPadding="" -# Default 0, Options: from 0 to min(screen width/2,screen height/2). - -Font="Pixelon" -FontSize="24" -# Default is screen height divided by 80 (1080/80=13.5), Options: 0-inf. - -KeyboardSize="0.4" -# Default 0.4, Options 0.1-1.0 - -RoundCorners="20" - -Locale="" -# Locale for data and time format. I suggest leaving it blank. -HourFormat="HH:mm" -# Default Locale.ShortFormat. -DateFormat="dddd d" -# Default Locale.LongFormat. - -HeaderText="InoriShio" -# You can put somehting fun. - -#################### Background #################### - -BackgroundPlaceholder="" -# Must be a relative path. -# Background displayed before the actual background is loaded. -# Use only if the background is a video, otherwise leave blank. -# Connected with: Background. -Background="Backgrounds/Bocchi.mp4" -# Must be a relative path. -# Supports: png, jpg, jpeg, webp, gif, avi, mp4, mov, mkv, m4v, webm. -BackgroundSpeed="" -# Default 1.0. Options: 0.0-10.0 (can go higher). -# Speed of animated wallpaper. -# Connected with: Background. -PauseBackground="" -# Default false. -# If set to true, stops playback of gifs. Works only with gifs. -# Connected with: Background. -DimBackground="0.0" -# Options: 0.0-1.0. -# Connected with: DimBackgroundColor -CropBackground="true" -# Default false. -# Crop or fit background. -# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true. -BackgroundHorizontalAlignment="center" -# Default: center, Options: left, center, right. -# Horizontal position of the background picture. -# Connected with: CropBackground must be set to false. -BackgroundVerticalAlignment="center" -# Horizontal position of the background picture. -# Default: center, Options: bottom, center, top. -# Connected with: CropBackground must be set to false. - -#################### Colors #################### - -HeaderTextColor="#21222c" -DateTextColor="#21222c" -TimeTextColor="#21222c" - -FormBackgroundColor="#21222c" -BackgroundColor="#21222c" -DimBackgroundColor="#21222c" - -LoginFieldBackgroundColor="#21222c" -PasswordFieldBackgroundColor="#21222c" -LoginFieldTextColor="#ffffff" -PasswordFieldTextColor="#ffffff" -UserIconColor="#ffffff" -PasswordIconColor="#ffffff" - -PlaceholderTextColor="#7c6f64" -WarningColor="#32302f" - -LoginButtonTextColor="#32302f" -LoginButtonBackgroundColor="#ffffff" -SystemButtonsIconsColor="#32302f" -SessionButtonTextColor="#32302f" - -DropdownTextColor="#ffffff" -DropdownSelectedBackgroundColor="#7c6f64" -DropdownBackgroundColor="#32302f" - -HighlightTextColor="#877bb0" -HighlightBackgroundColor="#ffffff" -HighlightBorderColor="transparent" - -HoverUserIconColor="#877bb0" -HoverPasswordIconColor="#877bb0" -HoverSystemButtonsIconsColor="#7c6f64" -HoverSessionButtonTextColor="#7c6f64" - -#################### Form #################### - -PartialBlur="" -# Default false. -FullBlur="" -# Default false. -# If you use FullBlur I recommend setting BlurMax to 64 and Blur to 1.0. -BlurMax="" -# Default 48, Options: 2-64 (can go higher because depends on Blur). -# Connected with: Blur. -Blur="" -# Default 2.0, Options: 0.0-3.0 (without 3.0). -# Connected with: BlurMax. - -HaveFormBackground="false" -# Form background is transparent if set to false. -# Connected with: PartialBlur and BackgroundColor. -FormPosition="left" -# Default: left, Options: left, center, right. - -#################### Interface Behavior #################### - -HideSystemButtons="true" -HideLoginButton="false" - -ForceLastUser="true" -# If set to true last successfully logged in user appeares automatically in the username field. -PasswordFocus="true" -# Automaticaly focuses password field. -HideCompletePassword="true" -# Hides the password while typing. -AllowEmptyPassword="false" -# 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" -# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons. -RightToLeftLayout="false" -# Revert the layout either because you would like the login to be on the right hand side or SDDM won't respect your language locale for some reason. This will reverse the current position of FormPosition if it is either left or right and in addition position some smaller elements on the right hand side of the form itself (also when FormPosition is set to center). - -#################### Translation #################### - -# These don't necessarily need to translate anything. You can enter whatever you want here. -TranslatePlaceholderUsername="" -TranslatePlaceholderPassword="" -TranslateLogin="" -TranslateLoginFailedWarning="" -TranslateCapslockWarning="" -TranslateSuspend="" -TranslateHibernate="" -TranslateReboot="" -TranslateShutdown="" -TranslateSessionSelection="" diff --git a/.config/quickshell/inorishio-theme/metadata.desktop b/.config/quickshell/inorishio-theme/metadata.desktop deleted file mode 100644 index bc0a764..0000000 --- a/.config/quickshell/inorishio-theme/metadata.desktop +++ /dev/null @@ -1,14 +0,0 @@ -[SddmGreeterTheme] -Name=inorishio-theme -Description=cream-da-la-cream -Author=inorishio -Website=https://github.com/inorishio -License=GPL-3.0-or-later -Type=sddm-theme -Version=1.3 -ConfigFile=Themes/inorishio_aesthetic.conf -MainScript=Main.qml -TranslationsDirectory=translations -Theme-Id=sddm-astronaut-theme -Theme-API=2.0 -QtVersion=6 diff --git a/.config/quickshell/z-bar-qt b/.config/quickshell/z-bar-qt deleted file mode 160000 index 7ddb103..0000000 --- a/.config/quickshell/z-bar-qt +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7ddb10376793d312727471edcf9cabb9dd995ba6 diff --git a/.config/quickshell/zachjittery/QtDesktopPet b/.config/quickshell/zachjittery/QtDesktopPet deleted file mode 160000 index 5318d38..0000000 --- a/.config/quickshell/zachjittery/QtDesktopPet +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5318d3897b459cf157c5e57d5deab4fbd4c1ed91