From 24d18886b690585f8fdcc9b552c0b09e27c86ba3 Mon Sep 17 00:00:00 2001 From: langfingaz Date: Fri, 14 May 2021 12:51:26 +0200 Subject: [PATCH] sddm theme --- build-pkg-docker.sh | 2 +- build-pkg.sh | 2 +- pkg/de-p1st-sddm-theme-nordic/PKGBUILD | 22 +++++++++++++ pkg/de-p1st-sddm-theme-nordic/README.md | 33 +++++++++++++++++++ pkg/de-p1st-sddm-theme-nordic/p1st-theme.conf | 4 +++ pkg/de-p1st-xfce4/PKGBUILD | 5 ++- pkg/de-p1st-xfce4/p1st-settings.conf | 5 --- 7 files changed, 65 insertions(+), 8 deletions(-) create mode 100644 pkg/de-p1st-sddm-theme-nordic/PKGBUILD create mode 100644 pkg/de-p1st-sddm-theme-nordic/README.md create mode 100644 pkg/de-p1st-sddm-theme-nordic/p1st-theme.conf diff --git a/build-pkg-docker.sh b/build-pkg-docker.sh index 4cb4ef5..163199c 100755 --- a/build-pkg-docker.sh +++ b/build-pkg-docker.sh @@ -52,7 +52,7 @@ function main() { # done # Stage1 - build-and-push xorg-meta de-p1st-locale de-p1st-systemd de-p1st-sudo de-p1st-screen de-p1st-htop de-p1st-pacman de-p1st-pacman-mirrorlist de-p1st-networkmanager de-p1st-ucode-placeholder de-p1st-ucode-intel de-p1st-ucode-amd de-p1st-nano de-p1st-mkinitcpio de-p1st-makepkg de-p1st-grub de-p1st-font de-p1st-keyboard-de de-p1st-keyboard-x11-de de-p1st-gnupg de-p1st-redshift de-p1st-theme de-p1st-sddm-autologin-placeholder de-p1st-sddm-autologin-yoda de-p1st-gpu-generic de-p1st-gpu-amdgpu de-p1st-installer de-p1st-repo || return $? + build-and-push xorg-meta de-p1st-locale de-p1st-systemd de-p1st-sudo de-p1st-screen de-p1st-htop de-p1st-pacman de-p1st-pacman-mirrorlist de-p1st-networkmanager de-p1st-ucode-placeholder de-p1st-ucode-intel de-p1st-ucode-amd de-p1st-nano de-p1st-mkinitcpio de-p1st-makepkg de-p1st-grub de-p1st-font de-p1st-keyboard-de de-p1st-keyboard-x11-de de-p1st-gnupg de-p1st-redshift de-p1st-theme de-p1st-sddm-autologin-placeholder de-p1st-sddm-autologin-yoda de-p1st-sddm-theme-nordic de-p1st-gpu-generic de-p1st-gpu-amdgpu de-p1st-installer de-p1st-repo || return $? # Stage2 build-and-push de-p1st-smartcard de-p1st-kernel-default de-p1st-kernel-lts de-p1st-dns || return $? # Stage3 diff --git a/build-pkg.sh b/build-pkg.sh index 12bb063..1358175 100755 --- a/build-pkg.sh +++ b/build-pkg.sh @@ -82,7 +82,7 @@ function main() { done else # Stage1 - build-and-push xorg-meta de-p1st-locale de-p1st-systemd de-p1st-sudo de-p1st-screen de-p1st-htop de-p1st-pacman de-p1st-pacman-mirrorlist de-p1st-networkmanager de-p1st-ucode-placeholder de-p1st-ucode-intel de-p1st-ucode-amd de-p1st-nano de-p1st-mkinitcpio de-p1st-makepkg de-p1st-grub de-p1st-font de-p1st-keyboard-de de-p1st-keyboard-x11-de de-p1st-gnupg de-p1st-redshift de-p1st-theme de-p1st-sddm-autologin-placeholder de-p1st-sddm-autologin-yoda de-p1st-gpu-generic de-p1st-gpu-amdgpu de-p1st-installer de-p1st-repo || return $? + build-and-push xorg-meta de-p1st-locale de-p1st-systemd de-p1st-sudo de-p1st-screen de-p1st-htop de-p1st-pacman de-p1st-pacman-mirrorlist de-p1st-networkmanager de-p1st-ucode-placeholder de-p1st-ucode-intel de-p1st-ucode-amd de-p1st-nano de-p1st-mkinitcpio de-p1st-makepkg de-p1st-grub de-p1st-font de-p1st-keyboard-de de-p1st-keyboard-x11-de de-p1st-gnupg de-p1st-redshift de-p1st-theme de-p1st-sddm-autologin-placeholder de-p1st-sddm-autologin-yoda de-p1st-sddm-theme-nordic de-p1st-gpu-generic de-p1st-gpu-amdgpu de-p1st-installer de-p1st-repo || return $? # Stage2 build-and-push de-p1st-smartcard de-p1st-kernel-default de-p1st-kernel-lts de-p1st-dns || return $? # Stage3 diff --git a/pkg/de-p1st-sddm-theme-nordic/PKGBUILD b/pkg/de-p1st-sddm-theme-nordic/PKGBUILD new file mode 100644 index 0000000..290024e --- /dev/null +++ b/pkg/de-p1st-sddm-theme-nordic/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Daniel Langbein +_pkgname=sddm-theme-nordic +_reponame=arch +pkgname="de-p1st-$_pkgname" +pkgver=0.0.1 +pkgrel=1 +pkgdesc="sddm with Nordic theme" +arch=('any') +url="https://codeberg.org/privacy1st/${_reponame}" +license=('MIT') +depends=('sddm' 'sddm-nordic-theme-git') +makedepends=('git') +source=("git+${url}.git") +sha256sums=('SKIP') +provides=('de-p1st-sddm-theme') +conflicts=('de-p1st-sddm-theme') + +package() { + cd "${_reponame}/pkg/${pkgname}" + + install -Dm0644 p1st-theme.conf "$pkgdir"/etc/sddm.conf.d/p1st-theme.conf +} diff --git a/pkg/de-p1st-sddm-theme-nordic/README.md b/pkg/de-p1st-sddm-theme-nordic/README.md new file mode 100644 index 0000000..8179354 --- /dev/null +++ b/pkg/de-p1st-sddm-theme-nordic/README.md @@ -0,0 +1,33 @@ +# sddm themes + +* https://www.opendesktop.org/browse/cat/101/page/2/ord/rating/ +* https://aur.archlinux.org/packages/?O=0&SeB=nd&K=sddm+theme&outdated=&SB=p&SO=d&PP=50&do_Search=Go + +## Nordic + +* https://github.com/EliverLara/Nordic + +Install from AUR: + +```shell +sudo pacman -S sddm-nordic-theme-git + +``` + +Test the theme: + +```shell +sddm-greeter --test-mode --theme /usr/share/sddm/themes/Nordic +``` + +## Other themes + +```shell +sudo pacman -S chili-sddm-theme +sddm-greeter --test-mode --theme /usr/share/sddm/themes/chili +``` + +```shell +sudo pacman -S sddm-theme-deepin-git +sddm-greeter --test-mode --theme /usr/share/sddm/themes/deepin/ +``` diff --git a/pkg/de-p1st-sddm-theme-nordic/p1st-theme.conf b/pkg/de-p1st-sddm-theme-nordic/p1st-theme.conf new file mode 100644 index 0000000..4c6522e --- /dev/null +++ b/pkg/de-p1st-sddm-theme-nordic/p1st-theme.conf @@ -0,0 +1,4 @@ +[Theme] +# -> ls /usr/share/sddm/themes +# For example "breeze" which is part of package "plasma-workspace" +Current=Nordic \ No newline at end of file diff --git a/pkg/de-p1st-xfce4/PKGBUILD b/pkg/de-p1st-xfce4/PKGBUILD index 2d8f919..13e3884 100644 --- a/pkg/de-p1st-xfce4/PKGBUILD +++ b/pkg/de-p1st-xfce4/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=xfce4 _reponame=arch pkgname="de-p1st-$_pkgname" -pkgver=0.0.6 +pkgver=0.0.7 pkgrel=1 pkgdesc="XFCE4 with configuration" arch=('any') @@ -46,7 +46,10 @@ depends+=(gnome-keyring libsecret) depends+=(de-p1st-redshift) # ============== display manager ============== +# sddm with autologin depends+=(de-p1st-sddm-autologin) +# change sddm theme +depends+=(de-p1st-sddm-theme-nordic) # ============== network, theme, keyboard ============== # diff --git a/pkg/de-p1st-xfce4/p1st-settings.conf b/pkg/de-p1st-xfce4/p1st-settings.conf index 3622c0e..31da0df 100644 --- a/pkg/de-p1st-xfce4/p1st-settings.conf +++ b/pkg/de-p1st-xfce4/p1st-settings.conf @@ -2,11 +2,6 @@ HaltCommand=/usr/bin/systemctl poweroff RebootCommand=/usr/bin/systemctl reboot -# [Theme] -## ls /usr/share/sddm/themes -## "breeze" is part of plasma-workspace -# Current=breeze - [Users] MaximumUid=60000 MinimumUid=1000