diff --git a/files/sddm-i3-theme/LICENSE b/files/sddm-i3-theme/LICENSE deleted file mode 100644 index fa9ccc5..0000000 --- a/files/sddm-i3-theme/LICENSE +++ /dev/null @@ -1,16 +0,0 @@ - maya ----------------------------------------------------------------------- - -This theme follow the licencing policy of SDDM. - -1) All QML files are available under terms of the MIT License. - -2) The material design icons from https://design.google.com/icons/ - have been used in the theme. - These icon are available under the Creative Common Attribution 4.0 - International License (CC-BY 4.0). - -3) Open Sans Condensed font downloaded from Font Squirrel is available - under the Apache License version 2.0. - (https://www.fontsquirrel.com/license/open-sans-condensed) ----------------------------------------------------------------------- diff --git a/files/sddm-i3-theme/README b/files/sddm-i3-theme/README deleted file mode 100644 index 1ee5821..0000000 --- a/files/sddm-i3-theme/README +++ /dev/null @@ -1,31 +0,0 @@ -1. INTRODUCTION - - In Hindi, 'maya' refers to 'material wealth'. - - This is a simple 'material' inspired SDDM theme. - - -2. BACKGROUND - - While contributing new translations, I tried testing them on - my working Linux machine. But only few strings appeared to be - translated. - - Took some time, to discover that SDDM theme on my desktop was - not using strings from SDDM. Few other themes I tried, weren't - using all the strings. - - Necessity to test translations was the driving force behind - this theme. The 'material' inspiration helps in keeping focus - on original intent. - - -3. ACKNOWLEDGEMENTS - - 1. The basic theme and colors are material inspired. - - 2. Material Icons have been used from: - https://design.google.com/icons/ - - 3. Open Sans Condensed font from Font Squirrel. - https://www.fontsquirrel.com/ diff --git a/files/sddm-i3-theme/components/SpButton.qml b/files/sddm-i3-theme/components/SpButton.qml deleted file mode 100644 index 65c2577..0000000 --- a/files/sddm-i3-theme/components/SpButton.qml +++ /dev/null @@ -1,206 +0,0 @@ -// -// [maya] components/SpButton.qml -// -// Implements custom action button with label -// -// (c) 2016 Sanjeev Premi (spremi@ymail.com) -// -// SPDX-License-Identifier: MIT -// (https://spdx.org/licenses/MIT.html) -// - - -import QtQuick 2.0 - -Item { - id : sp_button - - property bool enabled : true - - property alias icon : sp_button_icon.source - property alias label : sp_button_label.text - property alias font : sp_button_label.font - - property color iconColor : "#aaaaaa" - property color labelColor : "#424242" - - property color hoverIconColor : "#cccccc" - property color hoverLabelColor : "#808080" - - property color pressIconColor : "#dcdcdc" - property color pressLabelColor : "#a0a0a0" - - property color disableColor : "#888888" - - signal pressed() - signal released() - signal clicked() - - Row { - x : 4 - y : 4 - - spacing : 8 - - Rectangle { - id : sp_button_bg - - width : 40 - height : 40 - - radius : 20 - - color : iconColor - - Image { - id : sp_button_icon - - width : 40 - height : 40 - - source : "./blank.svg" - - fillMode : Image.Pad - horizontalAlignment : Image.AlignHCenter - verticalAlignment : Image.AlignVCenter - } - } - - Text { - id : sp_button_label - - height : 40 - - text : "" - color : labelColor - - font.pixelSize : 24 - font.weight : Font.DemiBold - - fontSizeMode : Text.VerticalFit - horizontalAlignment : Text.AlignRight - verticalAlignment : Text.AlignVCenter - } - } - - - // - // States and associated visual attributes - // - states: [ - State { - name : "disabled" - when : (sp_button.enabled === false) - - PropertyChanges { - target : sp_button_bg - color : disableColor - } - - PropertyChanges { - target : sp_button_label - color : disableColor - } - - }, - State { - name : "hover" - - PropertyChanges { - target : sp_button_label - color : hoverLabelColor - } - - PropertyChanges { - target : sp_button_bg - color : hoverIconColor - } - }, - State { - name : "pressed" - - PropertyChanges { - target : sp_button_label - color : hoverLabelColor - } - - PropertyChanges { - target : sp_button_bg - color : pressIconColor - } - } - ] - - // - // Behavior on state transitions - // - transitions: [ - Transition { - from : "" - to : "hover" - - ColorAnimation { - duration: 250 - } - }, - Transition { - from : "" - to : "pressed" - - ColorAnimation { - duration: 25 - } - }, - Transition { - from : "disabled" - to : "enabled" - - ColorAnimation { - duration: 50 - } - }, - Transition { - from : "enabled" - to : "disabled" - - ColorAnimation { - duration: 50 - } - } - ] - - // - // Area to react to mouse actions - // - MouseArea { - anchors.fill : sp_button - - hoverEnabled : true - cursorShape : Qt.PointingHandCursor - acceptedButtons : Qt.LeftButton - - onEntered : { - sp_button.state = "hover" - } - - onExited : { - sp_button.state = "" - } - - onPressed : { - sp_button.state = "pressed" - } - - onClicked : { - sp_button.clicked() - } - - onReleased : { - if (containsMouse) { - sp_button.state = "hover" - } else { - sp_button.state = "" - } - } - } -} diff --git a/files/sddm-i3-theme/components/SpClock.qml b/files/sddm-i3-theme/components/SpClock.qml deleted file mode 100644 index e660976..0000000 --- a/files/sddm-i3-theme/components/SpClock.qml +++ /dev/null @@ -1,49 +0,0 @@ -// -// [maya] components/SpClock.qml -// -// Implements custom clock component -// -// (c) 2016 Sanjeev Premi (spremi@ymail.com) -// -// SPDX-License-Identifier: MIT -// (https://spdx.org/licenses/MIT.html) -// - - -import QtQuick 2.0 - - -Item { - id : sp_clock - - property date value : new Date() - - property color tColor : "white" - property alias tFont : sp_clock_text.font - - implicitWidth : sp_clock_text.implicitWidth - implicitHeight : sp_clock_text.implicitHeight - - - Timer { - interval : 100 - running : true - repeat : true; - onTriggered : sp_clock.value = new Date() - } - - Text { - id : sp_clock_text - - text : Qt.formatDateTime(sp_clock.value, "dddd, dd MMMM yyyy HH:mm AP") - - color : sp_clock.tColor - - font.pixelSize : 24 - - fontSizeMode : Text.VerticalFit - - horizontalAlignment : Text.AlignHCenter - verticalAlignment : Text.AlignVCenter - } -} diff --git a/files/sddm-i3-theme/fonts/OpenSans_CondLight.ttf b/files/sddm-i3-theme/fonts/OpenSans_CondLight.ttf deleted file mode 100644 index 97c355b..0000000 Binary files a/files/sddm-i3-theme/fonts/OpenSans_CondLight.ttf and /dev/null differ diff --git a/files/sddm-i3-theme/images/ic_arrow_drop_down_white_24px.svg b/files/sddm-i3-theme/images/ic_arrow_drop_down_white_24px.svg deleted file mode 100644 index f377a43..0000000 --- a/files/sddm-i3-theme/images/ic_arrow_drop_down_white_24px.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/files/sddm-i3-theme/images/ic_power_settings_new_white_24px.svg b/files/sddm-i3-theme/images/ic_power_settings_new_white_24px.svg deleted file mode 100644 index 5a2e5fd..0000000 --- a/files/sddm-i3-theme/images/ic_power_settings_new_white_24px.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/files/sddm-i3-theme/images/ic_refresh_white_24px.svg b/files/sddm-i3-theme/images/ic_refresh_white_24px.svg deleted file mode 100644 index 7a8d303..0000000 --- a/files/sddm-i3-theme/images/ic_refresh_white_24px.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/files/sddm-i3-theme/images/ic_warning_white_24px.svg b/files/sddm-i3-theme/images/ic_warning_white_24px.svg deleted file mode 100644 index d27ad14..0000000 --- a/files/sddm-i3-theme/images/ic_warning_white_24px.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/files/sddm-i3-theme/screenshots/hi_IN.png b/files/sddm-i3-theme/screenshots/hi_IN.png deleted file mode 100644 index 7fe1362..0000000 Binary files a/files/sddm-i3-theme/screenshots/hi_IN.png and /dev/null differ diff --git a/files/sddm-i3-theme/theme.nix b/files/sddm-i3-theme/theme.nix deleted file mode 100644 index 1c382c9..0000000 --- a/files/sddm-i3-theme/theme.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ lib, stdenv, fetchzip }: -stdenv.mkDerivation rec { - pname = "sddm-i3-theme"; - version = "1"; - - src = fetchzip { - url = "http://192.168.1.12/${pname}.tar.gz"; - hash = "sha256-587c+T7SflqYshPxRRcVD4xmY2pc4UBw+bYJQm04ZjU="; - }; - - installPhase = '' - mkdir -p $out/share/sddm/themes/${pname}/ - cp -r $src/* $out/share/sddm/themes/${pname}/ - ''; - - meta = { - license = lib.licenses.mit; - platforms = lib.platforms.linux; - }; -}