mirror of
https://codeberg.org/privacy1st/arch
synced 2025-01-11 03:46:05 +01:00
sddm-autologin package for specific user
This commit is contained in:
parent
5f3ad660f3
commit
cc7e7c6e9c
@ -52,7 +52,7 @@ function main() {
|
|||||||
# done
|
# done
|
||||||
|
|
||||||
# Stage1
|
# 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-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-gpu-generic de-p1st-gpu-amdgpu de-p1st-installer de-p1st-repo || return $?
|
||||||
# Stage2
|
# Stage2
|
||||||
build-and-push de-p1st-smartcard de-p1st-kernel-default de-p1st-kernel-lts de-p1st-dns || return $?
|
build-and-push de-p1st-smartcard de-p1st-kernel-default de-p1st-kernel-lts de-p1st-dns || return $?
|
||||||
# Stage3
|
# Stage3
|
||||||
|
@ -82,7 +82,7 @@ function main() {
|
|||||||
done
|
done
|
||||||
else
|
else
|
||||||
# Stage1
|
# 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-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-gpu-generic de-p1st-gpu-amdgpu de-p1st-installer de-p1st-repo || return $?
|
||||||
# Stage2
|
# Stage2
|
||||||
build-and-push de-p1st-smartcard de-p1st-kernel-default de-p1st-kernel-lts de-p1st-dns || return $?
|
build-and-push de-p1st-smartcard de-p1st-kernel-default de-p1st-kernel-lts de-p1st-dns || return $?
|
||||||
# Stage3
|
# Stage3
|
||||||
|
@ -3,7 +3,7 @@ _pkgname=installer
|
|||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.1.3
|
pkgver=0.1.3
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Bash script to install Arch Linux"
|
pkgdesc="Bash script to install Arch Linux"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://codeberg.org/privacy1st/${_reponame}"
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# STATIC_IP=123.456.789.012
|
# STATIC_IP=123.456.789.012
|
||||||
# IPV6_CAPABLE=1
|
# IPV6_CAPABLE=1
|
||||||
HOSTNAME=yodaTest
|
HOSTNAME=yodaTest
|
||||||
USERNAME=arch
|
USERNAME=yoda
|
||||||
|
|
||||||
# one should rather enter these interactively than saving in this cfg
|
# one should rather enter these interactively than saving in this cfg
|
||||||
USER_PWD=test
|
USER_PWD=test
|
||||||
|
23
pkg/de-p1st-sddm-autologin-placeholder/PKGBUILD
Normal file
23
pkg/de-p1st-sddm-autologin-placeholder/PKGBUILD
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
||||||
|
_pkgname=sddm-autologin-placeholder
|
||||||
|
_reponame=arch
|
||||||
|
pkgname="de-p1st-$_pkgname"
|
||||||
|
pkgver=0.0.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="sddm autologin configuration example"
|
||||||
|
arch=('any')
|
||||||
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
||||||
|
license=('MIT')
|
||||||
|
depends=('sddm')
|
||||||
|
makedepends=('git')
|
||||||
|
install='.install'
|
||||||
|
source=("git+${url}.git")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
provides=('de-p1st-sddm-autologin')
|
||||||
|
conflicts=('de-p1st-sddm-autologin')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${_reponame}/pkg/${pkgname}"
|
||||||
|
|
||||||
|
install -Dm0644 p1st-autologin.conf "$pkgdir"/etc/sddm.conf.d/p1st-autologin.conf
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
[Autologin]
|
||||||
|
# Relogin=false
|
||||||
|
## The desktop session: For example "xfce" or "plasma"
|
||||||
|
## -> ls /usr/share/xsessions/ /usr/share/wayland-sessions/ | sed 's|.desktop$||'
|
||||||
|
# Session=xfce
|
||||||
|
## Your username
|
||||||
|
# User=yoda
|
23
pkg/de-p1st-sddm-autologin-yoda/PKGBUILD
Normal file
23
pkg/de-p1st-sddm-autologin-yoda/PKGBUILD
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
||||||
|
_pkgname=sddm-autologin-yoda
|
||||||
|
_reponame=arch
|
||||||
|
pkgname="de-p1st-$_pkgname"
|
||||||
|
pkgver=0.0.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="sddm autologin for user yoda"
|
||||||
|
arch=('any')
|
||||||
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
||||||
|
license=('MIT')
|
||||||
|
depends=('sddm')
|
||||||
|
makedepends=('git')
|
||||||
|
install='.install'
|
||||||
|
source=("git+${url}.git")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
provides=('de-p1st-sddm-autologin')
|
||||||
|
conflicts=('de-p1st-sddm-autologin')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${_reponame}/pkg/${pkgname}"
|
||||||
|
|
||||||
|
install -Dm0644 p1st-autologin.conf "$pkgdir"/etc/sddm.conf.d/p1st-autologin.conf
|
||||||
|
}
|
7
pkg/de-p1st-sddm-autologin-yoda/p1st-autologin.conf
Normal file
7
pkg/de-p1st-sddm-autologin-yoda/p1st-autologin.conf
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[Autologin]
|
||||||
|
Relogin=false
|
||||||
|
# The desktop session: For example "xfce" or "plasma"
|
||||||
|
# -> ls /usr/share/xsessions/ /usr/share/wayland-sessions/ | sed 's|.desktop$||'
|
||||||
|
Session=xfce
|
||||||
|
# Your username
|
||||||
|
User=yoda
|
@ -2,7 +2,7 @@
|
|||||||
_pkgname=xfce4
|
_pkgname=xfce4
|
||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.0.5
|
pkgver=0.0.6
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="XFCE4 with configuration"
|
pkgdesc="XFCE4 with configuration"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@ -46,7 +46,7 @@ depends+=(gnome-keyring libsecret)
|
|||||||
depends+=(de-p1st-redshift)
|
depends+=(de-p1st-redshift)
|
||||||
|
|
||||||
# ============== display manager ==============
|
# ============== display manager ==============
|
||||||
depends+=(sddm)
|
depends+=(de-p1st-sddm-autologin)
|
||||||
|
|
||||||
# ============== network, theme, keyboard ==============
|
# ============== network, theme, keyboard ==============
|
||||||
#
|
#
|
||||||
@ -73,5 +73,5 @@ package() {
|
|||||||
|
|
||||||
# === display manager ===
|
# === display manager ===
|
||||||
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset
|
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset
|
||||||
install -Dm0644 autologin.conf "$pkgdir"/etc/sddm.conf.d/autologin.conf
|
install -Dm0644 p1st-settings.conf "$pkgdir"/etc/sddm.conf.d/p1st-settings.conf
|
||||||
}
|
}
|
||||||
|
@ -1,16 +1,10 @@
|
|||||||
[Autologin]
|
|
||||||
Relogin=false
|
|
||||||
Session=xfce
|
|
||||||
# Session=plasma
|
|
||||||
User=yoda
|
|
||||||
|
|
||||||
[General]
|
[General]
|
||||||
HaltCommand=/usr/bin/systemctl poweroff
|
HaltCommand=/usr/bin/systemctl poweroff
|
||||||
RebootCommand=/usr/bin/systemctl reboot
|
RebootCommand=/usr/bin/systemctl reboot
|
||||||
|
|
||||||
# [Theme]
|
# [Theme]
|
||||||
# # ls /usr/share/sddm/themes
|
## ls /usr/share/sddm/themes
|
||||||
# # "breeze" is part of plasma-workspace
|
## "breeze" is part of plasma-workspace
|
||||||
# Current=breeze
|
# Current=breeze
|
||||||
|
|
||||||
[Users]
|
[Users]
|
Loading…
x
Reference in New Issue
Block a user