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.
This commit is contained in:
+9
-8
@@ -1,15 +1,16 @@
|
||||
packages:
|
||||
- antergos-lsb-release
|
||||
- antergos-release
|
||||
- antergos-wallpapers
|
||||
- yay
|
||||
- downgrade
|
||||
- antergos-next-desktop-settings
|
||||
- antergos-next-keyring
|
||||
- antergos-next-mirrorlist
|
||||
- antergos-next-desktop-settings
|
||||
- calamares-branding-antergos-next
|
||||
- antergos-plasma-theme
|
||||
- antergos-release
|
||||
- antergos-sddm-theme
|
||||
- antergos-wallpapers
|
||||
- antergos-welcome
|
||||
- antergos-grub-theme
|
||||
- antergos-live
|
||||
- antergos-next-memes
|
||||
- antergos-welcome
|
||||
- calamares
|
||||
- calamares-branding-antergos-next
|
||||
- downgrade
|
||||
- yay
|
||||
@@ -0,0 +1,4 @@
|
||||
[ColorScheme]
|
||||
active_colors=#ffe8e8e8, #ff2a2d2f, #ff383838, #ff353535, #ff282828, #ff313131, #ffcdcdcd, #fffafafa, #fffafafa, #ff1d1f21, #ff1a1c1e, #ffaba9a6, #ff2ea3f2, #fff9f9f9, #ff2ea3f2, #ffa70b06, #ff1d1f21, #ffcdcdcd, #ff3f3f36, #ffcdcdcd, #80fafafa
|
||||
disabled_colors=#ff808080, #ff2a2d2f, #ff383838, #ff353535, #ff282828, #ff313131, #ff808080, #fffafafa, #ff808080, #ff1d1f21, #ff1a1c1e, #ffaba9a6, #ff2ea3f2, #ff808080, #ff2ea3f2, #ffa70b06, #ff1d1f21, #ffcdcdcd, #ff3f3f36, #ffcdcdcd, #80fafafa
|
||||
inactive_colors=#ffe8e8e8, #ff2a2d2f, #ff383838, #ff353535, #ff282828, #ff313131, #ffcdcdcd, #fffafafa, #fffafafa, #ff1d1f21, #ff1a1c1e, #ffaba9a6, #ff2ea3f2, #fff9f9f9, #ff2ea3f2, #ffa70b06, #ff1d1f21, #ffcdcdcd, #ff3f3f36, #ffcdcdcd, #80fafafa
|
||||
@@ -0,0 +1,4 @@
|
||||
[ColorScheme]
|
||||
active_colors=#ffe8e8e8, #ff2a2d2f, #ff383838, #ff353535, #ff282828, #ff313131, #ffcdcdcd, #fffafafa, #fffafafa, #ff1d1f21, #ff1a1c1e, #ffaba9a6, #ff2ea3f2, #fff9f9f9, #ff2ea3f2, #ffa70b06, #ff1d1f21, #ffcdcdcd, #ff3f3f36, #ffcdcdcd, #80fafafa
|
||||
disabled_colors=#ff808080, #ff2a2d2f, #ff383838, #ff353535, #ff282828, #ff313131, #ff808080, #fffafafa, #ff808080, #ff1d1f21, #ff1a1c1e, #ffaba9a6, #ff2ea3f2, #ff808080, #ff2ea3f2, #ffa70b06, #ff1d1f21, #ffcdcdcd, #ff3f3f36, #ffcdcdcd, #80fafafa
|
||||
inactive_colors=#ffe8e8e8, #ff2a2d2f, #ff383838, #ff353535, #ff282828, #ff313131, #ffcdcdcd, #fffafafa, #fffafafa, #ff1d1f21, #ff1a1c1e, #ffaba9a6, #ff2ea3f2, #fff9f9f9, #ff2ea3f2, #ffa70b06, #ff1d1f21, #ffcdcdcd, #ff3f3f36, #ffcdcdcd, #80fafafa
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
pkgname=antergos-next-desktop-settings
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Antergos NeXT desktop settings, theme, and color scheme"
|
||||
arch=('any')
|
||||
url="https://github.com/Antergos-NeXT/antergos-pkgs"
|
||||
@@ -12,18 +12,22 @@ depends=(
|
||||
'breeze-gtk'
|
||||
'ttf-opensans'
|
||||
'noto-fonts'
|
||||
'ttf-roboto'
|
||||
)
|
||||
optdepends=('qt5ct' 'qt6ct')
|
||||
source=(
|
||||
"antergos-next-gtk3.css"
|
||||
"antergos-next-gtk4.css"
|
||||
"antergos-next-gtkrc"
|
||||
"antergos-next-index.theme"
|
||||
"AntergosNeXT.colors"
|
||||
"Antergos-dark-qt5.conf"
|
||||
"Antergos-dark-qt6.conf"
|
||||
"gtk-settings.ini"
|
||||
"xsettings.xml"
|
||||
"antergos-next-dconf"
|
||||
)
|
||||
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')
|
||||
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')
|
||||
|
||||
package() {
|
||||
# Custom GTK theme
|
||||
@@ -43,11 +47,126 @@ package() {
|
||||
install -dm755 "${pkgdir}/etc/skel/.config/gtk-3.0"
|
||||
install -m644 "${srcdir}/gtk-settings.ini" "${pkgdir}/etc/skel/.config/gtk-3.0/settings.ini"
|
||||
|
||||
# Qt5/Qt6 color configs (for Qt apps outside KDE)
|
||||
install -dm755 "${pkgdir}/usr/share/qt5ct/colors"
|
||||
install -dm755 "${pkgdir}/usr/share/qt6ct/colors"
|
||||
install -m644 "${srcdir}/Antergos-dark-qt5.conf" "${pkgdir}/usr/share/qt5ct/colors/Antergos-dark.conf"
|
||||
install -m644 "${srcdir}/Antergos-dark-qt6.conf" "${pkgdir}/usr/share/qt6ct/colors/Antergos-dark.conf"
|
||||
|
||||
# KDE defaults
|
||||
install -dm755 "${pkgdir}/etc/skel/.config"
|
||||
cat > "${pkgdir}/etc/skel/.config/kdeglobals" << 'EOF'
|
||||
[ColorEffects:Disabled]
|
||||
Color=112,111,110
|
||||
ColorAmount=0
|
||||
ColorEffect=0
|
||||
ContrastAmount=0.65
|
||||
ContrastEffect=1
|
||||
IntensityAmount=0.1
|
||||
IntensityEffect=1
|
||||
|
||||
[ColorEffects:Inactive]
|
||||
ChangeSelectionColor=true
|
||||
Color=112,111,110
|
||||
ColorAmount=0.025
|
||||
ColorEffect=2
|
||||
ContrastAmount=0.1
|
||||
ContrastEffect=2
|
||||
Enable=true
|
||||
IntensityAmount=0
|
||||
IntensityEffect=0
|
||||
|
||||
[Colors:Button]
|
||||
BackgroundAlternate=42,46,56
|
||||
BackgroundNormal=35,38,47
|
||||
DecorationFocus=46,163,242
|
||||
DecorationHover=46,163,242
|
||||
ForegroundActive=46,163,242
|
||||
ForegroundInactive=149,155,174
|
||||
ForegroundLink=46,163,242
|
||||
ForegroundNegative=218,68,83
|
||||
ForegroundNeutral=230,181,61
|
||||
ForegroundNormal=207,210,220
|
||||
ForegroundPositive=73,195,137
|
||||
ForegroundVisited=46,163,242
|
||||
|
||||
[Colors:Selection]
|
||||
BackgroundAlternate=46,163,242
|
||||
BackgroundNormal=46,163,242
|
||||
DecorationFocus=46,163,242
|
||||
DecorationHover=46,163,242
|
||||
ForegroundActive=255,255,255
|
||||
ForegroundInactive=207,210,220
|
||||
ForegroundLink=46,163,242
|
||||
ForegroundNegative=218,68,83
|
||||
ForegroundNeutral=230,181,61
|
||||
ForegroundNormal=255,255,255
|
||||
ForegroundPositive=73,195,137
|
||||
ForegroundVisited=46,163,242
|
||||
|
||||
[Colors:View]
|
||||
BackgroundAlternate=42,46,56
|
||||
BackgroundNormal=31,34,42
|
||||
DecorationFocus=46,163,242
|
||||
DecorationHover=46,163,242
|
||||
ForegroundActive=46,163,242
|
||||
ForegroundInactive=149,155,174
|
||||
ForegroundLink=46,163,242
|
||||
ForegroundNegative=218,68,83
|
||||
ForegroundNeutral=230,181,61
|
||||
ForegroundNormal=207,210,220
|
||||
ForegroundPositive=73,195,137
|
||||
ForegroundVisited=46,163,242
|
||||
|
||||
[Colors:Window]
|
||||
BackgroundAlternate=42,46,56
|
||||
BackgroundNormal=35,38,47
|
||||
DecorationFocus=46,163,242
|
||||
DecorationHover=46,163,242
|
||||
ForegroundActive=46,163,242
|
||||
ForegroundInactive=149,155,174
|
||||
ForegroundLink=46,163,242
|
||||
ForegroundNegative=218,68,83
|
||||
ForegroundNeutral=230,181,61
|
||||
ForegroundNormal=207,210,220
|
||||
ForegroundPositive=73,195,137
|
||||
ForegroundVisited=46,163,242
|
||||
|
||||
[General]
|
||||
ColorScheme=Antergos NeXT
|
||||
ColorScheme=AntergosDark
|
||||
Name=Antergos-dark
|
||||
XftAntialias=true
|
||||
XftHintStyle=hintfull
|
||||
XftSubPixel=rgb
|
||||
fixed=Roboto Mono,11,-1,5,50,0,0,0,0,0,Regular
|
||||
font=Roboto,11,-1,5,50,0,0,0,0,0,Regular
|
||||
menuFont=Roboto,11,-1,5,50,0,0,0,0,0,Regular
|
||||
shadeSortColumn=true
|
||||
smallestReadableFont=Roboto,11,-1,5,50,0,0,0,0,0,Regular
|
||||
toolBarFont=Roboto,11,-1,5,50,0,0,0,0,0,Regular
|
||||
widgetStyle=Breeze
|
||||
|
||||
[Icons]
|
||||
Theme=breeze-dark
|
||||
|
||||
[KDE]
|
||||
ColorScheme=AntergosDark
|
||||
LookAndFeelPackage=antergosdark.desktop
|
||||
ShowIconsInMenuItems=true
|
||||
ShowIconsOnPushButtons=true
|
||||
SingleClick=false
|
||||
contrast=0
|
||||
frameContrast=0.2
|
||||
widgetStyle=Breeze
|
||||
|
||||
[WM]
|
||||
activeBackground=45,45,45
|
||||
activeBlend=45,45,45
|
||||
activeFont=Roboto,11,-1,5,50,0,0,0,0,0,Regular
|
||||
activeForeground=255,255,255
|
||||
inactiveBackground=53,53,53
|
||||
inactiveBlend=53,53,53
|
||||
inactiveForeground=155,155,155
|
||||
EOF
|
||||
|
||||
# XFCE defaults
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
[Theme]
|
||||
name=Antergos NeXT
|
||||
name=antergos-dark
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
# Maintainer: Celestia Ludenberg <ash8820@proton.me>
|
||||
|
||||
pkgname=antergos-next-memes
|
||||
pkgver=1.0
|
||||
pkgrel=1
|
||||
pkgdesc="Antergos NeXT welcome audio"
|
||||
arch=('any')
|
||||
url="https://github.com/Antergos-NeXT"
|
||||
license=('custom:fairuse')
|
||||
depends=()
|
||||
source=("its-raining-tacos.opus")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
package() {
|
||||
install -dm755 "${pkgdir}/usr/share/antergos-next-memes"
|
||||
cp "its-raining-tacos.opus" "${pkgdir}/usr/share/antergos-next-memes/"
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,40 @@
|
||||
# Maintainer: Celestia Ludenberg <ash8820@proton.me>
|
||||
|
||||
pkgname=antergos-plasma-theme
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgdesc='Antergos NeXT Plasma desktop theme, look-and-feel, and splash screen'
|
||||
arch=('any')
|
||||
url="https://github.com/Antergos-NeXT/antergos-packages"
|
||||
license=('GPL')
|
||||
depends=('plasma-desktop' 'antergos-wallpapers')
|
||||
groups=('antergos-branding' 'antergos-style')
|
||||
optdepends=('qt5ct' 'qt6ct')
|
||||
source=(
|
||||
"antergos-dark/colors"
|
||||
"antergos-dark/metadata.json"
|
||||
"antergos-dark/plasmarc"
|
||||
"antergosdark.desktop/metadata.json"
|
||||
"antergosdark.desktop/contents/defaults"
|
||||
"antergosdark.desktop/contents/layouts/org.kde.plasma.desktop-layout.js"
|
||||
"antergosdark.desktop/contents/splash/Splash.qml"
|
||||
)
|
||||
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')
|
||||
|
||||
package() {
|
||||
# Plasma Desktop Theme
|
||||
install -dm755 "${pkgdir}/usr/share/plasma/desktoptheme/antergos-dark"
|
||||
install -m644 "${srcdir}/antergos-dark/colors" "${pkgdir}/usr/share/plasma/desktoptheme/antergos-dark/"
|
||||
install -m644 "${srcdir}/antergos-dark/metadata.json" "${pkgdir}/usr/share/plasma/desktoptheme/antergos-dark/"
|
||||
install -m644 "${srcdir}/antergos-dark/plasmarc" "${pkgdir}/usr/share/plasma/desktoptheme/antergos-dark/"
|
||||
|
||||
# Look-and-Feel
|
||||
install -dm755 "${pkgdir}/usr/share/plasma/look-and-feel/antergosdark.desktop"
|
||||
install -m644 "${srcdir}/antergosdark.desktop/metadata.json" "${pkgdir}/usr/share/plasma/look-and-feel/antergosdark.desktop/"
|
||||
install -dm755 "${pkgdir}/usr/share/plasma/look-and-feel/antergosdark.desktop/contents"
|
||||
install -m644 "${srcdir}/antergosdark.desktop/contents/defaults" "${pkgdir}/usr/share/plasma/look-and-feel/antergosdark.desktop/contents/"
|
||||
install -dm755 "${pkgdir}/usr/share/plasma/look-and-feel/antergosdark.desktop/contents/layouts"
|
||||
install -m644 "${srcdir}/antergosdark.desktop/contents/layouts/org.kde.plasma.desktop-layout.js" "${pkgdir}/usr/share/plasma/look-and-feel/antergosdark.desktop/contents/layouts/"
|
||||
install -dm755 "${pkgdir}/usr/share/plasma/look-and-feel/antergosdark.desktop/contents/splash"
|
||||
install -m644 "${srcdir}/antergosdark.desktop/contents/splash/Splash.qml" "${pkgdir}/usr/share/plasma/look-and-feel/antergosdark.desktop/contents/splash/"
|
||||
}
|
||||
@@ -0,0 +1,122 @@
|
||||
[ColorEffects:Disabled]
|
||||
Color=112,111,110
|
||||
ColorAmount=0
|
||||
ColorEffect=0
|
||||
ContrastAmount=0.65
|
||||
ContrastEffect=1
|
||||
IntensityAmount=0.1
|
||||
IntensityEffect=1
|
||||
|
||||
[ColorEffects:Inactive]
|
||||
ChangeSelectionColor=true
|
||||
Color=112,111,110
|
||||
ColorAmount=0.025
|
||||
ColorEffect=2
|
||||
ContrastAmount=0.1
|
||||
ContrastEffect=2
|
||||
Enable=true
|
||||
IntensityAmount=0
|
||||
IntensityEffect=0
|
||||
|
||||
[Colors:Button]
|
||||
BackgroundAlternate=66,66,66
|
||||
BackgroundNormal=53,53,53
|
||||
DecorationFocus=46,163,242
|
||||
DecorationHover=46,163,242
|
||||
ForegroundActive=46,163,242
|
||||
ForegroundInactive=160,160,160
|
||||
ForegroundLink=46,163,242
|
||||
ForegroundNegative=182,0,0
|
||||
ForegroundNeutral=255,221,0
|
||||
ForegroundNormal=245,245,245
|
||||
ForegroundPositive=88,175,88
|
||||
ForegroundVisited=199,79,79
|
||||
|
||||
[Colors:Complementary]
|
||||
BackgroundAlternate=50,50,50
|
||||
BackgroundNormal=35,35,35
|
||||
DecorationFocus=46,163,242
|
||||
DecorationHover=46,163,242
|
||||
ForegroundActive=46,163,242
|
||||
ForegroundInactive=175,176,179
|
||||
ForegroundLink=61,174,230
|
||||
ForegroundNegative=237,21,21
|
||||
ForegroundNeutral=201,206,59
|
||||
ForegroundNormal=218,218,218
|
||||
ForegroundPositive=17,209,22
|
||||
ForegroundVisited=61,174,230
|
||||
|
||||
[Colors:Selection]
|
||||
BackgroundAlternate=10,46,86
|
||||
BackgroundNormal=24,72,128
|
||||
DecorationFocus=76,76,76
|
||||
DecorationHover=63,63,63
|
||||
ForegroundActive=46,163,242
|
||||
ForegroundInactive=160,160,160
|
||||
ForegroundLink=38,155,193
|
||||
ForegroundNegative=182,0,0
|
||||
ForegroundNeutral=181,157,0
|
||||
ForegroundNormal=247,247,247
|
||||
ForegroundPositive=91,181,91
|
||||
ForegroundVisited=199,79,79
|
||||
|
||||
[Colors:Tooltip]
|
||||
BackgroundAlternate=42,42,42
|
||||
BackgroundNormal=26,26,26
|
||||
DecorationFocus=76,76,76
|
||||
DecorationHover=63,63,63
|
||||
ForegroundActive=46,163,242
|
||||
ForegroundInactive=170,170,170
|
||||
ForegroundLink=35,146,180
|
||||
ForegroundNegative=171,0,0
|
||||
ForegroundNeutral=162,140,0
|
||||
ForegroundNormal=244,244,244
|
||||
ForegroundPositive=83,165,83
|
||||
ForegroundVisited=199,79,79
|
||||
|
||||
[Colors:View]
|
||||
BackgroundAlternate=42,42,42
|
||||
BackgroundNormal=48,48,49
|
||||
DecorationFocus=76,76,76
|
||||
DecorationHover=86,86,86
|
||||
ForegroundActive=46,163,242
|
||||
ForegroundInactive=160,160,160
|
||||
ForegroundLink=250,250,250
|
||||
ForegroundNegative=163,0,0
|
||||
ForegroundNeutral=166,144,0
|
||||
ForegroundNormal=255,255,255
|
||||
ForegroundPositive=75,149,75
|
||||
ForegroundVisited=182,73,73
|
||||
|
||||
[Colors:Window]
|
||||
BackgroundAlternate=42,42,42
|
||||
BackgroundNormal=50,49,49
|
||||
DecorationFocus=76,76,76
|
||||
DecorationHover=86,86,86
|
||||
ForegroundActive=46,163,242
|
||||
ForegroundInactive=160,160,160
|
||||
ForegroundLink=35,145,179
|
||||
ForegroundNegative=255,0,0
|
||||
ForegroundNeutral=235,204,0
|
||||
ForegroundNormal=249,249,249
|
||||
ForegroundPositive=111,221,111
|
||||
ForegroundVisited=255,101,101
|
||||
|
||||
[General]
|
||||
ColorScheme=AntergosDark
|
||||
Name=Antergos Dark
|
||||
shadeSortColumn=true
|
||||
|
||||
[Icons]
|
||||
Theme=breeze-dark
|
||||
|
||||
[KDE]
|
||||
contrast=2
|
||||
|
||||
[WM]
|
||||
activeBackground=45,45,45
|
||||
activeBlend=45,45,45
|
||||
activeForeground=255,255,255
|
||||
inactiveBackground=53,53,53
|
||||
inactiveBlend=53,53,53
|
||||
inactiveForeground=155,155,155
|
||||
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"KPlugin": {
|
||||
"Authors": [
|
||||
{
|
||||
"Email": "ash8820@proton.me",
|
||||
"Name": "Antergos NeXT"
|
||||
}
|
||||
],
|
||||
"Category": "",
|
||||
"Description": "Antergos NeXT dark Plasma theme",
|
||||
"EnabledByDefault": true,
|
||||
"Id": "antergos-dark",
|
||||
"License": "LGPL",
|
||||
"Name": "Antergos Dark",
|
||||
"Version": "1.0.0",
|
||||
"Website": "https://github.com/Antergos-NeXT"
|
||||
},
|
||||
"X-Plasma-API": "5.0"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
[Wallpaper]
|
||||
defaultWallpaperTheme=antergos-wallpaper
|
||||
defaultFileSuffix=.png
|
||||
defaultWidth=1920
|
||||
defaultHeight=1080
|
||||
|
||||
[ContrastEffect]
|
||||
nabled=true
|
||||
contrast=0.2
|
||||
intensity=0.6
|
||||
saturation=10
|
||||
|
||||
[AdaptiveTransparency]
|
||||
enabled=true
|
||||
@@ -0,0 +1,24 @@
|
||||
[kdeglobals][General]
|
||||
ColorScheme=AntergosDark
|
||||
|
||||
[kdeglobals][Icons]
|
||||
Theme=breeze-dark
|
||||
|
||||
[kdeglobals][KDE]
|
||||
widgetStyle=Breeze
|
||||
|
||||
[plasmarc][Theme]
|
||||
name=antergos-dark
|
||||
|
||||
[Wallpaper]
|
||||
Image=antergos-wallpaper
|
||||
|
||||
[kwinrc][DesktopSwitcher]
|
||||
LayoutName=org.kde.breeze.desktop
|
||||
|
||||
[kwinrc][WindowSwitcher]
|
||||
LayoutName=org.kde.breeze.desktop
|
||||
|
||||
[kwinrc][org.kde.kdecoration2]
|
||||
library=org.kde.breeze
|
||||
theme=Breeze
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
loadTemplate("org.kde.plasma.desktop.defaultPanel")
|
||||
|
||||
var desktopsArray = desktopsForActivity(currentActivity());
|
||||
for( var j = 0; j < desktopsArray.length; j++) {
|
||||
desktopsArray[j].wallpaperPlugin = 'org.kde.image';
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
import QtQuick
|
||||
|
||||
Image {
|
||||
id: root
|
||||
source: "images/background.png"
|
||||
|
||||
property int stage
|
||||
|
||||
onStageChanged: {
|
||||
if (stage == 1) {
|
||||
introAnimation.running = true
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
id: overlay
|
||||
color: "#cc1a1c21"
|
||||
anchors.fill: parent
|
||||
}
|
||||
|
||||
Text {
|
||||
id: logoText
|
||||
text: "Antergos"
|
||||
color: "#2EA3F2"
|
||||
font.family: "Roboto"
|
||||
font.weight: Font.Light
|
||||
font.pointSize: 48
|
||||
anchors.centerIn: parent
|
||||
anchors.verticalCenterOffset: -40
|
||||
}
|
||||
|
||||
Text {
|
||||
id: subtitleText
|
||||
text: "NeXT"
|
||||
color: "#eff0f1"
|
||||
font.family: "Roboto"
|
||||
font.weight: Font.Thin
|
||||
font.pointSize: 24
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.top: logoText.bottom
|
||||
anchors.topMargin: 4
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
id: progressBarBg
|
||||
radius: 2
|
||||
color: "#3f4347"
|
||||
anchors {
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
top: subtitleText.bottom
|
||||
topMargin: 40
|
||||
}
|
||||
height: 4
|
||||
width: 200
|
||||
|
||||
Rectangle {
|
||||
id: progressBar
|
||||
radius: 2
|
||||
color: "#2EA3F2"
|
||||
anchors {
|
||||
left: parent.left
|
||||
top: parent.top
|
||||
bottom: parent.bottom
|
||||
}
|
||||
width: (parent.width / 6) * (stage - 1)
|
||||
Behavior on width {
|
||||
PropertyAnimation {
|
||||
duration: 250
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
SequentialAnimation {
|
||||
id: introAnimation
|
||||
running: false
|
||||
|
||||
ParallelAnimation {
|
||||
PropertyAnimation {
|
||||
property: "opacity"
|
||||
target: logoText
|
||||
from: 0
|
||||
to: 1
|
||||
duration: 800
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
PropertyAnimation {
|
||||
property: "opacity"
|
||||
target: subtitleText
|
||||
from: 0
|
||||
to: 1
|
||||
duration: 800
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"KPackageStructure": "Plasma/LookAndFeel",
|
||||
"KPlugin": {
|
||||
"Authors": [
|
||||
{
|
||||
"Email": "ash8820@proton.me",
|
||||
"Name": "Antergos NeXT"
|
||||
}
|
||||
],
|
||||
"Category": "",
|
||||
"Description": "Antergos Dark look-and-feel by Antergos NeXT",
|
||||
"Id": "antergosdark.desktop",
|
||||
"License": "GPLv2+",
|
||||
"Name": "Antergos Dark",
|
||||
"Website": "https://github.com/Antergos-NeXT"
|
||||
},
|
||||
"X-Plasma-API": "5.0"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- Generator: Gravit.io --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="0 0 48 48" width="48pt" height="48pt"><linearGradient id="_lgradient_14" x1="-0.000038208333333289435" y1="0.5000000833333331" x2="0.9999618333333335" y2="0.5000000833333331" gradientTransform="matrix(43.002,0,0,43.004,2.499,2.5)" gradientUnits="userSpaceOnUse"><stop offset="0%" stop-opacity="1" style="stop-color:rgb(0,198,255)"/><stop offset="98.69565217391305%" stop-opacity="1" style="stop-color:rgb(0,114,255)"/></linearGradient><path d=" M 24 5.5 C 24.88 5.53 25.75 5.75 26.54 6.14 C 27.65 6.67 28.68 7.33 29.61 8.12 C 30.75 9.06 31.82 10.1 32.79 11.21 C 33.88 12.45 34.9 13.75 35.83 15.1 C 37.76 17.87 39.37 20.84 40.63 23.97 C 41.2 25.37 41.67 26.81 42.02 28.28 C 42.32 29.5 42.48 30.76 42.5 32.02 C 42.51 33.2 42.33 34.37 41.96 35.48 C 41.65 36.39 41.18 37.24 40.57 37.97 C 39.97 38.69 39.25 39.3 38.46 39.8 C 37.61 40.33 36.71 40.76 35.76 41.08 C 34.76 41.43 33.73 41.7 32.69 41.89 C 31.65 42.09 30.59 42.23 29.54 42.32 C 27.69 42.46 25.85 42.52 24 42.5 C 22.15 42.52 20.31 42.46 18.46 42.32 C 17.41 42.23 16.35 42.09 15.31 41.89 C 14.27 41.7 13.24 41.43 12.24 41.08 C 11.29 40.76 10.39 40.33 9.54 39.8 C 8.75 39.3 8.03 38.69 7.43 37.97 C 6.82 37.24 6.35 36.39 6.04 35.48 C 5.67 34.37 5.49 33.2 5.5 32.02 C 5.52 30.76 5.68 29.5 5.98 28.28 C 6.33 26.81 6.8 25.37 7.37 23.97 C 8.63 20.84 10.24 17.87 12.17 15.1 C 13.1 13.75 14.12 12.45 15.21 11.21 C 16.18 10.1 17.25 9.06 18.39 8.12 C 19.32 7.33 20.35 6.67 21.45 6.14 C 22.25 5.75 23.11 5.53 24 5.5 L 24 5.5 Z M 24 2.5 C 25.34 2.53 26.67 2.85 27.87 3.45 C 29.18 4.08 30.41 4.88 31.53 5.82 C 32.79 6.86 33.97 8 35.05 9.23 C 36.21 10.55 37.3 11.94 38.3 13.4 C 40.35 16.34 42.07 19.51 43.41 22.84 C 44.04 24.38 44.55 25.96 44.93 27.57 C 45.29 29.01 45.48 30.49 45.5 31.98 C 45.52 33.5 45.28 35 44.81 36.44 C 44.38 37.7 43.72 38.87 42.87 39.9 C 42.06 40.86 41.11 41.68 40.05 42.34 C 39.01 42.99 37.9 43.52 36.74 43.92 C 35.6 44.31 34.43 44.62 33.24 44.84 C 32.09 45.06 30.94 45.21 29.78 45.31 C 27.85 45.46 25.93 45.52 24 45.5 C 22.07 45.52 20.15 45.46 18.22 45.31 C 17.06 45.21 15.91 45.06 14.76 44.84 C 13.57 44.62 12.4 44.31 11.26 43.92 C 10.1 43.52 8.99 42.99 7.95 42.34 C 6.89 41.68 5.94 40.86 5.13 39.9 C 4.28 38.87 3.62 37.7 3.19 36.44 C 2.72 35 2.48 33.5 2.5 31.98 C 2.52 30.49 2.71 29.01 3.07 27.57 C 3.45 25.96 3.96 24.38 4.59 22.84 C 5.93 19.51 7.65 16.34 9.7 13.4 C 10.7 11.94 11.79 10.55 12.96 9.23 C 14.03 8 15.21 6.86 16.47 5.82 C 17.59 4.88 18.82 4.08 20.14 3.44 C 21.34 2.85 22.66 2.53 24 2.5 L 24 2.5 Z M 24.066 13 C 24.025 13.004 23.988 13.022 23.959 13.051 C 20.709 16.184 16.929 18.329 13.232 19.505 C 13.19 19.519 13.154 19.547 13.132 19.586 C 12.553 20.578 12.19 22.057 12.056 23.606 C 11.922 25.154 12.02 26.77 12.396 28.028 C 12.413 28.085 12.458 28.13 12.515 28.148 C 12.572 28.165 12.634 28.153 12.681 28.116 C 15.334 25.963 21.365 23.314 25.331 13.247 C 25.353 13.191 25.346 13.128 25.312 13.079 C 25.278 13.029 25.222 13 25.163 13 L 24.083 13 C 24.077 13 24.071 13 24.065 13 L 24.066 13 L 24.066 13 Z M 27.314 13.36 C 27.234 13.364 27.166 13.421 27.148 13.499 C 25.204 21.758 22.921 29.679 17.484 34.699 C 17.447 34.733 17.426 34.781 17.425 34.831 C 17.425 34.881 17.445 34.929 17.482 34.964 C 19.616 36.958 22.731 37.275 26.267 36.814 C 26.331 36.806 26.385 36.764 26.41 36.705 C 30.329 27.445 30.027 19.163 27.488 13.469 C 27.457 13.4 27.388 13.358 27.314 13.362 L 27.314 13.36 L 27.314 13.36 Z M 30.545 14.804 C 30.484 14.809 30.431 14.845 30.403 14.899 C 30.374 14.952 30.375 15.017 30.404 15.07 C 33.307 20.563 33.772 26.423 33.98 31.95 C 33.983 32.038 34.049 32.11 34.136 32.122 C 34.223 32.133 34.305 32.081 34.332 31.997 C 35.143 29.416 36.144 26.739 35.982 23.89 C 35.82 21.04 34.479 18.038 30.677 14.847 C 30.645 14.819 30.604 14.804 30.562 14.804 C 30.556 14.803 30.55 14.803 30.545 14.804 L 30.545 14.804 L 30.545 14.804 Z " fill-rule="evenodd" fill="url(#_lgradient_14)"/></svg>
|
||||
|
After Width: | Height: | Size: 4.0 KiB |
@@ -0,0 +1,240 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
# Maintainer: Celestia Ludenberg <ash8820@proton.me>
|
||||
|
||||
pkgname=antergos-sddm-theme
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgdesc='Antergos NeXT SDDM theme'
|
||||
arch=('any')
|
||||
url="https://github.com/Antergos-NeXT/antergos-packages"
|
||||
license=('GPL')
|
||||
depends=('sddm' 'qt5-declarative' 'antergos-wallpapers')
|
||||
source=(
|
||||
"Main.qml"
|
||||
"metadata.desktop"
|
||||
"theme.conf"
|
||||
"angle-up.png"
|
||||
"background.png"
|
||||
"components/ComboBox.qml"
|
||||
"components/LayoutBox.qml"
|
||||
"components/qmldir"
|
||||
)
|
||||
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')
|
||||
|
||||
package() {
|
||||
install -dm755 "${pkgdir}/usr/share/sddm/themes/antergos"
|
||||
install -dm755 "${pkgdir}/usr/share/sddm/themes/antergos/components"
|
||||
install -m644 "${srcdir}/Main.qml" "${pkgdir}/usr/share/sddm/themes/antergos/"
|
||||
install -m644 "${srcdir}/metadata.desktop" "${pkgdir}/usr/share/sddm/themes/antergos/"
|
||||
install -m644 "${srcdir}/theme.conf" "${pkgdir}/usr/share/sddm/themes/antergos/"
|
||||
install -m644 "${srcdir}/angle-up.png" "${pkgdir}/usr/share/sddm/themes/antergos/"
|
||||
install -m644 "${srcdir}/background.png" "${pkgdir}/usr/share/sddm/themes/antergos/"
|
||||
install -m644 "${srcdir}/components/ComboBox.qml" "${pkgdir}/usr/share/sddm/themes/antergos/components/"
|
||||
install -m644 "${srcdir}/components/LayoutBox.qml" "${pkgdir}/usr/share/sddm/themes/antergos/components/"
|
||||
install -m644 "${srcdir}/components/qmldir" "${pkgdir}/usr/share/sddm/themes/antergos/components/"
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.6 KiB |
@@ -0,0 +1,259 @@
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2013 Abdurrahman AVCI <abdurrahmanavci@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
|
||||
|
||||
FocusScope {
|
||||
id: container
|
||||
width: 80; height: 30
|
||||
|
||||
property color color: "white"
|
||||
property color borderColor: "#ababab"
|
||||
property color focusColor: "#266294"
|
||||
property color hoverColor: "#5692c4"
|
||||
property color menuColor: "white"
|
||||
property color textColor: "black"
|
||||
|
||||
property int borderWidth: 1
|
||||
property font font
|
||||
property alias model: listView.model
|
||||
property int index: 0
|
||||
property alias arrowColor: arrow.color
|
||||
property alias arrowIcon: arrowIcon.source
|
||||
|
||||
property Component rowDelegate: defaultRowDelegate
|
||||
|
||||
signal valueChanged(int id)
|
||||
|
||||
Component {
|
||||
id: defaultRowDelegate
|
||||
Text {
|
||||
anchors.fill: parent
|
||||
anchors.margins: 3 + container.borderWidth + (LayoutMirroring.enabled ? arrow.width : 0)
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
color: container.textColor
|
||||
font: container.font
|
||||
|
||||
text: parent.modelItem.name
|
||||
}
|
||||
}
|
||||
|
||||
onFocusChanged: if (!container.activeFocus) close(false)
|
||||
|
||||
Rectangle {
|
||||
id: main
|
||||
|
||||
anchors.fill: parent
|
||||
|
||||
color: container.color
|
||||
border.color: container.borderColor
|
||||
border.width: container.borderWidth
|
||||
|
||||
Behavior on border.color { ColorAnimation { duration: 100 } }
|
||||
|
||||
states: [
|
||||
State {
|
||||
name: "hover"; when: mouseArea.containsMouse
|
||||
PropertyChanges { target: main; border.width: container.borderWidth; border.color: container.hoverColor }
|
||||
},
|
||||
State {
|
||||
name: "focus"; when: container.activeFocus && !mouseArea.containsMouse
|
||||
PropertyChanges { target: main; border.width: container.borderWidth; border.color: container.focusColor }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loader {
|
||||
id: topRow
|
||||
anchors.fill: parent
|
||||
focus: true
|
||||
clip: true
|
||||
|
||||
sourceComponent: rowDelegate
|
||||
property variant modelItem
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
id: arrow
|
||||
anchors.right: parent.right
|
||||
width: 20 + 2*border.width; height: parent.height
|
||||
color: "transparent"
|
||||
|
||||
border.color: main.border.color
|
||||
border.width: main.border.width
|
||||
|
||||
Image {
|
||||
id: arrowIcon
|
||||
anchors.fill: parent
|
||||
anchors.leftMargin: parent.border.width
|
||||
anchors.rightMargin: parent.border.width
|
||||
clip: true
|
||||
smooth: true
|
||||
fillMode: Image.PreserveAspectFit
|
||||
}
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
id: mouseArea
|
||||
anchors.fill: container
|
||||
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
|
||||
hoverEnabled: true
|
||||
|
||||
onEntered: if (main.state == "") main.state = "hover";
|
||||
onExited: if (main.state == "hover") main.state = "";
|
||||
onClicked: { container.focus = true; toggle() }
|
||||
onWheel: {
|
||||
if (wheel.angleDelta.y > 0)
|
||||
listView.decrementCurrentIndex()
|
||||
else
|
||||
listView.incrementCurrentIndex()
|
||||
}
|
||||
}
|
||||
|
||||
Keys.onPressed: {
|
||||
if (event.key === Qt.Key_Up) {
|
||||
listView.decrementCurrentIndex()
|
||||
} else if (event.key === Qt.Key_Down) {
|
||||
if (event.modifiers !== Qt.AltModifier)
|
||||
listView.incrementCurrentIndex()
|
||||
else
|
||||
toggle()
|
||||
} else if (event.key === Qt.Key_Enter || event.key === Qt.Key_Return) {
|
||||
close(true)
|
||||
} else if (event.key === Qt.Key_Escape) {
|
||||
close(false)
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
id: dropDown
|
||||
width: container.width; height: 0
|
||||
anchors.bottom: container.top
|
||||
anchors.bottomMargin: 0
|
||||
|
||||
color: container.menuColor
|
||||
|
||||
clip: true
|
||||
|
||||
Behavior on height { NumberAnimation { duration: 100 } }
|
||||
|
||||
Component {
|
||||
id: myDelegate
|
||||
|
||||
Rectangle {
|
||||
width: dropDown.width; height: container.height - 2*container.borderWidth
|
||||
color: "transparent"
|
||||
|
||||
Loader {
|
||||
id: loader
|
||||
anchors.fill: parent
|
||||
sourceComponent: rowDelegate
|
||||
|
||||
property variant modelItem: model
|
||||
}
|
||||
|
||||
property variant modelItem: model
|
||||
|
||||
MouseArea {
|
||||
id: delegateMouseArea
|
||||
anchors.fill: parent
|
||||
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
|
||||
hoverEnabled: true
|
||||
onEntered: listView.currentIndex = index
|
||||
onClicked: close(true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ListView {
|
||||
id: listView
|
||||
width: container.width; height: (container.height - 2*container.borderWidth) * count + container.borderWidth
|
||||
delegate: myDelegate
|
||||
highlight: Rectangle {
|
||||
anchors.horizontalCenter: parent ? parent.horizontalCenter : undefined;
|
||||
color: container.hoverColor
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: listView
|
||||
anchors.bottomMargin: -container.borderWidth
|
||||
color: "transparent"
|
||||
clip: false
|
||||
border.color: main.border.color
|
||||
border.width: main.border.width
|
||||
}
|
||||
|
||||
states: [
|
||||
State {
|
||||
name: "visible";
|
||||
PropertyChanges { target: dropDown; height: (container.height - 2*container.borderWidth) * listView.count + container.borderWidth}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
function toggle() {
|
||||
if (dropDown.state === "visible")
|
||||
close(false)
|
||||
else
|
||||
open()
|
||||
}
|
||||
|
||||
function open() {
|
||||
dropDown.state = "visible"
|
||||
listView.currentIndex = container.index
|
||||
}
|
||||
|
||||
function close(update) {
|
||||
dropDown.state = ""
|
||||
|
||||
if (update) {
|
||||
container.index = listView.currentIndex
|
||||
topRow.modelItem = listView.currentItem.modelItem
|
||||
valueChanged(listView.currentIndex)
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
listView.currentIndex = container.index
|
||||
if (listView.currentItem)
|
||||
topRow.modelItem = listView.currentItem.modelItem
|
||||
}
|
||||
|
||||
onIndexChanged: {
|
||||
listView.currentIndex = container.index
|
||||
if (listView.currentItem)
|
||||
topRow.modelItem = listView.currentItem.modelItem
|
||||
}
|
||||
|
||||
onModelChanged: {
|
||||
listView.currentIndex = container.index
|
||||
if (listView.currentItem)
|
||||
topRow.modelItem = listView.currentItem.modelItem
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
/***************************************************************************
|
||||
* 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
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
module SddmComponents
|
||||
|
||||
LayoutBox 2.0 LayoutBox.qml
|
||||
ComboBox 2.0 ComboBox.qml
|
||||
@@ -0,0 +1,12 @@
|
||||
[SddmGreeterTheme]
|
||||
Name=Antergos
|
||||
Description=Antergos NeXT SDDM Theme
|
||||
Author=Celestia Ludenberg
|
||||
Type=sddm-theme
|
||||
Version=1.0
|
||||
Website=https://github.com/Antergos-NeXT
|
||||
Email=ash8820@proton.me
|
||||
MainScript=Main.qml
|
||||
ConfigFile=theme.conf
|
||||
Theme-Id=antergos
|
||||
Theme-API=2.0
|
||||
@@ -0,0 +1,2 @@
|
||||
[General]
|
||||
background=background.png
|
||||
@@ -4,20 +4,26 @@
|
||||
# antergos-wallpaper.png - GPL3 (Antergos project)
|
||||
# adwaita-morning.webp - CC BY-SA 3.0 (Jakub Steiner / GNOME Project)
|
||||
# https://gitlab.gnome.org/GNOME/gnome-backgrounds
|
||||
# antergos-darkest-hour.jpg - GPL-2+ (KDE Plasma / Risto Saukonpää)
|
||||
# https://github.com/KDE/plasma-workspace-wallpapers
|
||||
|
||||
pkgname=antergos-wallpapers
|
||||
pkgver=0.7
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
pkgdesc="Antergos NeXT wallpapers"
|
||||
arch=('any')
|
||||
url="https://github.com/Antergos/wallpapers"
|
||||
license=('GPL3')
|
||||
source=("antergos-wallpaper.png::https://raw.githubusercontent.com/Antergos/wallpapers/master/antergos-wallpaper.png"
|
||||
"metadata.desktop"
|
||||
"adwaita-morning.webp")
|
||||
"adwaita-morning.webp"
|
||||
"antergos-darkest-hour.jpg"
|
||||
"metadata-darkest-hour.desktop")
|
||||
sha256sums=('SKIP'
|
||||
'SKIP'
|
||||
'eaa5c6960dd548526e189568fed449210f332f0358d666a8711ef399f9b94152')
|
||||
'eaa5c6960dd548526e189568fed449210f332f0358d666a8711ef399f9b94152'
|
||||
'8e3703fae3a3c217b1fc2b399b706cd3720584268d071ba153e4809daa55f1ce'
|
||||
'0c100d74404a07daefca49ec1ceea8faabc66b3df35bf4280bace53a5f68171c')
|
||||
|
||||
package() {
|
||||
local wallpapers=(antergos-wallpaper.png adwaita-morning.webp)
|
||||
@@ -32,4 +38,13 @@ package() {
|
||||
done
|
||||
|
||||
install -m644 "${srcdir}/metadata.desktop" "${pkgdir}/usr/share/wallpapers/antergos-wallpaper/"
|
||||
|
||||
install -dm755 "${pkgdir}/usr/share/backgrounds/antergos"
|
||||
install -m644 "${srcdir}/antergos-darkest-hour.jpg" "${pkgdir}/usr/share/backgrounds/antergos/"
|
||||
install -dm755 "${pkgdir}/usr/share/antergos/backgrounds"
|
||||
install -m644 "${srcdir}/antergos-darkest-hour.jpg" "${pkgdir}/usr/share/antergos/backgrounds/"
|
||||
|
||||
install -dm755 "${pkgdir}/usr/share/wallpapers/antergos-darkest-hour/contents/images"
|
||||
install -m644 "${srcdir}/antergos-darkest-hour.jpg" "${pkgdir}/usr/share/wallpapers/antergos-darkest-hour/contents/images/"
|
||||
install -m644 "${srcdir}/metadata-darkest-hour.desktop" "${pkgdir}/usr/share/wallpapers/antergos-darkest-hour/metadata.desktop"
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 311 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 243 KiB |
@@ -0,0 +1,4 @@
|
||||
[Wallpaper]
|
||||
Name=Antergos Darkest Hour
|
||||
X-KDE-PluginInfo-Name=antergos-darkest-hour
|
||||
X-KDE-PluginInfo-Category=Wallpapers
|
||||
Reference in New Issue
Block a user