use wallpaper as background with sddm Nordic theme

This commit is contained in:
Daniel Langbein 2021-06-15 20:49:47 +02:00
parent 1e51efa418
commit 568f14dac2
4 changed files with 21 additions and 5 deletions

View File

@ -47,3 +47,12 @@ ADDITIONAL_PKGS+=('de-p1st-gpu-generic' 'de-p1st-xfce4-hidpi' 'de-p1st-sddm-auto
ADDITIONAL_PKGS+=('de-p1st-smartcard') ADDITIONAL_PKGS+=('de-p1st-smartcard')
# other programs # other programs
ADDITIONAL_PKGS+=('nextcloud-client' 'keepassxc' 'xournalpp' 'intellij-idea-ultimate-edition' 'intellij-idea-ultimate-edition-jre') ADDITIONAL_PKGS+=('nextcloud-client' 'keepassxc' 'xournalpp' 'intellij-idea-ultimate-edition' 'intellij-idea-ultimate-edition-jre')
# gallery / image viewer
ADDITIONAL_PKGS+=('nomacs' 'qt5-imageformats')
#
# pulseaudio - base
ADDITIONAL_PKGS+=('pulseaudio' 'pulseaudio-alsa' 'pavucontrol')
# pulseaudio - xfce4
ADDITIONAL_PKGS+=('xfce4-pulseaudio-plugin')
# sound theme
ADDITIONAL_PKGS+=('libcanberra' 'libcanberra-pulse')

View File

@ -2,7 +2,7 @@
_pkgname=sddm-theme-nordic _pkgname=sddm-theme-nordic
_reponame=arch _reponame=arch
pkgname="de-p1st-$_pkgname" pkgname="de-p1st-$_pkgname"
pkgver=0.0.4 pkgver=0.0.5
pkgrel=1 pkgrel=1
pkgdesc="sddm with Nordic theme" pkgdesc="sddm with Nordic theme"
arch=('any') arch=('any')
@ -12,9 +12,10 @@ license=('MIT')
depends=('sddm' 'sddm-nordic-theme-git') depends=('sddm' 'sddm-nordic-theme-git')
# Without plasma-framework the following error occurs: # Without plasma-framework the following error occurs:
# Main.qml:28:1: module "org.kde.plasma.extras" is not installed # Main.qml:28:1: module "org.kde.plasma.extras" is not installed
# TODO: is this reported upstream (on AUR?)
depends+=('plasma-framework') depends+=('plasma-framework')
# See TODO below
depends+=('holo' 'git' 'base') depends+=('holo' 'git' 'base')
depends+=('de-p1st-wallpaper')
makedepends=('git') makedepends=('git')
install='.install' install='.install'
@ -28,6 +29,10 @@ package() {
install -Dm0644 p1st-theme.conf "$pkgdir"/etc/sddm.conf.d/p1st-theme.conf install -Dm0644 p1st-theme.conf "$pkgdir"/etc/sddm.conf.d/p1st-theme.conf
# Replace theme background:
# Add symlink to background of "de-p1st-wallpaper"
ln -s /usr/share/backgrounds/de-p1st.jpg "$pkgdir"/usr/share/holo/files/"$pkgname"/usr/share/sddm/themes/Nordic/assets/bg.jpg
# TODO: Fix upstream? See AUR comment: https://aur.archlinux.org/pkgbase/nordic-kde-git/#comment-807577 # TODO: Fix upstream? See AUR comment: https://aur.archlinux.org/pkgbase/nordic-kde-git/#comment-807577
# Fix Nordic theme "Main.qml" -> Property "Battery" not found / missing # Fix Nordic theme "Main.qml" -> Property "Battery" not found / missing
install -Dm0544 Main.qml.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/usr/share/sddm/themes/Nordic/Main.qml.holoscript install -Dm0544 Main.qml.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/usr/share/sddm/themes/Nordic/Main.qml.holoscript

View File

@ -2,7 +2,7 @@
_pkgname=xfce4 _pkgname=xfce4
_reponame=arch _reponame=arch
pkgname="de-p1st-$_pkgname" pkgname="de-p1st-$_pkgname"
pkgver=0.0.16 pkgver=0.0.17
pkgrel=1 pkgrel=1
pkgdesc="XFCE4 with configuration" pkgdesc="XFCE4 with configuration"
arch=('any') arch=('any')
@ -64,7 +64,8 @@ depends+=(de-p1st-keyboard-x11)
# ============== browser ============== # ============== browser ==============
depends+=(firefox) depends+=(firefox)
# ============== wallpaper ==============
depends+=(de-p1st-wallpaper)
package() { package() {
cd "${_reponame}/pkg/${pkgname}" cd "${_reponame}/pkg/${pkgname}"

View File

@ -4,4 +4,5 @@ desktop-icons on primary display is set to "true"
"screenshot" launcher works "screenshot" launcher works
lower (2nd) panel removed lower (2nd) panel removed
TODO: Whisker Menu: Favourite: Firefox TODO: Whisker Menu: Favourite: Firefox
TODO: depend on "de-p1st-wallpaper" and use this for xfce