Files
euri-packages/packages/euri-desktop-settings/PKGBUILD
T

180 lines
4.9 KiB
Bash
Raw Normal View History

# Maintainer: Michał <ash8820@proton.me>
2026-08-21 21:21:54 +02:00
pkgname=euri-desktop-settings
pkgver=1
pkgrel=4
2026-08-21 21:21:54 +02:00
pkgdesc="Euri Linux desktop settings, theme, and color scheme"
arch=('any')
url="https://antergos-nas.taild4360b.ts.net/Euri-Linux/euri-packages"
license=('GPL3')
depends=(
'breeze-icons'
'breeze-gtk'
'ttf-opensans'
'noto-fonts'
'ttf-roboto'
)
optdepends=('qt5ct: Qt5 configuration tool' 'qt6ct: Qt6 configuration tool')
source=(
2026-08-21 21:21:54 +02:00
"euri-gtk3.css"
"euri-gtk4.css"
"euri-gtkrc"
"euri-index.theme"
"Euri.colors"
"Euri-dark-qt5.conf"
"Euri-dark-qt6.conf"
"gtk-settings.ini"
"xsettings.xml"
2026-08-21 21:21:54 +02:00
"euri-dconf"
)
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')
package() {
# Custom GTK theme
2026-08-21 21:21:54 +02:00
install -dm755 "${pkgdir}/usr/share/themes/Euri/gtk-3.0"
install -dm755 "${pkgdir}/usr/share/themes/Euri/gtk-4.0"
install -dm755 "${pkgdir}/usr/share/themes/Euri/gtk-2.0"
install -m644 "${srcdir}/euri-gtk3.css" "${pkgdir}/usr/share/themes/Euri/gtk-3.0/gtk.css"
install -m644 "${srcdir}/euri-gtk4.css" "${pkgdir}/usr/share/themes/Euri/gtk-4.0/gtk.css"
install -m644 "${srcdir}/euri-gtkrc" "${pkgdir}/usr/share/themes/Euri/gtk-2.0/gtkrc"
install -m644 "${srcdir}/euri-index.theme" "${pkgdir}/usr/share/themes/Euri/index.theme"
# KDE Color scheme
install -dm755 "${pkgdir}/usr/share/color-schemes"
2026-08-21 21:21:54 +02:00
install -m644 "${srcdir}/Euri.colors" "${pkgdir}/usr/share/color-schemes/"
# GTK settings (for all GTK-based DEs)
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"
2026-08-21 21:21:54 +02:00
install -m644 "${srcdir}/Euri-dark-qt5.conf" "${pkgdir}/usr/share/qt5ct/colors/Euri-dark.conf"
install -m644 "${srcdir}/Euri-dark-qt6.conf" "${pkgdir}/usr/share/qt6ct/colors/Euri-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=Layan
Name=Layan
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=kvantum
[Icons]
Theme=Tela-circle-purple-dark
[KDE]
ColorScheme=Layan
LookAndFeelPackage=com.github.vinceliuice.Layan
ShowIconsInMenuItems=true
ShowIconsOnPushButtons=true
SingleClick=false
contrast=0
frameContrast=0.2
widgetStyle=kvantum
[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
install -dm755 "${pkgdir}/etc/xdg/xfce4/xfconf/xfce-perchannel-xml"
install -m644 "${srcdir}/xsettings.xml" "${pkgdir}/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/"
# dconf overrides (GNOME, Cinnamon, Budgie, Deepin)
install -dm755 "${pkgdir}/etc/dconf/db/local.d"
2026-08-21 21:21:54 +02:00
install -m644 "${srcdir}/euri-dconf" "${pkgdir}/etc/dconf/db/local.d/euri"
}