Files
euri-packages/packages/antergos-sddm-theme/components/LayoutBox.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

70 lines
2.3 KiB
QML

/***************************************************************************
* Copyright (c) 2013 Nikita Mikhaylov <nslqqq@gmail.com>
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
* OR OTHER DEALINGS IN THE SOFTWARE.
*
***************************************************************************/
import QtQuick 2.0
ComboBox {
id: combo
model: keyboard.layouts
index: keyboard.currentLayout
onValueChanged: keyboard.currentLayout = id
Connections {
target: keyboard
function onCurrentLayoutChanged() { combo.index = keyboard.currentLayout }
}
rowDelegate: Rectangle {
color: "transparent"
Image {
id: img
source: "/usr/share/sddm/flags/%1.png".arg(modelItem ? modelItem.modelData.shortName : "zz")
anchors.margins: 4
fillMode: Image.PreserveAspectFit
anchors.left: parent.left
anchors.top: parent.top
anchors.bottom: parent.bottom
}
Text {
anchors.margins: 4
anchors.left: img.right
anchors.top: parent.top
anchors.bottom: parent.bottom
color: '#eff0f1'
verticalAlignment: Text.AlignVCenter
text: modelItem ? modelItem.modelData.shortName : "zz"
font.pixelSize: 14
}
}
}