diff --git a/KDE/SDDM/Chicago95.tar.gz b/KDE/SDDM/Chicago95.tar.gz index 25dae61..5aae41a 100644 Binary files a/KDE/SDDM/Chicago95.tar.gz and b/KDE/SDDM/Chicago95.tar.gz differ diff --git a/KDE/SDDM/Chicago95/button-hover.svg b/KDE/SDDM/Chicago95/button-hover.svg new file mode 100644 index 0000000..922f88f --- /dev/null +++ b/KDE/SDDM/Chicago95/button-hover.svg @@ -0,0 +1,211 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/KDE/SDDM/Chicago95/button-pressed.svg b/KDE/SDDM/Chicago95/button-pressed.svg new file mode 100644 index 0000000..5bfc933 --- /dev/null +++ b/KDE/SDDM/Chicago95/button-pressed.svg @@ -0,0 +1,218 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/KDE/SDDM/Chicago95/button.svg b/KDE/SDDM/Chicago95/button.svg new file mode 100644 index 0000000..922f88f --- /dev/null +++ b/KDE/SDDM/Chicago95/button.svg @@ -0,0 +1,211 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/KDE/SDDM/Chicago95/close-hover.svg b/KDE/SDDM/Chicago95/close-hover.svg new file mode 100644 index 0000000..cdc5729 --- /dev/null +++ b/KDE/SDDM/Chicago95/close-hover.svg @@ -0,0 +1,207 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/KDE/SDDM/Chicago95/close-pressed.svg b/KDE/SDDM/Chicago95/close-pressed.svg new file mode 100644 index 0000000..529ecd5 --- /dev/null +++ b/KDE/SDDM/Chicago95/close-pressed.svg @@ -0,0 +1,232 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/KDE/SDDM/Chicago95/close.svg b/KDE/SDDM/Chicago95/close.svg new file mode 100644 index 0000000..cdc5729 --- /dev/null +++ b/KDE/SDDM/Chicago95/close.svg @@ -0,0 +1,207 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/KDE/SDDM/Chicago95/combo-indicator.svg b/KDE/SDDM/Chicago95/combo-indicator.svg new file mode 100644 index 0000000..9312af4 --- /dev/null +++ b/KDE/SDDM/Chicago95/combo-indicator.svg @@ -0,0 +1,95 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/KDE/SDDM/Chicago95/entry-focused.svg b/KDE/SDDM/Chicago95/entry-focused.svg new file mode 100644 index 0000000..3b4ec46 --- /dev/null +++ b/KDE/SDDM/Chicago95/entry-focused.svg @@ -0,0 +1,236 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/KDE/SDDM/Chicago95/entry.svg b/KDE/SDDM/Chicago95/entry.svg new file mode 100644 index 0000000..3b4ec46 --- /dev/null +++ b/KDE/SDDM/Chicago95/entry.svg @@ -0,0 +1,236 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/KDE/SDDM/Chicago95/greeter.svg b/KDE/SDDM/Chicago95/greeter.svg new file mode 100644 index 0000000..b6007f9 --- /dev/null +++ b/KDE/SDDM/Chicago95/greeter.svg @@ -0,0 +1,115 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/KDE/SDDM/Chicago95/help.svg b/KDE/SDDM/Chicago95/help.svg new file mode 100644 index 0000000..b9d0665 --- /dev/null +++ b/KDE/SDDM/Chicago95/help.svg @@ -0,0 +1,200 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/KDE/SDDM/Chicago95/main.qml b/KDE/SDDM/Chicago95/main.qml new file mode 100644 index 0000000..5908110 --- /dev/null +++ b/KDE/SDDM/Chicago95/main.qml @@ -0,0 +1,432 @@ +/*************************************************************************** +* Chicago95 sddm theme +* +* Copyright (c) Grassmunk +* +* TODO: +* - Add doted lines to selected items +* +* Based on QTStep SDDM theme by: +* Copyright (c) 2015 Pier Luigi Fiorini +* Copyright (c) 2013 Abdurrahman AVCI { + if (event.key === Qt.Key_Return || event.key === Qt.Key_Enter) { + sddm.login(username.text, password.text, sessionbutton.currentIndex); + event.accepted = true; + } + } + + } + + } + ColumnLayout { + Layout.topMargin: 38 + Layout.leftMargin: 10 + Layout.rightMargin: 10 + Layout.column: 2 + Layout.row: 0 + ToolButton { + id: ok_button + enabled: username.text !== "" && password.text !== "" ? true : false + Layout.preferredWidth: 80 + Layout.minimumWidth: 80 + Layout.preferredHeight: 30 + background: BorderImage { + border.left: 2 + border.right: 2 + border.top: 2 + border.bottom: 2 + smooth: false + source: ok_button.pressed ? "button-pressed.svg" + : ok_button.hovered ? "button-hover.svg" + : ok_button.focus ? "button-hover.svg" + : "button.svg" + } + ColumnLayout { + id: ok_button_content + anchors.centerIn: parent + spacing: 4 + Text { + color: "#000000" + text: "OK" + font.family: "Sans" + font.pixelSize: 12 + opacity: ok_button.enabled ? 1 : 0.5 + } + } + Keys.onReturnPressed: clicked() + onClicked: username.text !== "" && password.text !== "" ? sddm.login(username.text, password.text, sessionbutton.currentIndex) : sddm.loginFailed() + + + } + ToolButton { + id: shutdown_button_2 + enabled: sddm.canPowerOff + Layout.preferredWidth: 80 + Layout.minimumWidth: 80 + Layout.preferredHeight: 30 + + + background: BorderImage { + border.left: 2 + border.right: 2 + border.top: 2 + border.bottom: 2 + smooth: false + source: shutdown_button_2.pressed ? "button-pressed.svg" + : shutdown_button_2.hovered ? "button-hover.svg" + : shutdown_button_2.focus ? "button-hover.svg" + : "button.svg" + } + ColumnLayout { + id: shutdown_button_content_2 + anchors.centerIn: parent + spacing: 4 + Text { + color: "#000000" + text: "Cancel" + font.family: "Sans" + opacity: shutdown_button.enabled ? 1 : 0.5 + font.pixelSize: 12 + } + } + onClicked: sddm.powerOff() + } + ToolButton { + id: sessionbutton + Layout.preferredWidth: 80 + Layout.minimumWidth: 80 + Layout.preferredHeight: 30 + property int currentIndex: -1 + onClicked: sessionmenu.open() + + RowLayout { + anchors.centerIn: parent + spacing: 4 + Label { + Layout.fillWidth: true + + text: instantiator.objectAt(sessionbutton.currentIndex).text || "" + Layout.preferredWidth:50 + elide: Label.ElideRight + + font.family: "Liberation Sans" + font.pixelSize: 12 + color: "#000000" + } + Image { + fillMode: Image.PreserveAspectFit + source: "combo-indicator.svg" + } + } + background: BorderImage { + border.left: 2 + border.right: 2 + border.top: 2 + border.bottom: 2 + smooth: false + source: sessionbutton.pressed ? "button-pressed.svg" + : sessionbutton.hovered ? "button-hover.svg" + : sessionbutton.focus ? "button-hover.svg" + : "button.svg" + } + + + Component.onCompleted: { + currentIndex = sessionModel.lastIndex + if (username.text === "") + username.focus = true + else + password.focus = true + } + + QQC2.Menu { + id: sessionmenu + implicitWidth: 80 + Instantiator { + id: instantiator + model: sessionModel + onObjectAdded: function(index, object) {sessionmenu.insertItem(index, object)} + onObjectRemoved: function(index, object) {sessionmenu.removeItem(object)} + delegate: QQC2.MenuItem { + id: control + text: model.name + onTriggered: { + sessionbutton.currentIndex = model.index + } + } + } + + background: BorderImage { + border.left: 2 + border.right: 2 + border.top: 2 + border.bottom: 2 + smooth: false + source: "button.svg" + } + + } + } + + } + } + + } + + } + + + + } +} diff --git a/KDE/SDDM/Chicago95/main.qmlc b/KDE/SDDM/Chicago95/main.qmlc new file mode 100644 index 0000000..be5fc63 Binary files /dev/null and b/KDE/SDDM/Chicago95/main.qmlc differ diff --git a/KDE/SDDM/Chicago95/metadata.desktop b/KDE/SDDM/Chicago95/metadata.desktop new file mode 100644 index 0000000..8036fa3 --- /dev/null +++ b/KDE/SDDM/Chicago95/metadata.desktop @@ -0,0 +1,14 @@ +[SddmGreeterTheme] +Name=Chicago95 +Description=A Greeter inspired by Windows 95 +Author=Grassmunk +License=GPLv3 +Type=sddm-theme +Version=0.1 +Website= +Screenshot=preview.png +MainScript=main.qml +ConfigFile=theme.conf +Email= +Theme-Id=Chicago95 +Theme-API=2.0 diff --git a/KDE/SDDM/Chicago95/preview.png b/KDE/SDDM/Chicago95/preview.png new file mode 100644 index 0000000..2661c80 Binary files /dev/null and b/KDE/SDDM/Chicago95/preview.png differ diff --git a/KDE/SDDM/Chicago95/start.png b/KDE/SDDM/Chicago95/start.png new file mode 100644 index 0000000..b252cac Binary files /dev/null and b/KDE/SDDM/Chicago95/start.png differ diff --git a/KDE/SDDM/Chicago95/theme.conf b/KDE/SDDM/Chicago95/theme.conf new file mode 100644 index 0000000..5dae68f --- /dev/null +++ b/KDE/SDDM/Chicago95/theme.conf @@ -0,0 +1,2 @@ +[General] +background=