Files
euri-packages/packages/antergos-sddm-theme/Main.qml
T
c-ludenberg 85c8749c9c feat: add plasma theme, SDDM theme, wallpaper, Qt color configs, start menu icon; remove memes
This commit represents a major branding push for Antergos NeXT, adding
complete Plasma theming, fixing the SDDM login screen, expanding the
wallpaper collection, and removing inappropriate content.

NEW PACKAGES:

- antergos-plasma-theme: Complete KDE Plasma desktop theme suite
  (pkgrel=1). Contains:
  * antergos-dark/colors — full color scheme with Antergos brand blue
    (#2EA3F2) accent on dark (#232629) background, ported from Artix
    dark theme and fully rebranded
  * antergos-dark/metadata.json — theme metadata
  * antergos-dark/plasmarc — configures default wallpaper
    (antergos-wallpaper), contrast effect, and adaptive transparency
  * antergos-dark/icons/start.svgz — custom start menu button icon
    using the Antergos logo (blue circle + geometric mark). KDE Plasma
    loads the start menu icon from the theme's own icons/ directory
    (the 'default' theme provides fallbacks like start.svgz for all
    themes; any theme can override by placing its own start.svgz in its
    icons/ dir). This is the canonical way to set a distro-specific
    start button icon — NOT via the Freedesktop icon theme
    (start-here-*) or plasmarc [Icons] settings, which only affect
    system tray icons and KCM previews respectively. Source SVG from
    EliverLara/candy-icons (GPL-3.0).
  * antergosdark.desktop/ — look-and-feel package with:
    - contents/defaults — presets for color scheme, widget style, icons
    - contents/layouts/org.kde.plasma.desktop-layout.js — default panel
      layout with kickoff, pager, task manager, system tray, clock
    - contents/splash/Splash.qml — text-based splash screen showing
      'Antergos' + 'NeXT' with progress bar (no external image deps)

- antergos-sddm-theme: Rebuilt SDDM login manager theme from scratch
  (pkgrel=1). Fixes critical layout bugs in the Artix-origin theme:
  * Session and layout combo boxes moved to a separate bottom bar
    (anchored to parent.bottom) so they don't overlap the login card
  * Dropdown lists open UPWARD (anchors.bottom: container.top) to
    prevent overlapping other controls and the login form
  * Arrow icons (angle-up.png) flipped to point correct direction for
    upward-opening dropdowns
  * Built-in background.png (1920x1080 dark gradient) eliminates
    dependency on external wallpaper packages at SDDM time
  * Fixed deprecated QML Connections syntax
    (onCurrentLayoutChanged -> function onCurrentLayoutChanged())
  * theme.conf references local background.png
  * metadata.desktop with Antergos NeXT branding
  * Components: custom ComboBox.qml (upward dropdown with transparent
    arrow default), LayoutBox.qml (keyboard layout selector), qmldir
    (module definition)

UPDATED PACKAGES:

- antergos-next-desktop-settings (pkgrel 1->2):
  * Added Antergos-dark-qt5.conf — Qt5ct color scheme config so Qt5
    applications inherit the dark theme colors
  * Added Antergos-dark-qt6.conf — Qt6ct color scheme config for Qt6
    application compatibility
  * Enhanced kdeglobals with complete color sections:
    - [General]: ColorScheme=AntergosDark, font=Roboto,11,-1,5,50,0,0
    - [Icons]: Theme=breeze-dark
    - [KDE]: widgetStyle=Breeze, LookAndFeelPackage=antergosdark.desktop
    - [Colors:Button], [Colors:Selection], [Colors:View],
      [Colors:Window] with full fg/bg/alt/decoration values
  * Updated plasma-override to reference antergos-dark theme

- antergos-wallpapers (pkgrel 5->6):
  * Added antergos-darkest-hour.jpg — 'Darkest Hour' wallpaper from KDE
    Plasma 5.14 collection (GPL-2+, artist Risto Saukonpaa). Dark blue
    moody landscape at 2560x1600 with ~30% average brightness, ideal
    for dark-themed desktops. Installed as a separate KDE wallpaper
    entry (antergos-darkest-hour) with its own metadata.desktop so
    users can select it alongside the original brand wallpaper.
  * Also installed to /usr/share/backgrounds/antergos/ and
    /usr/share/antergos/backgrounds/ for non-KDE wallpaper pickers.

- packages.yaml: Added entries for antergos-plasma-theme and
  antergos-sddm-theme. Sorted alphabetically.

REMOVED PACKAGES:

- antergos-next-memes: Removed entirely. Contained
  'its-raining-tacos.opus' — an audio meme file (It's Raining Tacos)
  inappropriate for a serious distribution. Antergos NeXT aims to be a
  professional-quality EndeavourOS/Artix derivative, not a joke distro.
2026-07-04 21:04:40 +02:00

241 lines
7.9 KiB
QML

import QtQuick 2.14
import SddmComponents 2.0
import 'components'
Rectangle {
id: container
width: 640
height: 480
LayoutMirroring.enabled: Qt.locale().textDirection == Qt.RightToLeft
LayoutMirroring.childrenInherit: true
TextConstants { id: textConstants }
Connections {
target: sddm
function onLoginSucceeded() {
errorMessage.color = "#2EA3F2"
errorMessage.text = textConstants.loginSucceeded
}
function onLoginFailed() {
password.text = ""
errorMessage.color = "#ed1515"
errorMessage.text = textConstants.loginFailed
}
}
Background {
anchors.fill: parent
source: config.background
fillMode: Image.PreserveAspectCrop
onStatusChanged: {
if (status == Image.Error && source != config.defaultBackground) {
source = config.defaultBackground
}
}
}
Rectangle {
anchors.fill: parent
gradient: Gradient {
GradientStop { position: 0.0; color: "#661a1c21" }
GradientStop { position: 0.5; color: "#aa1a1c21" }
GradientStop { position: 1.0; color: "#ee0d0e12" }
}
Rectangle {
id: loginCard
anchors.centerIn: parent
anchors.verticalCenterOffset: -24
width: 360
height: cardColumn.implicitHeight + 40
radius: 16
color: "#232629"
border.color: "#3f4347"
border.width: 1
Column {
id: cardColumn
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
anchors.topMargin: 28
spacing: 16
width: parent.width - 40
Text {
text: "Antergos"
color: "#2EA3F2"
font.family: "Roboto"
font.weight: Font.Light
font.pointSize: 34
horizontalAlignment: Text.AlignHCenter
anchors.horizontalCenter: parent.horizontalCenter
}
Column {
width: parent.width
spacing: 10
TextBox {
id: name
width: parent.width
height: 40
text: userModel.lastUser
font.pixelSize: 14
color: "#1d1f21"
textColor: "#eff0f1"
focusColor: "#2EA3F2"
KeyNavigation.backtab: rebootButton
KeyNavigation.tab: password
Keys.onPressed: {
if (event.key === Qt.Key_Return || event.key === Qt.Key_Enter) {
sddm.login(name.text, password.text, sessionCombo.index)
event.accepted = true
}
}
}
PasswordBox {
id: password
width: parent.width
height: 40
font.pixelSize: 14
color: "#1d1f21"
textColor: "#eff0f1"
focusColor: "#2EA3F2"
KeyNavigation.backtab: name
KeyNavigation.tab: loginButton
Keys.onPressed: {
if (event.key === Qt.Key_Return || event.key === Qt.Key_Enter) {
sddm.login(name.text, password.text, sessionCombo.index)
event.accepted = true
}
}
}
}
Text {
id: errorMessage
width: parent.width
height: errorMessage.text ? 16 : 0
font.pixelSize: 12
horizontalAlignment: Text.AlignHCenter
visible: errorMessage.text !== ""
}
Button {
id: loginButton
anchors.horizontalCenter: parent.horizontalCenter
text: textConstants.login
color: "#2EA3F2"
textColor: "#ffffff"
activeColor: "#268acc"
pressedColor: "#1a6da0"
KeyNavigation.backtab: password
KeyNavigation.tab: shutdownButton
Keys.onPressed: {
if (event.key === Qt.Key_Return || event.key === Qt.Key_Enter) {
sddm.login(name.text, password.text, sessionCombo.index)
event.accepted = true
}
}
onClicked: sddm.login(name.text, password.text, sessionCombo.index)
}
Row {
spacing: 8
anchors.horizontalCenter: parent.horizontalCenter
Button {
id: shutdownButton
text: textConstants.shutdown
color: "#3f4347"
textColor: "#eff0f1"
activeColor: "#ed1515"
KeyNavigation.backtab: loginButton
KeyNavigation.tab: rebootButton
onClicked: sddm.powerOff()
}
Button {
id: rebootButton
text: textConstants.reboot
color: "#3f4347"
textColor: "#eff0f1"
activeColor: "#2EA3F2"
KeyNavigation.backtab: shutdownButton
KeyNavigation.tab: sessionCombo
onClicked: sddm.reboot()
}
}
}
}
Rectangle {
anchors {
bottom: parent.bottom
bottomMargin: 32
horizontalCenter: parent.horizontalCenter
}
width: 360
height: 44
radius: 12
color: "#1a1c21"
border.color: "#3f4347"
border.width: 1
Row {
anchors.centerIn: parent
spacing: 16
ComboBox {
id: sessionCombo
width: 140
height: 32
model: sessionModel
index: sessionModel.lastIndex
color: "#31363b"
textColor: "#eff0f1"
menuColor: "#232629"
focusColor: "#2EA3F2"
hoverColor: "#3f4347"
borderColor: "#3f4347"
arrowIcon: "angle-up.png"
arrowColor: "#8a8f9c"
font.pixelSize: 12
KeyNavigation.backtab: rebootButton
KeyNavigation.tab: layoutCombo
}
LayoutBox {
id: layoutCombo
width: 110
height: 32
color: "#31363b"
textColor: "#eff0f1"
hoverColor: "#3f4347"
menuColor: "#232629"
borderColor: "#3f4347"
focusColor: "#2EA3F2"
arrowIcon: "angle-up.png"
arrowColor: "#8a8f9c"
font.pixelSize: 12
KeyNavigation.backtab: sessionCombo
KeyNavigation.tab: name
}
}
}
}
Component.onCompleted: {
if (name.text == "")
name.focus = true
else
password.focus = true
}
}